summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-self-test.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-03-31 17:20:03 +0100
committerRichard Hughes <richard@hughsie.com>2016-03-31 17:20:03 +0100
commit74a51424283b3176bb6708b9eb6cad045dcaa2c3 (patch)
treef6654b6ba5bc538d0bb2b7fd57a75ac67ce195af /libappstream-builder/asb-self-test.c
parent92d9abf5538e738c08b441153382693a4907b577 (diff)
downloadappstream-glib-74a51424283b3176bb6708b9eb6cad045dcaa2c3.tar.gz
Use a wildcard for the font preview checksum
Diffstat (limited to 'libappstream-builder/asb-self-test.c')
-rw-r--r--libappstream-builder/asb-self-test.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libappstream-builder/asb-self-test.c b/libappstream-builder/asb-self-test.c
index f37b39d..045f6d5 100644
--- a/libappstream-builder/asb-self-test.c
+++ b/libappstream-builder/asb-self-test.c
@@ -54,6 +54,7 @@ asb_test_get_filename (const gchar *filename)
}
#define AS_TEST_WILDCARD_SHA1 "\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?"
+#define AS_TEST_WILDCARD_MD5 "\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?"
/**
* asb_test_compare_lines:
@@ -450,11 +451,11 @@ asb_test_context_test_func (AsbTestContextMode mode)
"<screenshots>\n"
"<screenshot type=\"default\">\n"
"<caption>Liberation Serif – Regular</caption>\n"
- "<image type=\"source\" height=\"48\" width=\"640\">file:/LiberationSerif-85c191549daefb8f3b6cdb4d3d6d8597.png</image>\n"
+ "<image type=\"source\" height=\"48\" width=\"640\">file:/LiberationSerif-" AS_TEST_WILDCARD_MD5 ".png</image>\n"
"</screenshot>\n"
"<screenshot priority=\"-32\">\n"
"<caption>Liberation Serif – Bold</caption>\n"
- "<image type=\"source\" height=\"48\" width=\"640\">file:/LiberationSerif-660e7a5a60fdeb133d3e8b24e2766f2e.png</image>\n"
+ "<image type=\"source\" height=\"48\" width=\"640\">file:/LiberationSerif-" AS_TEST_WILDCARD_MD5 ".png</image>\n"
"</screenshot>\n"
"</screenshots>\n"
"<releases>\n"
@@ -609,11 +610,11 @@ asb_test_context_test_func (AsbTestContextMode mode)
"<screenshots>\n"
"<screenshot type=\"default\">\n"
"<caption>Liberation Serif – Regular</caption>\n"
- "<image type=\"source\" height=\"48\" width=\"640\">file:/LiberationSerif-85c191549daefb8f3b6cdb4d3d6d8597.png</image>\n"
+ "<image type=\"source\" height=\"48\" width=\"640\">file:/LiberationSerif-" AS_TEST_WILDCARD_MD5 ".png</image>\n"
"</screenshot>\n"
"<screenshot priority=\"-32\">\n"
"<caption>Liberation Serif – Bold</caption>\n"
- "<image type=\"source\" height=\"48\" width=\"640\">file:/LiberationSerif-660e7a5a60fdeb133d3e8b24e2766f2e.png</image>\n"
+ "<image type=\"source\" height=\"48\" width=\"640\">file:/LiberationSerif-" AS_TEST_WILDCARD_MD5 ".png</image>\n"
"</screenshot>\n"
"</screenshots>\n"
"<releases>\n"