NCL Composer  0.1.5
 All Classes Functions Variables Pages
tst_ModuleInit.h
1 /* Copyright (c) 2011 Telemidia/PUC-Rio.
2  * All rights reserved. This program and the accompanying materials
3  * are made available under the terms of the Eclipse Public License v1.0
4  * which accompanies this distribution, and is available at
5  * http://www.eclipse.org/legal/epl-v10.html
6  *
7  * Contributors:
8  * Telemidia/PUC-Rio - initial API and implementation
9  */
10 #ifndef TST_MODULEINIT_H
11 #define TST_MODULEINIT_H
12 
13 #include <QObject>
14 #include <QTest>
15 
16 
17 // #include <modules/DocumentControl.h>
18 #include <modules/LanguageControl.h>
19 #include <modules/PluginControl.h>
20 // #include <modules/TransactionControl.h>
21 using namespace composer::core;
22 
23 class tst_ModuleInit : public QObject
24 {
25  Q_OBJECT
26 public:
27  void setInterations(int _interartions) { interations = _interartions; }
28  void setBenchmark(bool isBench) { isBenchmark = isBench; }
29 private:
30  LanguageControl *lgControl;
31  // DocumentControl *docControl;
32  PluginControl *pgControl;
33  int interations;
34  bool isBenchmark;
35  QString profileDir;
36  QString pluginDir;
37  QString documentDir;
38 
39 private slots:
40  void initTestCase();
41  void initBenchmark_data();
42  void initTorture();
43  void initBenchmark();
44  void languageProfile();
45 // void pluginProfile();
46 // void launchDocument();
47 // void launchDocument_data();
48 // void closeDocument();
49 // void closeDocument_data();
50 // void launchAndCloseDocument();
51 // void launchAndCloseDocument_data();
52  void cleanupTestCase();
53 };
54 
55 #endif // TST_MODULEINIT_H