FactDev  0.1
projectmodeltest.h
1 #ifndef PROJECTMODELTEST_H
2 #define PROJECTMODELTEST_H
3 #include <iostream>
4 
5 #include "QTestRunner/testrunner.h"
6 #include "models/project.h"
7 #include "utils/double.h"
8 using namespace Models;
9 
10 
11 class ProjectModelTest : public QObject
12 {
13  Q_OBJECT
14 
15 public:
17 
18 private slots:
19  void equals1();
20  void equals2();
21  void notEquals();
22 
23  void commitUpdate();
24  void commitInsert();
25  void hydrat();
26  void remove();
27 
28  void getProjectsTable();
29  void turnoverComputeTest();
30  void lock();
31  void isLocked();
32 
33  void unlock();
34  void commitLock();
35 private:
36  Project p1;
37  Project p2;
38 };
39 DECLARE_TEST(ProjectModelTest)
40 
41 #endif // PROJECTMODELTEST_H
Definition: projectmodeltest.h:11
The Project class : Project linked to a Customer.
Definition: project.h:17