summaryrefslogtreecommitdiff
path: root/c++
diff options
context:
space:
mode:
authorJonathan Lange <jml@mumak.net>2007-01-17 22:39:01 +1100
committerJonathan Lange <jml@mumak.net>2007-01-17 22:39:01 +1100
commit6e561994a1e668668dfd0280b906769c8bf0684a (patch)
tree88908e3ebea9ce8f6f90147c2e3de03524763c0a /c++
parent788efa722dc1f40b7661fa1f0429c156e33e74a6 (diff)
downloadsubunit-git-6e561994a1e668668dfd0280b906769c8bf0684a.tar.gz
whitespace cleanup
Diffstat (limited to 'c++')
-rw-r--r--c++/README8
1 files changed, 4 insertions, 4 deletions
diff --git a/c++/README b/c++/README
index 08ccf09..3fd085c 100644
--- a/c++/README
+++ b/c++/README
@@ -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;
}