src/tools/unitTest/tToolUnitTest.cpp

Go to the documentation of this file.
00001 #include <cppunit/extensions/TestFactoryRegistry.h>
00002 #include <cppunit/ui/text/TestRunner.h>
00003 
00004 int main( int argc, char **argv)
00005 {
00006     CppUnit::TextUi::TestRunner runner;
00007     CppUnit::TestFactoryRegistry &registry = CppUnit::TestFactoryRegistry::getRegistry();
00008     runner.addTest( registry.makeTest() );
00009     bool wasSuccessful = runner.run( "", false );
00010     return wasSuccessful;
00011 }

Generated on Sat Mar 15 22:56:03 2008 for Armagetron Advanced by  doxygen 1.5.4