NCL Composer  0.1.5
 All Classes Functions Variables Pages
tst_ModulePlugin.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_MODULEPLUGIN_H
11 #define TST_MODULEPLUGIN_H
12 
13 #include <QObject>
14 #include <QTest>
15 
16 #include "modules/PluginControl.h"
17 #include "modules/LanguageControl.h"
18 using namespace composer::core;
19 
20 class tst_ModulePlugin : public QObject
21 {
22  Q_OBJECT
23 public:
24  void setBenchmark(bool isBench) { isBenchmark = isBench; }
25 private:
26  PluginControl *pgControl;
27  QString pluginDir;
28  bool isBenchmark;
29 
30 private slots:
31 
32  void initTestCase();
33  void loadPluginDir();
34  void pluginName_data();
35  void pluginName();
36  void pluginLoadBenchmark_data();
37  void pluginLoadBenchmark();
38  void cleanupTestCase();
39 
40 };
41 
42 #endif // TST_MODULEPLUGIN_H