initial commit
This commit is contained in:
commit
9d20827c46
2469 changed files with 470994 additions and 0 deletions
24
qa/guitest/guitestmanager.h
Normal file
24
qa/guitest/guitestmanager.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#ifndef GUITESTMANAGER_H
|
||||
#define GUITESTMANAGER_H
|
||||
|
||||
#include <QStringList>
|
||||
|
||||
#include "guitest.h"
|
||||
|
||||
class GUITestManager
|
||||
{
|
||||
public:
|
||||
static GUITestManager* instance();
|
||||
|
||||
void registerTest(GUITest* test);
|
||||
bool runTest(const QString& name);
|
||||
QStringList getTestNames() const;
|
||||
|
||||
private:
|
||||
GUITestManager();
|
||||
|
||||
static GUITestManager* instance_;
|
||||
QList<GUITest*> tests_;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in a new issue