Changeset View
Changeset View
Standalone View
Standalone View
mimetreeparser/autotests/setupenv.h
Show All 19 Lines | |||||
20 | 20 | | |||
21 | #ifndef MESSAGECORE_TESTS_UTIL_H | 21 | #ifndef MESSAGECORE_TESTS_UTIL_H | ||
22 | #define MESSAGECORE_TESTS_UTIL_H | 22 | #define MESSAGECORE_TESTS_UTIL_H | ||
23 | 23 | | |||
24 | #include <gpgme++/key.h> | 24 | #include <gpgme++/key.h> | ||
25 | #include <MimeTreeParser/AttachmentStrategy> | 25 | #include <MimeTreeParser/AttachmentStrategy> | ||
26 | #include <MimeTreeParser/BodyPartFormatter> | 26 | #include <MimeTreeParser/BodyPartFormatter> | ||
27 | #include <MimeTreeParser/BodyPartFormatterBaseFactory> | 27 | #include <MimeTreeParser/BodyPartFormatterBaseFactory> | ||
28 | #include <MimeTreeParser/MessagePart> | ||||
28 | #include <MimeTreeParser/MessagePartRenderer> | 29 | #include <MimeTreeParser/MessagePartRenderer> | ||
29 | #include <MimeTreeParser/ObjectTreeSource> | 30 | #include <MimeTreeParser/ObjectTreeSource> | ||
30 | 31 | | |||
31 | namespace MimeTreeParser { | 32 | namespace MimeTreeParser { | ||
32 | namespace Test { | 33 | namespace Test { | ||
33 | /** | 34 | /** | ||
34 | * setup a environment variables for tests: | 35 | * setup a environment variables for tests: | ||
35 | * * set LC_ALL to C | 36 | * * set LC_ALL to C | ||
▲ Show 20 Lines • Show All 107 Lines • ▼ Show 20 Line(s) | 45 | public: | |||
143 | } | 144 | } | ||
144 | 145 | | |||
145 | QString createMessageHeader(KMime::Message *message) override | 146 | QString createMessageHeader(KMime::Message *message) override | ||
146 | { | 147 | { | ||
147 | Q_UNUSED(message); | 148 | Q_UNUSED(message); | ||
148 | return QString(); //do nothing | 149 | return QString(); //do nothing | ||
149 | } | 150 | } | ||
150 | 151 | | |||
151 | Interface::MessagePartRenderer::Ptr messagePartTheme(Interface::MessagePart::Ptr msgPart) override | 152 | Interface::MessagePartRenderer::Ptr messagePartTheme(MessagePart::Ptr msgPart) override | ||
152 | { | 153 | { | ||
153 | Q_UNUSED(msgPart); | 154 | Q_UNUSED(msgPart); | ||
154 | return Interface::MessagePartRenderer::Ptr(); | 155 | return Interface::MessagePartRenderer::Ptr(); | ||
155 | } | 156 | } | ||
156 | 157 | | |||
157 | bool isPrinting() const override | 158 | bool isPrinting() const override | ||
158 | { | 159 | { | ||
159 | return false; | 160 | return false; | ||
Show All 15 Lines |