src/tools/unitTest/tToolUnitTest.cpp File Reference

#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>

Include dependency graph for tToolUnitTest.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 4 of file tToolUnitTest.cpp.

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 23:13:26 2008 for Armagetron Advanced by  doxygen 1.5.4