diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-17 02:09:58 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-20 23:04:11 +0100 |
commit | d6c71488b34a2854461feee3296c11568542ecbe (patch) | |
tree | 9486ced2bfb437178d1abe827dc29f00edd7783d /tests/tst_userutils.cpp | |
parent | 20e86801b3cc889a07cd8eef744b06b77a2239cc (diff) | |
download | PrismLauncher-d6c71488b34a2854461feee3296c11568542ecbe.tar.gz PrismLauncher-d6c71488b34a2854461feee3296c11568542ecbe.tar.bz2 PrismLauncher-d6c71488b34a2854461feee3296c11568542ecbe.zip |
Some test madness
Diffstat (limited to 'tests/tst_userutils.cpp')
-rw-r--r-- | tests/tst_userutils.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/tst_userutils.cpp b/tests/tst_userutils.cpp index 62bee985..3bc980c0 100644 --- a/tests/tst_userutils.cpp +++ b/tests/tst_userutils.cpp @@ -23,6 +23,9 @@ slots: QCOMPARE(Util::getDesktopDir(), QStandardPaths::writableLocation(QStandardPaths::DesktopLocation)); } +// this is only valid on linux +// FIXME: implement on windows, OSX, then test. +#if defined(Q_OS_LINUX) void test_createShortcut_data() { QTest::addColumn<QString>("location"); @@ -40,7 +43,7 @@ slots: #if defined(Q_OS_LINUX) << MULTIMC_GET_TEST_FILE("data/tst_userutils-test_createShortcut-unix") #elif defined(Q_OS_WIN) - << QString() + << QByteArray() #endif ; } @@ -59,8 +62,10 @@ slots: //QDir().remove(location); } +#endif }; + QTEST_GUILESS_MAIN_MULTIMC(UserUtilsTest) #include "tst_userutils.moc" |