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@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
This commit is contained in:
Miklos Vajna
2017-09-27 12:07:02 +02:00
parent c2999602e2
commit 3d3643491c
2 changed files with 4 additions and 0 deletions

View File

@@ -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()

View File

@@ -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>