diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-04-19 13:11:38 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-04-19 13:11:38 +0000 |
| commit | 0aebae162476acace5580d3b54109111ff3514ca (patch) | |
| tree | ea7f2a17f2dc458026d5322fa07acb8ffe2ce8b7 /examples/simple/Main.cpp | |
| parent | 626e37841cfedef589fecb975876e7d22986cfb7 (diff) | |
| download | cppunit-0aebae162476acace5580d3b54109111ff3514ca.tar.gz | |
Src/cppunit/PlugInManager.
src/cppunit/PlugInManager.cpp: fixed bug in unload().
* include/cppunit/TypeInfoHelper.h:
* src/cppunit/TypeInfoHelper.cpp: Implementation is now always available
is CPPUNIT_HAVE_RTTI is not 0. This removes the need to use
different libraries. CPPUNIT_USE_TYPEINFO_NAME can be set on a
case by case basis for HelperMacros.
* src/cppunit/TestFactoryRegistry.cpp: removed unused include of
TypeInfoHelper.h.
* include/cppunit/TextTestProgressListener.h:
* src/cppunit/TextTestProgressListener.cpp: used endTest() instead
of done() to finalize.
* src/msvc6/TestPlugInRunner/TestPlugIn.h:
* src/msvc6/TestPlugInRunner/TestPlugIn.cpp: updated to use the
new test plug-in system.
* examples/simple/SimplePlugIn.cpp:
* examples/simple/simple_plugin.dsp: crossplatform test plug-in
example using 'simple'.
* examples/msvc6/EasyTestPlugIn/*: projects replaced with the
crossplatform projecct examples/simple/simple_plugin.dsp.
Diffstat (limited to 'examples/simple/Main.cpp')
| -rw-r--r-- | examples/simple/Main.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/examples/simple/Main.cpp b/examples/simple/Main.cpp index 4115812..fb50396 100644 --- a/examples/simple/Main.cpp +++ b/examples/simple/Main.cpp @@ -4,8 +4,6 @@ #include <cppunit/TestResult.h> #include <cppunit/TestResultCollector.h> #include <cppunit/TestRunner.h> -#include <cppunit/XmlOutputter.h> -#include <fstream> int @@ -27,13 +25,6 @@ main( int argc, char* argv[] ) runner.addTest( CppUnit::TestFactoryRegistry::getRegistry().makeTest() ); runner.run( controller ); - // Write an XML file with the result - std::ofstream file( "tests.xml" ); - CppUnit::XmlOutputter xml( &result, file ); - xml.setStyleSheet( "report.xsl" ); - xml.write(); - file.close(); - // Print test in a compiler compatible format. CppUnit::CompilerOutputter outputter( &result, std::cerr ); outputter.write(); |
