#include <cppunit/CompilerOutputter.h>
#include <cppunit/TestResult.h>
#include <cppunit/TestResultCollector.h>
-#include <cppunit/TextTestProgressListener.h>
#include <stdexcept>
#include <TestViewer.h>
+#include <TestLib_Listener.h>
#include <TestLib_Runner.h>
#include <OCCViewer_ViewWindow.h>
#include <SUIT_Session.h>
int main( int argc, char* argv[] )
{
- srand( time( 0 ) );
+ srand( 0 );
QApplication anApp( argc, argv );
SUIT_Session aSession;
controller.addListener( &result );
// Add a listener that print dots as test run.
- CppUnit::TextTestProgressListener progress;
+ TestLib_Listener progress;
controller.addListener( &progress );
CppUnit::TestFactoryRegistry& registry =
runner.addTest( registry.makeTest() );
try
{
- std::cout << "Running " << testPath;
+ std::cout << "Running tests " << testPath << "..." << std::endl;
runner.Run( controller );
std::cerr << std::endl;