FactDev  0.1
ratemodeltest.h
1 #ifndef RATEMODELTEST_H
2 #define RATEMODELTEST_H
3 #include "QTestRunner/testrunner.h"
4 #include "models/rate.h"
5 
6 using namespace Models;
7 
8 class RateModelTest : public QObject
9 {
10  Q_OBJECT
11 
12 public:
13  RateModelTest();
14 
15 private slots:
16  void setHourly();
17  void setDaily();
18  void getHourly();
19  void getDaily();
20 
21  void setHourlyNotLegal();
22  void setDailyNotLegal();
23 
24 private:
25  Models::Rate _rate;
26 };
27 
28 DECLARE_TEST(RateModelTest)
29 
30 
31 #endif // RATEMODELTEST_H
The Rate class Rate of a prestation.
Definition: rate.h:13
Definition: ratemodeltest.h:8