summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-12-23 18:41:28 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-12-23 18:41:29 +0100
commit29dfeb9aee67f287a2c58c52084dca755e401df2 (patch)
tree425cb9fb5913c7ad4fd97e05a0415f0a18b0b7a9 /src/test
parente6a780adb90eb5122f03d4baeae3990972304bf5 (diff)
VSD: import subject
Change-Id: I6b28cf0570ead1c7acf8b6b8354f23945ca0fdd0
Diffstat (limited to 'src/test')
-rw-r--r--src/test/data/fdo86729-ms1252.vsdbin39936 -> 39936 bytes
-rw-r--r--src/test/importtest.cpp2
2 files changed, 2 insertions, 0 deletions
diff --git a/src/test/data/fdo86729-ms1252.vsd b/src/test/data/fdo86729-ms1252.vsd
index d459406..e5fb12e 100644
--- a/src/test/data/fdo86729-ms1252.vsd
+++ b/src/test/data/fdo86729-ms1252.vsd
Binary files differ
diff --git a/src/test/importtest.cpp b/src/test/importtest.cpp
index 00ee34e..b98269a 100644
--- a/src/test/importtest.cpp
+++ b/src/test/importtest.cpp
@@ -151,6 +151,8 @@ void ImportTest::testVsdMetadataTitleMs1252()
m_doc = parse("fdo86729-ms1252.vsd", m_buffer);
// Test windows-1252 -> UTF-8 conversion, provided by ICU.
assertXPath(m_doc, "/document/setDocumentMetaData", "title", "mytitle\xC3\xA9\xC3\xA1");
+
+ assertXPath(m_doc, "/document/setDocumentMetaData", "subject", "mysubject");
}
void ImportTest::testVsdMetadataTitleUtf8()