summaryrefslogtreecommitdiffstats
path: root/document/src/tests/teststringutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'document/src/tests/teststringutil.h')
-rw-r--r--document/src/tests/teststringutil.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/document/src/tests/teststringutil.h b/document/src/tests/teststringutil.h
new file mode 100644
index 00000000000..be25c9667d3
--- /dev/null
+++ b/document/src/tests/teststringutil.h
@@ -0,0 +1,26 @@
+// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+/* $Id$*/
+
+#pragma once
+
+#include <cppunit/extensions/HelperMacros.h>
+
+class StringUtil_Test : public CppUnit::TestFixture {
+ CPPUNIT_TEST_SUITE( StringUtil_Test);
+ CPPUNIT_TEST(test_escape);
+ CPPUNIT_TEST(test_unescape);
+ CPPUNIT_TEST(test_printAsHex);
+ CPPUNIT_TEST_SUITE_END();
+
+public:
+ void setUp();
+
+protected:
+ void test_escape();
+ void test_unescape();
+ void test_printAsHex();
+
+};
+
+