Framework for some tests
This commit is contained in:
parent
f15306a0ac
commit
ac2721e954
@ -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 #
|
||||
|
||||
|
22
tests/tst_UpdateChecker.cpp
Normal file
22
tests/tst_UpdateChecker.cpp
Normal 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"
|
Loading…
Reference in New Issue
Block a user