[Libreoffice-commits] libvisio.git: src/test
Miklos Vajna
vmiklos at collabora.co.uk
Sat Dec 20 03:50:10 PST 2014
src/test/importtest.cpp | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 9f3264e596c9ffb9d690e69cfe8c86bc103885b1
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Sat Dec 20 12:48:25 2014 +0100
VSD: test Creation/ModifiedTime import
Change-Id: I5e0726cf8fecd7ec88beb4f338b3fad5c656fb5c
diff --git a/src/test/importtest.cpp b/src/test/importtest.cpp
index 445bfe8..0e83ed2 100644
--- a/src/test/importtest.cpp
+++ b/src/test/importtest.cpp
@@ -157,6 +157,9 @@ void ImportTest::testVsdMetadataTitleUtf8()
m_doc = parse("fdo86729-utf8.vsd", m_buffer);
// Test the case when the string is UTF-8 encoded already in the file.
assertXPath(m_doc, "/document/setDocumentMetaData", "title", "mytitle\xC3\xA9\xC3\xA1\xC5\x91\xC5\xB1");
+ // Test <dcterms:created> and <dcterms:modified>.
+ assertXPath(m_doc, "/document/setDocumentMetaData", "creation-date", "2014-11-26T09:24:56Z");
+ assertXPath(m_doc, "/document/setDocumentMetaData", "date", "2014-11-26T09:24:56Z");
}
CPPUNIT_TEST_SUITE_REGISTRATION(ImportTest);
More information about the Libreoffice-commits
mailing list