summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-06-08 02:43:16 +0200
committerPetr Mrázek <peterix@gmail.com>2015-06-09 00:03:42 +0200
commit82e05661d207621f917d79ebd513abc57a36c084 (patch)
treeb13eb12af54ff1a6214d9b0c7b34ce6a9e5aa975 /tests
parent166813cb918ebd029325e12377989bfdc2021074 (diff)
downloadMultiMC-82e05661d207621f917d79ebd513abc57a36c084.tar
MultiMC-82e05661d207621f917d79ebd513abc57a36c084.tar.gz
MultiMC-82e05661d207621f917d79ebd513abc57a36c084.tar.lz
MultiMC-82e05661d207621f917d79ebd513abc57a36c084.tar.xz
MultiMC-82e05661d207621f917d79ebd513abc57a36c084.zip
GH-1060 implement very basic updater (only linux and maybe osx right now)
Diffstat (limited to 'tests')
-rw-r--r--tests/tst_DownloadTask.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/tst_DownloadTask.cpp b/tests/tst_DownloadTask.cpp
index 289aa195..eb58762b 100644
--- a/tests/tst_DownloadTask.cpp
+++ b/tests/tst_DownloadTask.cpp
@@ -69,20 +69,6 @@ slots:
{
}
- void test_writeInstallScript()
- {
- OperationList ops;
-
- ops << Operation::CopyOp("sourceOne", "destOne", 0777)
- << Operation::CopyOp("MultiMC.exe", "M/u/l/t/i/M/C/e/x/e")
- << Operation::DeleteOp("toDelete.abc");
- auto testFile = "tests/data/tst_DownloadTask-test_writeInstallScript.xml";
- const QString script = QDir::temp().absoluteFilePath("MultiMCUpdateScript.xml");
- QVERIFY(writeInstallScript(ops, script));
- QCOMPARE(TestsInternal::readFileUtf8(script).replace(QRegExp("[\r\n]+"), "\n"),
- MULTIMC_GET_TEST_FILE_UTF8(testFile).replace(QRegExp("[\r\n]+"), "\n"));
- }
-
void test_parseVersionInfo_data()
{
QTest::addColumn<QByteArray>("data");