diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-12-02 12:10:04 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-12-04 11:40:33 +0100 |
commit | 086ec3de15d76806d01437d7f64106146b3553ea (patch) | |
tree | a0da32327365e3cdea1afc69ce54e93f1ab1648d /tests | |
parent | b028a6afac6964a4c07ce83ed0f43969ab587117 (diff) | |
download | nextcloud-server-086ec3de15d76806d01437d7f64106146b3553ea.tar.gz nextcloud-server-086ec3de15d76806d01437d7f64106146b3553ea.zip |
adding command dependency
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/app/expected-info.json | 16 | ||||
-rw-r--r-- | tests/data/app/valid-info.xml | 2 |
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> |