Framework for some tests

This commit is contained in:
Jan Dalheimer 2013-12-14 14:53:18 +01:00
parent f15306a0ac
commit ac2721e954
2 changed files with 23 additions and 0 deletions

View File

@ -20,6 +20,7 @@ endmacro()
add_unit_test(pathutils tst_pathutils.cpp)
add_unit_test(userutils tst_userutils.cpp)
add_unit_test(UpdateChecker tst_UpdateChecker.cpp)
# Tests END #

View File

@ -0,0 +1,22 @@
#include <QTest>
#include "TestUtil.h"
class UpdateCheckerTest : public QObject
{
Q_OBJECT
private
slots:
void initTestCase()
{
}
void cleanupTestCase()
{
}
};
QTEST_GUILESS_MAIN(UpdateCheckerTest)
#include "tst_UpdateChecker.moc"