summaryrefslogtreecommitdiffstats
path: root/kmail/tests/utiltests.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/tests/utiltests.h')
-rw-r--r--kmail/tests/utiltests.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/kmail/tests/utiltests.h b/kmail/tests/utiltests.h
new file mode 100644
index 000000000..58de40901
--- /dev/null
+++ b/kmail/tests/utiltests.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2007 David Faure <faure@kde.org>
+ *
+ * This file is subject to the GPL version 2.
+ */
+
+#ifndef UTILTESTS_H
+#define UTILTESTS_H
+
+#include <kunittest/tester.h>
+
+class UtilTester : public KUnitTest::SlotTester
+{
+ Q_OBJECT
+
+public slots:
+ void setUp();
+ void tearDown();
+ void test_lf2crlf();
+ void test_crlf2lf();
+ void test_escapeFrom();
+ void test_append();
+ void test_insert();
+ void test_DwStringConversions();
+ void test_QByteArrayQCString();
+private:
+ void test_DwStringConversions( const QCString& cstr );
+};
+
+#endif