Changeset View
Changeset View
Standalone View
Standalone View
tests/units/presentation/tagpagemodeltest.cpp
Show All 39 Lines | |||||
40 | #include "testlib/fakejob.h" | 40 | #include "testlib/fakejob.h" | ||
41 | 41 | | |||
42 | using namespace mockitopp; | 42 | using namespace mockitopp; | ||
43 | using namespace mockitopp::matcher; | 43 | using namespace mockitopp::matcher; | ||
44 | 44 | | |||
45 | class FakeErrorHandler : public Presentation::ErrorHandler | 45 | class FakeErrorHandler : public Presentation::ErrorHandler | ||
46 | { | 46 | { | ||
47 | public: | 47 | public: | ||
48 | void doDisplayMessage(const QString &message) | 48 | void doDisplayMessage(const QString &message) override | ||
49 | { | 49 | { | ||
50 | m_message = message; | 50 | m_message = message; | ||
51 | } | 51 | } | ||
52 | 52 | | |||
53 | QString m_message; | 53 | QString m_message; | ||
54 | }; | 54 | }; | ||
55 | 55 | | |||
56 | class TagPageModelTest : public QObject | 56 | class TagPageModelTest : public QObject | ||
▲ Show 20 Lines • Show All 284 Lines • Show Last 20 Lines |