6#include <QtCore/QObject>
7#include <QtCore/QVector>
25 virtual int RunTests(
int argc,
char *argv[])
override;
28 template <
class TestObject>
36 testPtr->setObjectName(name);
44 typedef QVector<TestPtr> TestInstances;
46 static TestInstances& GetTests();
47 static bool FindTest(
const QString& name);
48 static void AddTest(TestPtr test);
54#define I_ADD_TEST(className) const itest::CStandardTestExecutor::TestRegistrator<className> className##_AddTest(#className);
TestRegistrator(const QString &name)
Standard implementation of ITestExecutor with static test registration.
virtual int RunTests(int argc, char *argv[]) override
Interface for running a collection of tests.
Contains interfaces and implementations of testing-related components.