Changeset View
Changeset View
Standalone View
Standalone View
tests/units/presentation/noteinboxpagemodeltest.cpp
Show All 34 Lines | |||||
35 | #include "testlib/fakejob.h" | 35 | #include "testlib/fakejob.h" | ||
36 | 36 | | |||
37 | using namespace mockitopp; | 37 | using namespace mockitopp; | ||
38 | using namespace mockitopp::matcher; | 38 | using namespace mockitopp::matcher; | ||
39 | 39 | | |||
40 | class FakeErrorHandler : public Presentation::ErrorHandler | 40 | class FakeErrorHandler : public Presentation::ErrorHandler | ||
41 | { | 41 | { | ||
42 | public: | 42 | public: | ||
43 | void doDisplayMessage(const QString &message) | 43 | void doDisplayMessage(const QString &message) override | ||
44 | { | 44 | { | ||
45 | m_message = message; | 45 | m_message = message; | ||
46 | } | 46 | } | ||
47 | 47 | | |||
48 | QString m_message; | 48 | QString m_message; | ||
49 | }; | 49 | }; | ||
50 | 50 | | |||
51 | class NoteInboxPageModelTest : public QObject | 51 | class NoteInboxPageModelTest : public QObject | ||
▲ Show 20 Lines • Show All 240 Lines • Show Last 20 Lines |