File indexing completed on 2024-07-21 04:35:14

0001 #ifndef TEST_H
0002 #define TEST_H
0003 
0004 #include <QtTest/QtTest>
0005 
0006 #if QT_VERSION < QT_VERSION_CHECK(5,0,0)
0007 #define QTEST_GUILESS_MAIN(TestObject) \
0008 int main(int argc, char *argv[]) \
0009 { \
0010     QCoreApplication app(argc, argv); \
0011     TestObject tc; \
0012     return QTest::qExec(&tc, argc, argv); \
0013 }
0014 #endif
0015 
0016 #endif // TEST_H