summaryrefslogtreecommitdiffstats
path: root/tests/data/1.json
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/1.json
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/1.json')
-rw-r--r--tests/data/1.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/data/1.json b/tests/data/1.json
new file mode 100644
index 00000000..d5261d2c
--- /dev/null
+++ b/tests/data/1.json
@@ -0,0 +1,43 @@
+{
+ "ApiVersion": 0,
+ "Id": 1,
+ "Name": "1.0.1",
+ "Files": [
+ {
+ "Path": "fileOne",
+ "Sources": [
+ {
+ "SourceType": "http",
+ "Url": "file://$PWD/tests/data/fileOneA"
+ }
+ ],
+ "Executable": true,
+ "Perms": 493,
+ "MD5": "9eb84090956c484e32cb6c08455a667b"
+ },
+ {
+ "Path": "fileTwo",
+ "Sources": [
+ {
+ "SourceType": "http",
+ "Url": "file://$PWD/tests/data/fileTwo"
+ }
+ ],
+ "Executable": false,
+ "Perms": 644,
+ "MD5": "38f94f54fa3eb72b0ea836538c10b043"
+ },
+ {
+ "Path": "fileThree",
+ "Sources": [
+ {
+ "SourceType": "http",
+ "Url": "file://$PWD/tests/data/fileThree"
+ }
+ ],
+ "Executable": false,
+ "Perms": "750",
+ "MD5": "f12df554b21e320be6471d7154130e70"
+ }
+ ]
+}