CppUnit project page FAQ CppUnit home page

QtTestRunner.h
Go to the documentation of this file.
1// //////////////////////////////////////////////////////////////////////////
2// Header file TestRunner.h for class TestRunner
3// (c)Copyright 2000, Baptiste Lepilleur.
4// Created: 2001/09/19
5// //////////////////////////////////////////////////////////////////////////
6#ifndef CPPUNIT_QTUI_QTTESTRUNNER_H
7#define CPPUNIT_QTUI_QTTESTRUNNER_H
8
10#include "Config.h"
11
13
14
15 class Test;
16 class TestSuite;
17
18
41{
42public:
46
49 virtual ~QtTestRunner();
50
51 void run( bool autoRun =false );
52
53 void addTest( Test *test );
54
55private:
57 QtTestRunner( const QtTestRunner &copy );
58
60 void operator =( const QtTestRunner &copy );
61
63
64private:
67
69};
70
71
72#if CPPUNIT_HAVE_NAMESPACES
73 namespace QtUi
74 {
78 typedef CPPUNIT_NS::QtTestRunner TestRunner;
79 }
80#endif
81
82
84
85#endif // CPPUNIT_QTUI_QTTESTRUNNER_H
#define QTTESTRUNNER_API
Definition Config.h:17
#define CppUnitVector
Definition CppUnitVector.h:20
#define CPPUNIT_NS_END
Definition Portability.h:120
#define CPPUNIT_NS_BEGIN
Definition Portability.h:119
void addTest(Test *test)
TestSuite * _suite
Definition QtTestRunner.h:68
virtual ~QtTestRunner()
QtTestRunner(const QtTestRunner &copy)
Prevents the use of the copy constructor.
Test * getRootTest()
CppUnitVector< Test * > Tests
Definition QtTestRunner.h:65
void run(bool autoRun=false)
Tests * _tests
Definition QtTestRunner.h:66
Base class for all test objects.
Definition Test.h:26
A Composite of Tests.
Definition TestSuite.h:41
Definition QtTestRunner.h:74
CPPUNIT_NS::QtTestRunner TestRunner
Definition QtTestRunner.h:78

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers