FactDev  0.1
customermodeltest.h
1 #ifndef CUSTOMERMODELTEST_H
2 #define CUSTOMERMODELTEST_H
3 #include "QTestRunner/testrunner.h"
4 #include "models/customer.h"
5 #include "utils/double.h"
6 
7 using namespace Models;
8 class CustomerModelTest : public QObject
9 {
10  Q_OBJECT
11 public:
13  void setup();
14 private slots:
15  void equals1();
16  void equals2();
17  void notEquals();
18 
19  void commitUpdate();
20  void commitInsert();
21  void commitRemove();
22  void hydrat();
23  void remove();
24  void getPath();
25  void getNameFolder();
26  void turnoverComputeTest();
27 private:
28  Customer c1;
29  Customer c2;
30 };
31 DECLARE_TEST(CustomerModelTest)
32 
33 #endif // CUSTOMERMODELTEST_H
The Customer class Customer.
Definition: customer.h:15
Definition: customermodeltest.h:8