NCL Composer  0.1.5
 All Classes Functions Variables Pages
tst_InsertNode.h
1 #ifndef TST_INSERTNODE_H
2 #define TST_INSERTNODE_H
3 
4 #include <QObject>
5 #include <QTest>
6 #include <QStringList>
7 
8 /* Composer includes */
9 #include <modules/PluginControl.h>
10 #include <modules/ProjectControl.h>
11 #include <modules/MessageControl.h>
12 #include <modules/LanguageControl.h>
13 
14 #include "tst_ModuleProject.h"
15 #include "tst_Utils.h"
16 
17 class tst_InsertNode : public QObject
18 {
19  Q_OBJECT
20 
21 private:
22  ProjectControl *pjControl;
23  LanguageControl *lgControl;
24  PluginControl *pgControl;
25  QString resourceDir;
26  QStringList pluginList;
27  QString profileDir;
28  QString pluginDir;
29  bool isBenchmark;
30 
31  int nNodes;
32 
33  ShowWidgets showWidgets;
34 
35  void insertNode_data();
36  void insertNode();
37  void insertNodeNPlugins_data();
38  void insertNodeNPlugins();
39 
40 private slots:
41  void initTestCase();
42  void cleanupTestCase();
43  void init();
44 
45  void updateNodes_data();
46  void updateNodes();
47 };
48 
49 #endif // TST_INSERTNODE_H