diff options
author | Richard Hughes <richard@hughsie.com> | 2014-08-14 13:32:37 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-08-14 13:32:37 +0100 |
commit | e687cf0dc59d9da5b74f701799779a9167d75f16 (patch) | |
tree | 702f95fd58ec20acbcd3e71824aa9a3a8dbb4b5f /data/tests | |
parent | eef76aba6b6d02029c9614818e2150363a39485c (diff) | |
download | appstream-glib-e687cf0dc59d9da5b74f701799779a9167d75f16.tar.gz |
Add some validation rules for metainfo files
Diffstat (limited to 'data/tests')
-rw-r--r-- | data/tests/Makefile.am | 1 | ||||
-rw-r--r-- | data/tests/broken.metainfo.xml | 6 |
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> |