using CppUnit::TestSuite;
using CppUnit::TestFactoryRegistry;
using CppUnit::TextUi::TestRunner;
+using CppUnit::CompilerOutputter;
using std::string;
using std::vector;
{
cout << "Test program for wxWidgets\n"
<< "build: " << WX_BUILD_OPTIONS_SIGNATURE << std::endl;
+
+#if !wxUSE_WXVSNPRINTF
+ cout << "\n";
+ cout << "WARNING: VsnprintfTestCase will test the system vsnprintf() function\n";
+ cout << " instead of the wxWidgets wxVsnprintf_ implementation!" << std::endl;
+ cout << "\n";
+#endif
+
return wxAppConsole::OnInit();
};
runner.addTest(test.release());
}
+ runner.setOutputter(new CompilerOutputter(&runner.result(), cout));
+
#if wxUSE_LOG
// Switch off logging unless --verbose
bool verbose = wxLog::GetVerbose();