Changeset View
Changeset View
Standalone View
Standalone View
tests/units/presentation/availabletaskpagesmodeltest.cpp
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | |||||
45 | #include "testlib/fakejob.h" | 45 | #include "testlib/fakejob.h" | ||
46 | 46 | | |||
47 | using namespace mockitopp; | 47 | using namespace mockitopp; | ||
48 | using namespace mockitopp::matcher; | 48 | using namespace mockitopp::matcher; | ||
49 | 49 | | |||
50 | class FakeErrorHandler : public Presentation::ErrorHandler | 50 | class FakeErrorHandler : public Presentation::ErrorHandler | ||
51 | { | 51 | { | ||
52 | public: | 52 | public: | ||
53 | void doDisplayMessage(const QString &message) | 53 | void doDisplayMessage(const QString &message) override | ||
54 | { | 54 | { | ||
55 | m_message = message; | 55 | m_message = message; | ||
56 | } | 56 | } | ||
57 | 57 | | |||
58 | QString m_message; | 58 | QString m_message; | ||
59 | }; | 59 | }; | ||
60 | 60 | | |||
61 | class AvailableTaskPagesModelTest : public QObject | 61 | class AvailableTaskPagesModelTest : public QObject | ||
▲ Show 20 Lines • Show All 1222 Lines • Show Last 20 Lines |