[Libreoffice-commits] core.git: writerperfect/qa
Miklos Vajna
vmiklos at collabora.co.uk
Wed Sep 27 12:22:46 UTC 2017
writerperfect/qa/unit/EPUBExportTest.cxx | 2 ++
writerperfect/qa/unit/data/writer/epubexport/meta.fodt | 2 ++
2 files changed, 4 insertions(+)
New commits:
commit 3d3643491c9b3af082103bbd6bd18994d24cc568
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Wed Sep 27 12:07:02 2017 +0200
EPUB export: improve metadata tests
This was the last uncovered piece in the ODF -> librevenge converter
part.
Change-Id: Ie9482f30c873deb3ddd601e1183b66706e913f14
Reviewed-on: https://gerrit.libreoffice.org/42848
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/writerperfect/qa/unit/EPUBExportTest.cxx b/writerperfect/qa/unit/EPUBExportTest.cxx
index d79a196c7863..374d9f730c23 100644
--- a/writerperfect/qa/unit/EPUBExportTest.cxx
+++ b/writerperfect/qa/unit/EPUBExportTest.cxx
@@ -292,6 +292,8 @@ void EPUBExportTest::testMeta()
// This was "Unknown Author", <meta:initial-creator> was not handled.
assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:creator", "A U Thor");
assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:title", "Title");
+ assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:language", "hu");
+ assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/opf:meta[@property='dcterms:modified']", "2017-09-27T09:51:19Z");
}
void EPUBExportTest::testParaNamedstyle()
diff --git a/writerperfect/qa/unit/data/writer/epubexport/meta.fodt b/writerperfect/qa/unit/data/writer/epubexport/meta.fodt
index 4e46fe79fcda..8b1af3e44f5a 100644
--- a/writerperfect/qa/unit/data/writer/epubexport/meta.fodt
+++ b/writerperfect/qa/unit/data/writer/epubexport/meta.fodt
@@ -3,6 +3,8 @@
<office:meta>
<meta:initial-creator>A U Thor</meta:initial-creator>
<dc:title>Title</dc:title>
+ <dc:language>hu</dc:language>
+ <dc:date>2017-09-27T09:51:19.243117081</dc:date>
</office:meta>
<office:body>
<office:text>
More information about the Libreoffice-commits
mailing list