summaryrefslogtreecommitdiff
path: root/sw/qa/extras/htmlexport
AgeCommit message (Collapse)AuthorFilesLines
2014-05-15sw html test: missed one class name at renamingTomaž Vajngerl1-1/+1
Change-Id: I614bbda7b796a4bd57d9511a9dc68beafa398b38
2014-05-15sw test: HtmlExportTest - assert pDoc exists, rename classTomaž Vajngerl1-15/+13
Change-Id: I5e17b8636236c2a0f78df80c36d82a3ba16a1c5f
2014-04-29tests: add XML and HTML test tools to test moduleTomaž Vajngerl1-18/+4
XML and HTML parsing and XPath asserts are used by many test in sw, sc and sd modules. This commit moves this functionallity to test module, where it is available to all modules. Change-Id: I53ad9c45b24f4c9bf106cb58ea619002968bfeda
2014-04-09html export: Simplify & speed-up the test.Jan Holesovsky1-11/+9
Change-Id: I619e4441898fe10e319d9f95413f078003364579
2014-04-08sw html: Add missing textAndImage.docx document..Tomaž Vajngerl1-0/+0
Change-Id: I0dc99a17625101673281403c3000d3293782b05d
2014-04-08sw html: HTML export test - option with or without "skipImages"Tomaž Vajngerl1-7/+56
Additionally add loading of HTML document and parsing the document with libxml - to be able to assert with xpath expression. Change-Id: I7c62082a124c3705626cd76c8a4cdabc16372399
2013-11-15CppunitTest_sw_htmlexport: check for nullptrMiklos Vajna1-2/+2
I couldn't reproduce this one, but JBFaure says on IRC it helps in his case. Change-Id: Ib0a22996bdfc758326c4910b5b652f0772c08912
2013-11-13Make CppunitTest_sw_htmlexport use DECLARE_SW_ROUNDTRIP_TEST()Miklos Vajna1-33/+35
Change-Id: Idc524ce084e117a9cfe816e5012ef33ea774fef6
2013-11-12CppunitTest_sw_htmlexport: make this really test the exported modelMiklos Vajna1-2/+16
There were two problems here: 1) The original testsuite just served as a crash-test for the HTML export filter, but the second testcase assumed it also reloads the document model. Once this is fixed, we notice that: 2) There are some nasty 'mm100 <-> in' rounding errors, work this around by using cms unconditionally. (Exact problem was that CharTopBorderDistance was 457, but was expected to be 450.) Change-Id: Iaa1f98486767e4dfa81c2ca3e456bc39131977eb
2013-09-10Improve border equal check in filter tests 2.Zolnai Tamás1-12/+4
Change the order of words BORDER and EQUAL in the macro name to become consistent with other macro names. e.g. CPPUNIT_ASSERT_DOUBLES_EQUAL Use a function inside the macro to make it type safe. Add additional message to make clear why the test failed. Change-Id: I9fc7a5813adf2cac36ae831d438cec498232b06c Reviewed-on: https://gerrit.libreoffice.org/5885 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-09Use hex color code in character border filter testsZolnai Tamás1-7/+7
Change-Id: I19bd1cbedd42101186fd4afbcd7af9afb630f857
2013-09-08CharBrd 9.1: HTML filtersZolnai Tamás2-0/+33
-I don't implement shadow because HTML filter use css1 attributes and there isn't box-shadow in css1. -Border merge: skip span open and close tags to get the right result. Change-Id: I17edc2e1cc42359b5f1721b8891350c528c7793e
2013-04-30fdo#62336 - unit test for conversion failure.Michael Meeks2-0/+56
Turns out this depends on not doing layout, and so is a real corner-case. Change-Id: If9d2db6b1a0df94fc809fb353f2dbf2cf9ac1c9a