Add new animate sample to the distribution (probably more steps from technote #1...
[wxWidgets.git] / tests / test.cpp
index e6861bee35cf7f314e4f7c0fab4bf992eb7e5c41..b26e73317f0e682dd3cf0ae5d457f2aa50581537 100644 (file)
@@ -27,6 +27,7 @@ using CppUnit::Test;
 using CppUnit::TestSuite;
 using CppUnit::TestFactoryRegistry;
 using CppUnit::TextUi::TestRunner;
 using CppUnit::TestSuite;
 using CppUnit::TestFactoryRegistry;
 using CppUnit::TextUi::TestRunner;
+using CppUnit::CompilerOutputter;
 
 using std::string;
 using std::vector;
 
 using std::string;
 using std::vector;
@@ -131,6 +132,8 @@ int TestApp::OnRun()
             runner.addTest(test.release());
     }
 
             runner.addTest(test.release());
     }
 
+    runner.setOutputter(new CompilerOutputter(&runner.result(), cout));
+
 #if wxUSE_LOG
     // Switch off logging unless --verbose
     bool verbose = wxLog::GetVerbose();
 #if wxUSE_LOG
     // Switch off logging unless --verbose
     bool verbose = wxLog::GetVerbose();