aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2008-10-12 15:59:09 +0200
committerVincent Richard <[email protected]>2008-10-12 15:59:09 +0200
commit13f69779c298173bd21b83dd6cc538814f2b9155 (patch)
tree72c95e72fca7d0c916eea4faf39e7e636bfce8b6 /tests
parentFixed compilation warnings. (diff)
downloadvmime-13f69779c298173bd21b83dd6cc538814f2b9155.tar.gz
vmime-13f69779c298173bd21b83dd6cc538814f2b9155.zip
New namespace for encoders.
Diffstat (limited to 'tests')
-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;