Unit tests for the DownloadUpdateTask class
This commit is contained in:
43
tests/data/1.json
Normal file
43
tests/data/1.json
Normal file
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user