diff options
Diffstat (limited to '')
-rw-r--r-- | tests/utility/encoderTest.cpp (renamed from tests/parser/encoderTest.cpp) | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/parser/encoderTest.cpp b/tests/utility/encoderTest.cpp index 180d1296..648af78b 100644 --- a/tests/parser/encoderTest.cpp +++ b/tests/utility/encoderTest.cpp @@ -39,7 +39,8 @@ VMIME_TEST_SUITE_BEGIN // Encoding helper function static const vmime::string encode(const vmime::string& name, const vmime::string& in, int maxLineLength = 0) { - vmime::ref <vmime::encoder> enc = vmime::encoderFactory::getInstance()->create(name); + vmime::ref <vmime::utility::encoder::encoder> enc = + vmime::utility::encoder::encoderFactory::getInstance()->create(name); if (maxLineLength != 0) enc->getProperties()["maxlinelength"] = maxLineLength; @@ -57,7 +58,8 @@ VMIME_TEST_SUITE_BEGIN // Decoding helper function static const vmime::string decode(const vmime::string& name, const vmime::string& in, int maxLineLength = 0) { - vmime::ref <vmime::encoder> enc = vmime::encoderFactory::getInstance()->create(name); + vmime::ref <vmime::utility::encoder::encoder> enc = + vmime::utility::encoder::encoderFactory::getInstance()->create(name); if (maxLineLength != 0) enc->getProperties()["maxlinelength"] = maxLineLength; |