diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2013-12-14 14:53:18 +0100 |
---|---|---|
committer | Jan Dalheimer <jan@dalheimer.de> | 2013-12-14 14:53:18 +0100 |
commit | ac2721e954142e534e3acced8a90ef6cf876efa7 (patch) | |
tree | 408d35556a6f1b324b58ae61d05727d65a5b238d | |
parent | f15306a0ac0b9e449344da07fd6304c5704c0913 (diff) | |
download | MultiMC-ac2721e954142e534e3acced8a90ef6cf876efa7.tar MultiMC-ac2721e954142e534e3acced8a90ef6cf876efa7.tar.gz MultiMC-ac2721e954142e534e3acced8a90ef6cf876efa7.tar.lz MultiMC-ac2721e954142e534e3acced8a90ef6cf876efa7.tar.xz MultiMC-ac2721e954142e534e3acced8a90ef6cf876efa7.zip |
Framework for some tests
-rw-r--r-- | tests/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tests/tst_UpdateChecker.cpp | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e115af17..79939312 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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 # diff --git a/tests/tst_UpdateChecker.cpp b/tests/tst_UpdateChecker.cpp new file mode 100644 index 00000000..dd31f253 --- /dev/null +++ b/tests/tst_UpdateChecker.cpp @@ -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" |