summaryrefslogtreecommitdiff
path: root/data/tests
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-08-14 13:32:37 +0100
committerRichard Hughes <richard@hughsie.com>2014-08-14 13:32:37 +0100
commite687cf0dc59d9da5b74f701799779a9167d75f16 (patch)
tree702f95fd58ec20acbcd3e71824aa9a3a8dbb4b5f /data/tests
parenteef76aba6b6d02029c9614818e2150363a39485c (diff)
downloadappstream-glib-e687cf0dc59d9da5b74f701799779a9167d75f16.tar.gz
Add some validation rules for metainfo files
Diffstat (limited to 'data/tests')
-rw-r--r--data/tests/Makefile.am1
-rw-r--r--data/tests/broken.metainfo.xml6
2 files changed, 7 insertions, 0 deletions
diff --git a/data/tests/Makefile.am b/data/tests/Makefile.am
index c2a703c..1b9d24e 100644
--- a/data/tests/Makefile.am
+++ b/data/tests/Makefile.am
@@ -7,6 +7,7 @@ test_files = \
app-1-1.fc21.x86_64.rpm \
app-extra-1-1.fc21.noarch.rpm \
broken.appdata.xml \
+ broken.metainfo.xml \
example.appdata.xml \
example.desktop \
example.metainfo.xml \
diff --git a/data/tests/broken.metainfo.xml b/data/tests/broken.metainfo.xml
new file mode 100644
index 0000000..5e565b6
--- /dev/null
+++ b/data/tests/broken.metainfo.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
+<component type="addon">
+ <id>gedit-code-assistance</id>
+ <pkgname>gedit-code-assistance</pkgname>
+</component>