0560529a7507edbf3534bc63f2aaf314eb5ca6e0
[irwi] / ut / ut_remotelist / ut_remotelist.h
1 #ifndef _UT_REMOTELIST_H_
2 #define _UT_REMOTELIST_H_
3
4 #include <QObject>
5 #include <QStringList>
6 #include <QMap>
7
8 class Ut_RemoteList: public QObject
9 {
10     Q_OBJECT
11
12 private slots:
13     void initTestCase();
14     void cleanupTestCase();
15     void init();    // Before each test case
16     
17     void testSetContent();
18     void testIsValid();
19     void testIsValid_InvalidFile();
20     void testIsValid_FileNotFound();
21     void testLetters();
22     void testManufacturers();
23     void testModels();
24
25 private:
26     QStringList validLetters;
27     QMap<QString, QStringList> validMfgs;
28     QMap<QString, QStringList> validModels;
29 };
30
31 #endif // UT_REMOTELIST_H
32