summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-05 13:52:51 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-12-11 12:02:11 +0100
commit770f9876595a3cebd4b911a237ec1e681bc506be (patch)
tree7e6e3dda9ccfe843d506380d5c26f6c8f38911c4 /tests/data
parent08f1db445134e98188f3e1e5b6b84a6eac1f6346 (diff)
downloadnextcloud-server-770f9876595a3cebd4b911a237ec1e681bc506be.tar.gz
nextcloud-server-770f9876595a3cebd4b911a237ec1e681bc506be.zip
adding supported libraries - including min and max version
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/app/expected-info.json15
-rw-r--r--tests/data/app/valid-info.xml3
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/data/app/expected-info.json b/tests/data/app/expected-info.json
index fc0ab224977..a425622998b 100644
--- a/tests/data/app/expected-info.json
+++ b/tests/data/app/expected-info.json
@@ -44,6 +44,21 @@
},
"@value": "notepad.exe"
}
+ ],
+ "lib": [
+ {
+ "@attributes" : {
+ "min-version": "1.2"
+ },
+ "@value": "xml"
+ },
+ {
+ "@attributes" : {
+ "max-version": "2.0"
+ },
+ "@value": "intl"
+ },
+ "curl"
]
}
}
diff --git a/tests/data/app/valid-info.xml b/tests/data/app/valid-info.xml
index f01f5fd55ea..0ea15b63a4b 100644
--- a/tests/data/app/valid-info.xml
+++ b/tests/data/app/valid-info.xml
@@ -25,5 +25,8 @@
<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>
</dependencies>
</info>