1 #include <QTest> 2 3 #include "testlogdata.h" 4 #include "testlogfiltereddata.h" 5 6 int main(int argc, char** argv) 7 { 8 QApplication app(argc, argv); 9 10 int retval(0); 11 retval += QTest::qExec(&TestLogData(), argc, argv); 12 retval += QTest::qExec(&TestLogFilteredData(), argc, argv); 13 14 return (retval ? 1 : 0); 15 16 } 17