Unit tests for RemoteList
[irwi] / ut / ut_remotelist / ut_remotelist.h
index 939e234..478ca28 100644 (file)
@@ -2,6 +2,10 @@
 #define _UT_REMOTELIST_H_
 
 #include <QObject>
+#include <QStringList>
+#include <QMap>
+#include <QList>
+#include "model.h"
 
 class Ut_RemoteList: public QObject
 {
@@ -10,7 +14,7 @@ class Ut_RemoteList: public QObject
 private slots:
     void initTestCase();
     void cleanupTestCase();
-    void init();    // Before each test case
+    void init();
     
     void testSetContent();
     void testIsValid();
@@ -19,7 +23,13 @@ private slots:
     void testLetters();
     void testManufacturers();
     void testModels();
+
+private:
+    QMap<QString, QStringList> validMfgs;       // letter -- mfgs
+    QMap<QString, QList<Model> > validModels;   // mfg ----- models
 };
 
 #endif // UT_REMOTELIST_H
 
+
+