![]() |
|
|||
File indexing completed on 2023-03-17 10:59:36
0001 /* 0002 Generic test runner for CppUnit based tests. No modifications needed 0003 0004 \author CppUnit Cookbook 0005 */ 0006 0007 #include <cppunit/extensions/HelperMacros.h> 0008 #include <cppunit/ui/text/TestRunner.h> 0009 0010 int main() 0011 { 0012 CppUnit::TextUi::TestRunner runner; 0013 CppUnit::TestFactoryRegistry& registry = 0014 CppUnit::TestFactoryRegistry::getRegistry(); 0015 0016 runner.addTest( registry.makeTest() ); 0017 0018 bool ret = runner.run("", false); 0019 return ret ? 0 : 1; 0020 } 0021 0022 0023 // Configure (x)emacs for this file ... 0024 // Local Variables: 0025 // mode:c++ 0026 // compile-command: "make -C .. -k testTime && ../testTime" 0027 // End:
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |