FactDev  0.1
searchtest.h
1 #ifndef SEARCHTEST_H
2 #define SEARCHTEST_H
3 #include "QTestRunner/testrunner.h"
4 #include "models/search.h"
5 #include "gui/widgets/widgetsmodels/customerstablemodel.h"
6 
7 using namespace Models;
8 using namespace Gui::Widgets;
9 
10 class searchTest : public QObject
11 {
12  Q_OBJECT
13 
14 public:
15  searchTest();
16 
17 private slots:
18  void searchAll();
19  void searchCompanyName();
20  void searchReferentLastname();
21  void searchWithoutFilters();
22  void searchCompanyNameWithSimpleQuote();
23  void searchProjectName();
24  void searchContributoryDescription();
25  void searchBillOrQuoteTitle();
26  void searchBillOrQuoteNumber();
27  void searchGetTests();
28 private:
29  Search _search;
30 };
31 DECLARE_TEST(searchTest)
32 
33 #endif // SEARCHTEST_H
The Search class.
Definition: search.h:12
Definition: searchtest.h:10