summaryrefslogtreecommitdiffstats
path: root/tests/data/tst_DownloadUpdateTask-test_writeInstallScript.xml
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2013-12-15 12:18:42 +0100
committerJan Dalheimer <jan@dalheimer.de>2013-12-15 12:18:42 +0100
commit3e8bcc1cf6f3400fff9aa361ddc109bafe16d646 (patch)
treeafe65f236ffada97947daf0993002cbb3dc46950 /tests/data/tst_DownloadUpdateTask-test_writeInstallScript.xml
parentf273334212274b1f1c7da376ef186314de8c4428 (diff)
downloadMultiMC-3e8bcc1cf6f3400fff9aa361ddc109bafe16d646.tar
MultiMC-3e8bcc1cf6f3400fff9aa361ddc109bafe16d646.tar.gz
MultiMC-3e8bcc1cf6f3400fff9aa361ddc109bafe16d646.tar.lz
MultiMC-3e8bcc1cf6f3400fff9aa361ddc109bafe16d646.tar.xz
MultiMC-3e8bcc1cf6f3400fff9aa361ddc109bafe16d646.zip
Unit tests for the DownloadUpdateTask class
Diffstat (limited to 'tests/data/tst_DownloadUpdateTask-test_writeInstallScript.xml')
-rw-r--r--tests/data/tst_DownloadUpdateTask-test_writeInstallScript.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/data/tst_DownloadUpdateTask-test_writeInstallScript.xml b/tests/data/tst_DownloadUpdateTask-test_writeInstallScript.xml
new file mode 100644
index 00000000..09c162ca
--- /dev/null
+++ b/tests/data/tst_DownloadUpdateTask-test_writeInstallScript.xml
@@ -0,0 +1,17 @@
+<update version="3">
+ <install>
+ <file>
+ <source>sourceOne</source>
+ <dest>destOne</dest>
+ <mode>0777</mode>
+ </file>
+ <file>
+ <source>MultiMC.exe</source>
+ <dest>M/u/l/t/i/M/C/e/x/e</dest>
+ <mode>0644</mode>
+ </file>
+ </install>
+ <uninstall>
+ <file>toDelete.abc</file>
+ </uninstall>
+</update>