~ubuntu-branches/ubuntu/jaunty/psi/jaunty

« back to all changes in this revision

Viewing changes to qa/guitest/guitestmanager.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-08-28 18:46:52 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080828184652-iiik12dl91nq7cdi
Tags: 0.12-2
Uploading to unstable (Closes: Bug#494352)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef GUITESTMANAGER_H
 
2
#define GUITESTMANAGER_H
 
3
 
 
4
#include <QStringList>
 
5
 
 
6
#include "guitest.h"
 
7
 
 
8
class GUITestManager
 
9
{
 
10
public: 
 
11
        static GUITestManager* instance();
 
12
 
 
13
        void registerTest(GUITest* test);
 
14
        bool runTest(const QString& name);
 
15
        QStringList getTestNames() const;
 
16
 
 
17
private:
 
18
        GUITestManager();
 
19
 
 
20
        static GUITestManager* instance_;
 
21
        QList<GUITest*> tests_;
 
22
};
 
23
 
 
24
#endif