aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testUtils.hpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-03-18 09:35:04 +0100
committerVincent Richard <[email protected]>2013-03-18 09:35:04 +0100
commitda2797702fe09dcf627ceed3eab27b52dacd31a9 (patch)
treefa991a26656685b60e40ef5d696207a494526e61 /tests/testUtils.hpp
parentFixed and clarified text about handleTimeout() return value. (diff)
downloadvmime-da2797702fe09dcf627ceed3eab27b52dacd31a9.tar.gz
vmime-da2797702fe09dcf627ceed3eab27b52dacd31a9.zip
Updated tests for charset conversion.
Added test for UTF-7 encoding availability. Added test for input buffer underflow in charsetFilteredOutputStream. Refactored charset conversion tests and removed useless tests.
Diffstat (limited to 'tests/testUtils.hpp')
-rw-r--r--tests/testUtils.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testUtils.hpp b/tests/testUtils.hpp
index 2e5b161f..4fa6b457 100644
--- a/tests/testUtils.hpp
+++ b/tests/testUtils.hpp
@@ -348,3 +348,6 @@ public:
// Exception helper
std::ostream& operator<<(std::ostream& os, const vmime::exception& e);
+
+// Conversion to hexadecimal for easier debugging
+const vmime::string toHex(const vmime::string str);