CppUnit project page FAQ

AutoRegisterSuite.h
Go to the documentation of this file.
1 #ifndef CPPUNIT_EXTENSIONS_AUTOREGISTERSUITE_H
2 #define CPPUNIT_EXTENSIONS_AUTOREGISTERSUITE_H
3 
6 #include <string>
7 
9 
10 
27 template<class TestCaseType>
29 {
30 public:
34  : m_registry( &TestFactoryRegistry::getRegistry() )
35  {
37  }
38 
42  AutoRegisterSuite( const std::string &name )
43  : m_registry( &TestFactoryRegistry::getRegistry( name ) )
44  {
46  }
47 
49  {
52  }
53 
54 private:
57 };
58 
59 
66 {
67 public:
68  AutoRegisterRegistry( const std::string &which,
69  const std::string &to )
70  {
72  }
73 
74  AutoRegisterRegistry( const std::string &which )
75  {
77  }
78 };
79 
80 
82 
83 #endif // CPPUNIT_EXTENSIONS_AUTOREGISTERSUITE_H

Send comments to:
CppUnit Developers