diff options
author | Petr Mrázek <peterix@users.noreply.github.com> | 2016-01-06 11:28:44 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@users.noreply.github.com> | 2016-01-06 11:28:44 +0100 |
commit | 5ff9f90ce97b1986ea19bffe28426ade7a85d54b (patch) | |
tree | 1b19115d510163457cc7622385dfaea962bdebe6 /tests | |
parent | aa8103adf21acb2ad88044f2c2e728b2d6649f2c (diff) | |
parent | 34bf4ccdc749cdc7327bfcd450e04deaf1989b78 (diff) | |
download | MultiMC-5ff9f90ce97b1986ea19bffe28426ade7a85d54b.tar MultiMC-5ff9f90ce97b1986ea19bffe28426ade7a85d54b.tar.gz MultiMC-5ff9f90ce97b1986ea19bffe28426ade7a85d54b.tar.lz MultiMC-5ff9f90ce97b1986ea19bffe28426ade7a85d54b.tar.xz MultiMC-5ff9f90ce97b1986ea19bffe28426ade7a85d54b.zip |
Merge pull request #1393 from MultiMC/feature/travis-older-qt
GH-1393 Add more qt versions to travis
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/tst_FileSystem.cpp | 1 | ||||
-rw-r--r-- | tests/tst_ModList.cpp | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 89bf63ee..4e37fa34 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,5 +1,5 @@ # run the unit tests with `make test` -find_package(Qt5 COMPONENTS Test Core Network) +find_package(Qt5Test) unset(MultiMC_TESTS) macro(add_unit_test name) diff --git a/tests/tst_FileSystem.cpp b/tests/tst_FileSystem.cpp index a9406d13..ae1f93bb 100644 --- a/tests/tst_FileSystem.cpp +++ b/tests/tst_FileSystem.cpp @@ -1,4 +1,5 @@ #include <QTest> +#include <QTemporaryDir> #include "TestUtil.h" #include "FileSystem.h" diff --git a/tests/tst_ModList.cpp b/tests/tst_ModList.cpp index 09870245..e3aa1435 100644 --- a/tests/tst_ModList.cpp +++ b/tests/tst_ModList.cpp @@ -1,5 +1,6 @@ #include <QTest> +#include <QTemporaryDir> #include "TestUtil.h" #include "FileSystem.h" |