Unit tests
[irwi] / ut / ut_settingstable / ut_settingstable.h
diff --git a/ut/ut_settingstable/ut_settingstable.h b/ut/ut_settingstable/ut_settingstable.h
new file mode 100644 (file)
index 0000000..e619684
--- /dev/null
@@ -0,0 +1,27 @@
+#ifndef Ut_SettingsTable_H
+#define Ut_SettingsTable_H
+
+#include <QtTest/QtTest>
+#include <QObject>
+
+class SettingsTable;
+
+class Ut_SettingsTable : public QObject
+{
+    Q_OBJECT
+
+private:
+    SettingsTable *subject;
+
+private slots:
+
+    void initTestCase();
+    void cleanupTestCase();
+
+    void testAppendRow();
+    void testRemoveAllRows();
+    void testKey();
+    void testValue();
+};
+
+#endif // Ut_SettingsTable_H