BigBlueBox
An Inventory Management System for a NYLT Course or other Boy Scout Programs
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
unittest.h
Go to the documentation of this file.
1 #ifndef UNITTEST_H
2 #define UNITTEST_H
3 
4 #include <QObject>
5 #include <QtTest>
6 #include <QString>
7 
8 /***********************************************************************************/
9 // Put test classes here.
10 // The test classes will include the classes to be tested.
11 // ex. CustomerTest.h includes customer.h
12 /***********************************************************************************/
13 //#include "CustomerTest.h"
14 //#include "sqltest.h"
15 
16 #include "test/_regextest.h"
17 #include "test/categorytest.h"
18 #include "test/itemtest.h"
19 //#include "test/_filewriterbench.h"
20 #include "test/qrtest.h"
21 
22 namespace bbbTest {
23 /***********************************************************************************/
31 /***********************************************************************************/
32 class UnitTest : public QObject
33 { Q_OBJECT
34 public:
35  /***********************************************************************************/
38  UnitTest();
39  //***********************************************************************************/
40 
41 
42  /***********************************************************************************/
47  static void run();
48  /***********************************************************************************/
49 
50 }; // end class
51 /***********************************************************************************/
52 
53 } // end namespace
54 #endif // UNITTEST_H
Starts the regression and unit testing.
Definition: unittest.h:32
UnitTest()
Constructor.
Definition: unittest.cpp:5
static void run()
Static fx, calls all unit test objects and executes them.
Definition: unittest.cpp:7