summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-02 12:10:04 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-12-04 11:40:33 +0100
commit086ec3de15d76806d01437d7f64106146b3553ea (patch)
treea0da32327365e3cdea1afc69ce54e93f1ab1648d /tests
parentb028a6afac6964a4c07ce83ed0f43969ab587117 (diff)
downloadnextcloud-server-086ec3de15d76806d01437d7f64106146b3553ea.tar.gz
nextcloud-server-086ec3de15d76806d01437d7f64106146b3553ea.zip
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>