aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testUtils.hpp
diff options
context:
space:
mode:
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);