summaryrefslogtreecommitdiffstats
path: root/tests/apps/testapp_infoxml
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-02-07 16:03:21 +0100
committerJoas Schilling <coding@schilljs.com>2018-02-16 10:23:51 +0100
commit17a26dfcc1f4d02b54e6cbb500f41bbe25609f1e (patch)
tree045682f754bec9284239df359715660148251011 /tests/apps/testapp_infoxml
parent620ee00ac5d176e85ba0dd9dd10cff6d1ef5172f (diff)
downloadnextcloud-server-17a26dfcc1f4d02b54e6cbb500f41bbe25609f1e.tar.gz
nextcloud-server-17a26dfcc1f4d02b54e6cbb500f41bbe25609f1e.zip
Validate the info.xml against the appstore schema file
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/apps/testapp_infoxml')
-rw-r--r--tests/apps/testapp_infoxml/appinfo/info.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/apps/testapp_infoxml/appinfo/info.xml b/tests/apps/testapp_infoxml/appinfo/info.xml
new file mode 100644
index 00000000000..b7575687fe5
--- /dev/null
+++ b/tests/apps/testapp_infoxml/appinfo/info.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
+ <id>testapp_infoxml</id>
+ <name>Test app</name>
+ <summary>A b c</summary>
+ <description>A b c</description>
+ <version>1.2.3</version>
+ <licence>agpl</licence>
+ <author>Jane</author>
+ <category>games</category>
+ <bugs>https://example.org</bugs>
+ <dependencies>
+ <nextcloud min-version="12.0" max-version="12.0"/>
+ </dependencies>
+</info>