summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-self-test.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-10-01 21:05:44 +0100
committerRichard Hughes <richard@hughsie.com>2014-10-01 21:06:34 +0100
commit96fdad0fd707381308d3ad31216d2748591d1781 (patch)
tree9d24b7b1792411db75333b29242ce7a7891db66e /libappstream-builder/asb-self-test.c
parent28ddfdbe3a597c76c1b98a278a42bbf25c66e9b5 (diff)
downloadappstream-glib-96fdad0fd707381308d3ad31216d2748591d1781.tar.gz
Include the icon path in the <icon> data
This allows us to avoid one stat() when loading the icon data, and also allows us to check the icons using a unique key.
Diffstat (limited to 'libappstream-builder/asb-self-test.c')
-rw-r--r--libappstream-builder/asb-self-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libappstream-builder/asb-self-test.c b/libappstream-builder/asb-self-test.c
index 7ed9dff..5f130f3 100644
--- a/libappstream-builder/asb-self-test.c
+++ b/libappstream-builder/asb-self-test.c
@@ -359,7 +359,7 @@ asb_test_context_test_func (AsbTestContextMode mode)
"<name>App</name>\n"
"<summary>A test application</summary>\n"
"<description><p>Long description goes here.</p></description>\n"
- "<icon height=\"64\" width=\"64\" type=\"cached\">app.png</icon>\n"
+ "<icon height=\"64\" width=\"64\" type=\"cached\">64x64/app.png</icon>\n"
"<categories>\n"
"<category>Profiling</category>\n"
"<category>System</category>\n"
@@ -439,7 +439,7 @@ asb_test_context_test_func (AsbTestContextMode mode)
"<source_pkgname>app</source_pkgname>\n"
"<name>Console1</name>\n"
"<summary>A console1 test application</summary>\n"
- "<icon height=\"64\" width=\"64\" type=\"cached\">console1.png</icon>\n"
+ "<icon height=\"64\" width=\"64\" type=\"cached\">64x64/console1.png</icon>\n"
"<categories>\n"
"<category>ConsoleOnly</category>\n"
"</categories>\n"
@@ -466,7 +466,7 @@ asb_test_context_test_func (AsbTestContextMode mode)
"<source_pkgname>app</source_pkgname>\n"
"<name>Console2</name>\n"
"<summary>A console2 test application</summary>\n"
- "<icon height=\"64\" width=\"64\" type=\"cached\">console2.png</icon>\n"
+ "<icon height=\"64\" width=\"64\" type=\"cached\">64x64/console2.png</icon>\n"
"<categories>\n"
"<category>ConsoleOnly</category>\n"
"</categories>\n"