Menu

[r242]: / trunk / cppunit / examples / qt / Main.cpp  Maximize  Restore  History

Download this file

18 lines (12 with data), 381 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#include <qapplication.h>
#define QTTESTRUNNER_API __declspec(dllimport)
#include <cppunit/ui/qt/TestRunner.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
int main( int argc, char** argv )
{
QApplication app( argc, argv );
CppUnit::QtUi::TestRunner runner;
runner.addTest( CppUnit::TestFactoryRegistry::getRegistry().makeTest() );
runner.run( true );
return 0;
}
MongoDB Logo MongoDB