41 if(QTest::currentTestFailed()){
52 QString className= metaObject()->className();
74 result += QTest::qExec(testcase, arguments);
75 }
catch(
const std::exception &e){
76 cout <<
"FAIL! : Threw error ";
77 cout << e.what() << endl;
85 cout <<
s_failed_tests.join(
"\n").toLocal8Bit().constData() << std::endl;
94 #include "moc/moc_RoadTest.cpp" QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
static QList< RoadTest * > s_testcases
static int s_test_fail
! Total number of tests executed
static int runTests(QStringList arguments)
static int s_test_count
! List of testcases to execute. Initialized via add_...()
static QStringList s_failed_tests
! Number of failed tests
static void deleteTests()
void cleanup()
Executed after each test.