diff options
Diffstat (limited to 'project2/ut/testPresenter.cpp')
-rw-r--r-- | project2/ut/testPresenter.cpp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/project2/ut/testPresenter.cpp b/project2/ut/testPresenter.cpp index e93d7aa..2b9c952 100644 --- a/project2/ut/testPresenter.cpp +++ b/project2/ut/testPresenter.cpp @@ -6,7 +6,7 @@ #include <boost/format.hpp> TestPresenter::TestPresenter() : - MultiRowSetPresenter(Default) + Presenter(Default) { } @@ -59,6 +59,24 @@ TestPresenter::finishArray(bool objects) const } void +TestPresenter::pushSub(const Glib::ustring & name, const Glib::ustring & ns) const +{ + presenterData.push_back(stringbf("%s: %s:%s", __FUNCTION__, ns, name)); +} + +void +TestPresenter::popSub() const +{ + presenterData.push_back(stringbf("%s", __FUNCTION__)); +} + +void +TestPresenter::addText(const VariableType & value) const +{ + presenterData.push_back(stringbf("%s: %s", __FUNCTION__, value)); +} + +void TestPresenter::init(ExecContext *) { presenterData.push_back(stringbf("%s", __FUNCTION__)); |