test_main.h File Reference
#include <cppunit/TestCase.h>#include <cppunit/extensions/HelperMacros.h>#include <cppunit/extensions/TestFactoryRegistry.h>#include <cppunit/TextTestRunner.h>Include dependency graph for test_main.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines |
|
| #define | WISP_TEST_MAIN(init_hook) |
Define Documentation
| #define WISP_TEST_MAIN | ( | init_hook | ) |
Value:
int main(int argc, char **argv) { \ TextTestRunner runner; \ TestFactoryRegistry & registry = TestFactoryRegistry::getRegistry();\ \ init_hook; \ \ runner.addTest(registry.makeTest());\ \ return (runner.run() ? 0 : -1);\ }
Definition at line 30 of file test_main.h.
Copyright © 2006-2010 Savarese Software Research Corporation. All rights reserved.
Copyright © 2011 Savarese Software Research Corporation. All rights reserved