diff options
author | Vincent Richard <[email protected]> | 2013-06-26 19:41:42 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-06-26 19:41:42 +0000 |
commit | 1a30cfe41bbd19ceb627e7e75d53dc691e6414e6 (patch) | |
tree | a5d01c8b31ce43d8fd0c5489e251265d262241a7 /tests/testUtils.hpp | |
parent | Added missing include. (diff) | |
download | vmime-1a30cfe41bbd19ceb627e7e75d53dc691e6414e6.tar.gz vmime-1a30cfe41bbd19ceb627e7e75d53dc691e6414e6.zip |
Unit tests for content handlers.
Diffstat (limited to 'tests/testUtils.hpp')
-rw-r--r-- | tests/testUtils.hpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/testUtils.hpp b/tests/testUtils.hpp index 7ff3b40f..01910cbc 100644 --- a/tests/testUtils.hpp +++ b/tests/testUtils.hpp @@ -84,7 +84,7 @@ static AutoRegisterModule <VMIME_TEST_SUITE> autoRegisterModule; #define VMIME_TEST_LIST_BEGIN CPPUNIT_TEST_SUITE(VMIME_TEST_SUITE); -#define VMIME_TEST_LIST_END CPPUNIT_TEST_SUITE_END(); +#define VMIME_TEST_LIST_END CPPUNIT_TEST_SUITE_END(); public: #define VMIME_TEST(name) CPPUNIT_TEST(name); @@ -221,6 +221,14 @@ inline std::ostream& operator<<(std::ostream& os, const vmime::datetime& d) } +inline std::ostream& operator<<(std::ostream& os, const vmime::encoding& enc) +{ + os << enc.generate(); + + return (os); +} + + } |