diff options
| author | Bastiaan Bakker <bastiaan.bakker@lifeline.nl> | 2001-04-23 21:19:10 +0000 |
|---|---|---|
| committer | Bastiaan Bakker <bastiaan.bakker@lifeline.nl> | 2001-04-23 21:19:10 +0000 |
| commit | 243d1d33d1f6a45854882645e1860e5cc2839fc3 (patch) | |
| tree | ea12e326ee51082c617b167ab45e362b11e435d1 /include/cppunit | |
| parent | c910c4cc5cde77b7ef034c50058d8d5f11bd4b71 (diff) | |
| download | cppunit-243d1d33d1f6a45854882645e1860e5cc2839fc3.tar.gz | |
Merged Baptiste Lepilleurs patch for TestRegistry: now TestCases do not automatically register with the Registry anymore.
Diffstat (limited to 'include/cppunit')
| -rw-r--r-- | include/cppunit/TestRegistry.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/cppunit/TestRegistry.h b/include/cppunit/TestRegistry.h index 754f9fb..c5d45a6 100644 --- a/include/cppunit/TestRegistry.h +++ b/include/cppunit/TestRegistry.h @@ -30,8 +30,12 @@ namespace CppUnit { void addTest(std::string name, Test* test); private: + static TestRegistry* s_registry; + TestRegistry(); - + std::vector<std::string> m_registry_names; + std::vector<Test*> m_registry_tests; + }; } // namespace CppUnit |
