Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-02 14:10:04 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2014-12-04 13:40:33 +0300
commit086ec3de15d76806d01437d7f64106146b3553ea (patch)
treea0da32327365e3cdea1afc69ce54e93f1ab1648d /tests
parentb028a6afac6964a4c07ce83ed0f43969ab587117 (diff)
adding command dependency
Diffstat (limited to 'tests')
-rw-r--r--tests/data/app/expected-info.json16
-rw-r--r--tests/data/app/valid-info.xml2
2 files changed, 17 insertions, 1 deletions
diff --git a/tests/data/app/expected-info.json b/tests/data/app/expected-info.json
index 6da69fb9ad7..8ab6e48ac6d 100644
--- a/tests/data/app/expected-info.json
+++ b/tests/data/app/expected-info.json
@@ -32,6 +32,20 @@
"@value": "sqlite"},
"mysql"
]
- }
+ },
+ "command": [
+ {
+ "@attributes" : {
+ "os": "linux"
+ },
+ "@value": "grep"
+ },
+ {
+ "@attributes" : {
+ "os": "windows"
+ },
+ "@value": "notepad.exe"
+ }
+ ]
}
}
diff --git a/tests/data/app/valid-info.xml b/tests/data/app/valid-info.xml
index cdb688c6b3f..354a39832fb 100644
--- a/tests/data/app/valid-info.xml
+++ b/tests/data/app/valid-info.xml
@@ -25,5 +25,7 @@
<database min-version="3.0">sqlite</database>
<database>mysql</database>
</databases>
+ <command os="linux">grep</command>
+ <command os="windows">notepad.exe</command>
</dependencies>
</info>