summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Figuière <hub@figuiere.net>2016-02-15 00:39:58 -0500
committerHubert Figuière <hub@figuiere.net>2016-02-15 00:41:07 -0500
commitef048611ca2b2d00649c3a236fa6a3c5477e7e8f (patch)
tree04c39e6889556db75f65c368cbb6135b032093c7
parent16134b7f561729f45f138f34b3b09be67c6a2e5a (diff)
Bug 94065 - Part 5: make sure PDF handler status is consitent to what we expect.
-rw-r--r--exempi/tests/test-xmpfiles.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/exempi/tests/test-xmpfiles.cpp b/exempi/tests/test-xmpfiles.cpp
index 9ed5b4b..35cad6f 100644
--- a/exempi/tests/test-xmpfiles.cpp
+++ b/exempi/tests/test-xmpfiles.cpp
@@ -118,6 +118,8 @@ int test_main(int argc, char * argv[])
BOOST_CHECK(formatOptions == 0x46b);
BOOST_CHECK(xmp_files_get_format_info(XMP_FT_PNG, &formatOptions));
BOOST_CHECK(formatOptions == 0x46b);
+ // PDF doesn't have a smart handler.
+ BOOST_CHECK(!xmp_files_get_format_info(XMP_FT_PDF, &formatOptions));
xmp_terminate();