summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
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>