summaryrefslogtreecommitdiff
path: root/src/test/importtest.cpp
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-12-30 22:18:33 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-12-30 22:22:36 +0100
commit86ad7206b1d617817ac8699db740b613f3ed19a2 (patch)
tree0d871eba39234d7626d81737426ff7081892ddc5 /src/test/importtest.cpp
parent9cbe861b8f5e53a0aa83b863b1bf42224139dcfc (diff)
VSD: Visio doesn't write separate author and last modifier fields
So author always equals to the last modifier. This is consistent with how the single timestamp is imported both as a creation and modification time, too. Change-Id: I65233316f412166dfd82c720c830cf625e1275b5
Diffstat (limited to 'src/test/importtest.cpp')
-rw-r--r--src/test/importtest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/importtest.cpp b/src/test/importtest.cpp
index a69bcef..85a7175 100644
--- a/src/test/importtest.cpp
+++ b/src/test/importtest.cpp
@@ -158,6 +158,8 @@ void ImportTest::testVsdMetadataTitleMs1252()
assertXPath(m_doc, "/document/setDocumentMetaData", "subject", "mysubject");
assertXPath(m_doc, "/document/setDocumentMetaData", "initial-creator", "vmiklos creator");
+ // There is only one author/last-modifier field in the file, so make sure creator is the same as initial-creator.
+ assertXPath(m_doc, "/document/setDocumentMetaData", "creator", "vmiklos creator");
assertXPath(m_doc, "/document/setDocumentMetaData", "keyword", "mytag");
assertXPath(m_doc, "/document/setDocumentMetaData", "description", "mycomment");
}