NCL Composer  0.1.5
 All Classes Functions Variables Pages
tst_ModuleLanguage.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_MODULELANGUAGE_H
11 #define TST_MODULELANGUAGE_H
12 
13 #include <QObject>
14 #include <QTest>
15 
16 #include <modules/LanguageControl.h>
17 using namespace composer::core;
18 
19 class tst_ModuleLanguage : public QObject
20 {
21  Q_OBJECT
22 public:
23  void setBenchmark(bool isBench) { isBenchmark = isBench; }
24 private:
25  LanguageControl *lgControl;
26  QString profileDir;
27  bool isBenchmark;
28 
29 public slots:
30 
31 private slots:
32  void initTestCase();
33  void languageProfile_data();
34  void languageProfile();
35  void languageLoadBenchmark_data();
36  void languageLoadBenchmark();
37  void cleanupTestCase();
38 };
39 
40 #endif // TST_MODULELANGUAGE_H