summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-12-20 12:48:25 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-12-20 12:48:25 +0100
commit9f3264e596c9ffb9d690e69cfe8c86bc103885b1 (patch)
tree8fdce8aef862251969fb3181e58109efc1eb84f7 /src
parentfa2420cddb9945caa7696cb394cec624f35c3782 (diff)
VSD: test Creation/ModifiedTime import
Change-Id: I5e0726cf8fecd7ec88beb4f338b3fad5c656fb5c
Diffstat (limited to 'src')
-rw-r--r--src/test/importtest.cpp3
1 files changed, 3 insertions, 0 deletions
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);