FactDev  0.1
contributorymodeltest.h
1 #ifndef CONTRIBUTORYMODELTEST_H
2 #define CONTRIBUTORYMODELTEST_H
3 #include "QTestRunner/testrunner.h"
4 
5 #include "models/contributory.h"
6 
7 #include "utils/double.h"
8 using namespace Models;
9 
10 class ContributoryModelTest : public QObject
11 {
12  Q_OBJECT
13 public:
15 
16 private slots:
17  void equals1();
18  void equals2();
19  void notEquals();
20 
21  void commitUpdate();
22  void commitInsert();
23  void hydrat();
24  void commitRemove();
25 
26  void getRateTest();
27  void getQuantityTest();
28 private:
29  void setup(void);
30 
31  Contributory c1;
32  Contributory c2;
33 
34 };
35 DECLARE_TEST(ContributoryModelTest)
36 
37 #endif // CONTRIBUTORYMODELTEST_H
Definition: contributorymodeltest.h:10
The Unit enum Unity of work : hour or day.
Definition: contributory.h:18