diff options
author | Jonathan Lange <jml@mumak.net> | 2007-01-17 22:39:01 +1100 |
---|---|---|
committer | Jonathan Lange <jml@mumak.net> | 2007-01-17 22:39:01 +1100 |
commit | 6e561994a1e668668dfd0280b906769c8bf0684a (patch) | |
tree | 88908e3ebea9ce8f6f90147c2e3de03524763c0a /c++ | |
parent | 788efa722dc1f40b7661fa1f0429c156e33e74a6 (diff) | |
download | subunit-git-6e561994a1e668668dfd0280b906769c8bf0684a.tar.gz |
whitespace cleanup
Diffstat (limited to 'c++')
-rw-r--r-- | c++/README | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -19,7 +19,7 @@ Currently there are no native C++ bindings for subunit. However the C library can be used from C++ safely. There is also a patch for cppunit -(http://cppunit.sourceforge.net/) to enable reporting via subunit +(http://cppunit.sourceforge.net/) to enable reporting via subunit (cppunit-subunit-1.10.2.patch). To use the patch, apply it and rebuild your cppunit. Then in your main do @@ -32,16 +32,16 @@ To use the patch, apply it and rebuild your cppunit. Then in your main do // note this isn't needed for subunit... CPPUNIT_NS::TestResultCollector result; controller.addListener( &result ); - + // Add a listener that print test activity in subunit format. CPPUNIT_NS::SubunitTestProgressListener progress; controller.addListener( &progress ); - + // Add the top suite to the test runner CPPUNIT_NS::TestRunner runner; runner.addTest( CPPUNIT_NS::TestFactoryRegistry::getRegistry().makeTest() ); runner.run( controller ); - + return result.wasSuccessful() ? 0 : 1; } |