1 #include <cppunit/extensions/TestFactoryRegistry.h>
2 #include <cppunit/ui/text/TestRunner.h>
4 using CppUnit::TestFactoryRegistry;
5 using CppUnit::TextUi::TestRunner;
8 int main(int, char **) {
10 TestFactoryRegistry ®istry = TestFactoryRegistry::getRegistry();
11 runner.addTest(registry.makeTest());