diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-12 09:05:20 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-12 09:05:21 +0100 |
commit | c31e6cf3618f40ab4d1ec655e4e6f7c7590834ab (patch) | |
tree | ebce4197559492a7eccf928c1c0b6793a81888a7 /src/test/importtest.cpp | |
parent | abdc998562acac7174ac8f83935404456109a141 (diff) |
VSDX: test import of <dcterms:created> and <dcterms:modified>
Change-Id: I78e6cc1811a2f0815f27d8780cf5f96208115b24
Diffstat (limited to 'src/test/importtest.cpp')
-rw-r--r-- | src/test/importtest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/importtest.cpp b/src/test/importtest.cpp index 1560fef..d9100bc 100644 --- a/src/test/importtest.cpp +++ b/src/test/importtest.cpp @@ -136,6 +136,9 @@ void ImportTest::testVsdxMetadataTitle() m_doc = parse("fdo86664.vsdx", m_buffer); // The setDocumentMetaData() call was missing, so the node did not exist. assertXPath(m_doc, "/document/setDocumentMetaData", "title", "mytitle"); + // Test <dcterms:created> and <dcterms:modified>. + assertXPath(m_doc, "/document/setDocumentMetaData", "creation-date", "2014-11-24T10:35:17Z"); + assertXPath(m_doc, "/document/setDocumentMetaData", "date", "2014-11-24T10:41:22Z"); } CPPUNIT_TEST_SUITE_REGISTRATION(ImportTest); |