summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-03-21 20:28:50 +0000
committerRichard Hughes <richard@hughsie.com>2014-08-20 10:01:26 +0100
commitc63ae20cbbfe7e241fca2775f4df05da85335d13 (patch)
treee8f3a00955a29eb6ad285b2d6bf93bdb06c73601 /data
parent451a7489300e19221bb5bed6da182839e2e3ad69 (diff)
downloadappstream-glib-c63ae20cbbfe7e241fca2775f4df05da85335d13.tar.gz
Use libyaml to read DEP-11 metadata
This is optional, but enabled by default. Use --disable-dep11 to remove the libyaml dependancy.
Diffstat (limited to 'data')
-rw-r--r--data/tests/Makefile.am2
-rw-r--r--data/tests/example-v06.yml.gzbin0 -> 55531 bytes
-rw-r--r--data/tests/example.yml31
3 files changed, 33 insertions, 0 deletions
diff --git a/data/tests/Makefile.am b/data/tests/Makefile.am
index e1b8878..ff6a4db 100644
--- a/data/tests/Makefile.am
+++ b/data/tests/Makefile.am
@@ -14,6 +14,8 @@ test_files = \
example.desktop \
example.metainfo.xml \
example-v04.xml.gz \
+ example-v06.yml.gz \
+ example.yml \
intltool.appdata.xml.in \
origin.xml \
settings-panel.desktop \
diff --git a/data/tests/example-v06.yml.gz b/data/tests/example-v06.yml.gz
new file mode 100644
index 0000000..d8861e9
--- /dev/null
+++ b/data/tests/example-v06.yml.gz
Binary files differ
diff --git a/data/tests/example.yml b/data/tests/example.yml
new file mode 100644
index 0000000..3baa476
--- /dev/null
+++ b/data/tests/example.yml
@@ -0,0 +1,31 @@
+---
+File: DEP-11
+Origin: aequorea
+Version: '0.6'
+---
+Type: desktop-app
+ID: iceweasel.desktop
+Name:
+ C: Iceweasel
+Packages:
+ - iceweasel
+Icon:
+ cached: iceweasel.png
+Keywords:
+ C:
+ - browser
+Screenshots:
+ - default: true
+ source-image:
+ height: 770
+ url: http://localhost/source/screenshot.png
+ width: 1026
+ thumbnails:
+ - height: 423
+ url: http://localhost/752x423/screenshot.png
+ width: 752
+---
+Type: desktop-app
+ID: dave.desktop
+Name:
+ C: dave