summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorBernhard Posselt <Raydiation@users.noreply.github.com>2014-12-15 12:34:46 +0100
committerBernhard Posselt <Raydiation@users.noreply.github.com>2014-12-15 12:34:46 +0100
commitbe45366013c50d9a9d18e258c66e18798719d8df (patch)
treef9e897521e0e93e1f96755ae60752a9ea7c0bcda /tests/data
parentb831914aa66ab9591dd4593233cc8f67ed6cf8eb (diff)
parente58b9d3eb70996a6ccccabf979125fc0797fbd85 (diff)
downloadnextcloud-server-be45366013c50d9a9d18e258c66e18798719d8df.tar.gz
nextcloud-server-be45366013c50d9a9d18e258c66e18798719d8df.zip
Merge pull request #12625 from owncloud/app-dependencies-libs-and-commands
adding dependencies for command line tools and php libraries
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/app/expected-info.json24
-rw-r--r--tests/data/app/valid-info.xml5
2 files changed, 28 insertions, 1 deletions
diff --git a/tests/data/app/expected-info.json b/tests/data/app/expected-info.json
index fc0ab224977..d86ffed482b 100644
--- a/tests/data/app/expected-info.json
+++ b/tests/data/app/expected-info.json
@@ -44,6 +44,28 @@
},
"@value": "notepad.exe"
}
- ]
+ ],
+ "lib": [
+ {
+ "@attributes" : {
+ "min-version": "1.2"
+ },
+ "@value": "xml"
+ },
+ {
+ "@attributes" : {
+ "max-version": "2.0"
+ },
+ "@value": "intl"
+ },
+ "curl"
+ ],
+ "os": "Linux",
+ "owncloud": {
+ "@attributes" : {
+ "min-version": "7.0.1",
+ "max-version": "8"
+ }
+ }
}
}
diff --git a/tests/data/app/valid-info.xml b/tests/data/app/valid-info.xml
index f01f5fd55ea..4b22d55d7bc 100644
--- a/tests/data/app/valid-info.xml
+++ b/tests/data/app/valid-info.xml
@@ -25,5 +25,10 @@
<database>mysql</database>
<command os="linux">grep</command>
<command os="windows">notepad.exe</command>
+ <lib min-version="1.2">xml</lib>
+ <lib max-version="2.0">intl</lib>
+ <lib>curl</lib>
+ <os>Linux</os>
+ <owncloud min-version="7.0.1" max-version="8" />
</dependencies>
</info>