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:
@@ -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()
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user