diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TestUtil.h | 4 | ||||
-rw-r--r-- | tests/tst_UpdateChecker.cpp | 4 | ||||
-rw-r--r-- | tests/tst_inifile.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/TestUtil.h b/tests/TestUtil.h index e9099b15..e7017743 100644 --- a/tests/TestUtil.h +++ b/tests/TestUtil.h @@ -39,9 +39,9 @@ struct TestsInternal #define QTEST_GUILESS_MAIN_MULTIMC(TestObject) \ int main(int argc, char *argv[]) \ { \ - char *argv_[] = { argv[0] _MMC_EXTRA_ARGV }; \ + const char *argv_[] = { argv[0] _MMC_EXTRA_ARGV }; \ int argc_ = 1 + _MMC_EXTRA_ARGC; \ - MultiMC app(argc_, argv_, true); \ + MultiMC app(argc_, const_cast<char**>(argv_), true); \ app.setAttribute(Qt::AA_Use96Dpi, true); \ TestObject tc; \ return QTest::qExec(&tc, argc, argv); \ diff --git a/tests/tst_UpdateChecker.cpp b/tests/tst_UpdateChecker.cpp index ae6fc193..8351ad75 100644 --- a/tests/tst_UpdateChecker.cpp +++ b/tests/tst_UpdateChecker.cpp @@ -1,8 +1,8 @@ #include <QTest> #include <QSignalSpy> -#include "depends/settings/settingsobject.h" -#include "depends/settings/setting.h" +#include "logic/settings/SettingsObject.h" +#include "logic/settings/Setting.h" #include "BuildConfig.h" #include "TestUtil.h" diff --git a/tests/tst_inifile.cpp b/tests/tst_inifile.cpp index c0f57c12..93930ae9 100644 --- a/tests/tst_inifile.cpp +++ b/tests/tst_inifile.cpp @@ -1,7 +1,7 @@ #include <QTest> #include "TestUtil.h" -#include "depends/settings/inifile.h" +#include "logic/settings/INIFile.h" class IniFileTest : public QObject { |