path: root/sw/qa/extras/inc
AgeCommit message (Collapse)AuthorFilesLines
2014-03-08add disabled support for export validation in writer testsMarkus Mohrhard1-1/+13
Still too many validation errors to enable it. Change-Id: I45830f6cff8ef52bc63fdda61a99985f4f7d242a
2014-03-05sw tests: Fix description of the new assertXPathContent() and use it broadly.Jan Holesovsky1-7/+6
Change-Id: I3c8d5e491fcf9f871d72fb2d138bb7094ff69746
2014-03-05fdo#73596 Added support to import and export \r,\h Index flags.Nikhil Walvekar1-0/+17
This supports \r flag run-in type index. If \r is specified then we don't have to write \e flag (separator char). \h is Alphabetic separator, where indexes are grouped as per starting character. Change-Id: I690b29cef3d24b2a71b01f1deef0e418162d71aa Reviewed-on: Reviewed-by: Miklos Vajna <> Tested-by: Miklos Vajna <>
2014-02-27Remove visual noise from swAlexander Wilms1-1/+0
Conflicts: sw/inc/unodraw.hxx sw/inc/unoframe.hxx sw/sdi/swriter.sdi sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unoparagraph.cxx sw/source/filter/ww8/rtfexportfilter.cxx sw/source/ui/inc/unotxvw.hxx sw/source/ui/lingu/hyp.cxx sw/source/ui/lingu/sdrhhcwrap.cxx sw/source/ui/uno/swdetect.hxx Change-Id: Ic0a3fb2392187c277c9b36915ffb10dcf0317908 Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2014-02-26CppunitTest_sw_ooxmlexport: factor out drawing-related testcasesMiklos Vajna1-0/+129
As a start, moved 30 asserts to the new suite, still 378 is in the original one. Change-Id: I934bce63e286af3080ae014c3bd8f4f09866feb2
2014-02-06DOCX export: write wp14:sizeRelH and wp14:sizeRelV for Writer TextFramesMiklos Vajna1-0/+9
Change-Id: I16ee2682b6fa8c7b194e442d6dbe1437e7743c60
2013-12-20typo fixesAndras Timar1-1/+1
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-05DOCX import: declare wpg as a supported featureMiklos Vajna1-1/+3
This is the same as wps, just for group shapes. Change-Id: I321b19ed538a6cb8f9068c7de6fbe9a8eb0bd82f
2013-12-03sw unit tests: Introduce hasProperty(), make the redlining check more elegant.Jan Holesovsky1-0/+6
Change-Id: I123bdfd7f21b78cbee6db2ceb9b98c2e473415d1
2013-11-28SwModelTestBase: write csv output to stdoutMiklos Vajna1-3/+3
This way a 2>/dev/null output still gives a csv, even if there were various other warnings in the meantime. Change-Id: I6ed3de4058c829e856286c7d484d6ed436c362a4
2013-11-19CppunitTest_sw_ooxmlexport: speed this up a bitMiklos Vajna1-5/+11
We don't have too much testcases where we assert directly the resulting zipped XML files, but where we did, we actully invoked filter() 5 times, even if 3 times is enough, fix this. That causes the testcase to run in 1m24.754s (previously it was 1m30.278s). Additionally, at one case the XML result is an expected one, having matching testcase and manual results is always good. Change-Id: Ie905002b113bc84f1e517c35f14739f423fd8ea2
2013-11-13Make CppunitTest_sw_htmlexport use DECLARE_SW_ROUNDTRIP_TEST()Miklos Vajna1-5/+16
Change-Id: Idc524ce084e117a9cfe816e5012ef33ea774fef6
2013-11-04Make CppunitTest_sw_rtfimport use DECLARE_SW_IMPORT_TEST()Miklos Vajna1-0/+15
Change-Id: I670e0460f15951f99f0f750d2798c771f64c3095
2013-10-31sw/qa: 1 individual unit test per filter (import/export) testPierre-Eric Pelloux-Prayer1-4/+99
The goal is to have clearer failure message by distinguishing failures (only import, import and export, only export). Change-Id: Ic4fc5f7bfd7c9ddb0705597c3fb994e41d04b5ba Reviewed-on: Tested-by: LibreOffice gerrit bot <> Reviewed-by: Norbert Thiebaud <> Tested-by: Norbert Thiebaud <>
2013-10-10Minor improvementsStephan Bergmann1-4/+4
Change-Id: I1dfe57368f438087d6e6131d36128db4438792eb
2013-10-02WaE: unused variableTor Lillqvist1-1/+0
Change-Id: I3c5d542ef57afba0d6e308e033bf179af4216975
2013-09-15CharBrd 10: Some documentationZolnai Tamás1-0/+10
Change-Id: I4c6c2cd4acf8ae4a759a662f92066ad63df74b3c
2013-09-10Improve border equal check in filter tests 2.Zolnai Tamás1-7/+15
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: Reviewed-by: Miklos Vajna <> Tested-by: Miklos Vajna <>
2013-09-08Improve border equal check in filter testsZolnai Tamás1-15/+7
With macro the error message will point to the right line. Check padding distinct. Change-Id: Id09fbf65350a7a3708923eb07d673068c2943b50
2013-08-27Reduce copy&paste by adding SwModelTestBase::getShape()Miklos Vajna1-0/+9
Change-Id: I3b73405c546427bb5676db30e297af36c18043e6
2013-08-18CharBrd 8.2: Tests for UNO API and ODF filterZolnai Tamás1-0/+27
Use just those API tests which still alive. Export filter test use import so no need for distinct import tests. Change-Id: Idddc2ece10e20027551538f4e8c224edffa9bfe8
2013-06-16SwModelTestBase: fix for leaking temporary filesMiklos Vajna1-0/+2
This alone pushes down the number of created /tmp/lu* from 527 to 2 after a single run. Regression from 9b53538a076a2370df975655c8579dfe09cff09b. Change-Id: I5ea2e3da0b89223fb32469af3d59a2a3b246d00f Helped-by: Markus Mohrhard <>
2013-05-23SwModelTestBase: avoid not needed SAL_PRIuUINT32Miklos Vajna1-3/+3
Change-Id: Id3aa47866fb753fb6a08d9dfcfb0ecb34d4a4770
2013-05-13bnc#816603 testcaseMiklos Vajna1-0/+12
Make sure that at least full-page-width multi-page floating tables are imported on multiple pages. Change-Id: Ifb974d50c50b1495634ac2652a3ae46235bb5f52
2013-04-30fdo#62336 - unit test for conversion failure.Michael Meeks1-2/+4
Turns out this depends on not doing layout, and so is a real corner-case. Change-Id: If9d2db6b1a0df94fc809fb353f2dbf2cf9ac1c9a
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-23/+4
2013-04-26SwModelTestBase: add save(), next to load() and reload()Miklos Vajna1-0/+11
Change-Id: I15405dd6be64da689257aed50ba847f3741df3a1
2013-04-24add comment to the right function (result of mismerge?)Luboš Luňák1-1/+1
Change-Id: I8574e679f6f4ef252ba0eda025b1991bc3e93df4
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-23/+4
2013-04-18fdo#63023 incorrect RTF background color in headerMiklos Vajna1-3/+15
Change-Id: I33f5c8a856206860ac9cdb23dd6b5222cb785bf7
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-1/+1
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-02-18fdo#60842: add a unit testMichael Stahl1-5/+33
Change-Id: Ie91fe22f2baf0a280e5cf21c2416228ab414f285
2013-02-05Pass DocumentService to the loader during macro tests.Kohei Yoshida1-2/+2
And disable user interaction during type detection, since that would cause the test to fail. With this change, 'make check' works once again. Change-Id: I2f45a2e962e45ee64f7984e794cff814fbfe6dab
2013-01-16sw unit test: force layout compute after loading documentPierre-Eric Pelloux-Prayer1-1/+9
Change-Id: I35173bbc2a4e33dfee555aa71f053e219ef01d1e
2013-01-11sw unit test: add call to CalcLayout before using the layoutPierre-Eric Pelloux-Prayer1-0/+1
Change-Id: Ibb3f8175729cb579a687275a11884c397152fe94 Reviewed-on: Reviewed-by: Noel Power <> Tested-by: Noel Power <>
2013-01-11sw unit test: layout dump must be resetted in 'reload' methodPierre-Eric Pelloux-Prayer1-0/+5
Otherwise tests relying on layout dumps will parse the wrong dump. Change-Id: Ib7b4bc3a231eb3082567a1d1ed38c96835d43add Reviewed-on: Reviewed-by: Noel Power <> Tested-by: Noel Power <>
2013-01-08SwModelTestBase: clear layout dump cache after testing a documentMiklos Vajna1-2/+5
2012-12-21sw: add csv output for extra filter testsMiklos Vajna1-0/+35
Like the minimal filter tests, these tests are invoked from a single cppunit method since commit 0a30cb22a141c26b4eab43a478d32df0769596ec, so some info about exactly what file failed is necessary. If we are at it, also print the (re)loading time as well.
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin1-2/+3
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-11-26sw/qa/extras: default style change name changedMiklos Vajna1-0/+2
Regression from 2e4f4171d6a29858108922619d680606b633d8f2. Change-Id: Iaaf1cf180458e9b745875aae457e1e3355566385
2012-11-18sw: move swmodeltestbase.hxx to qa/extras/inc/Miklos Vajna1-0/+238
If we already have such an include dir, let's have all headers there. Change-Id: I2100b5308e7fdad9d98cfde76434ff485aca20c7
2012-09-26sw: remove unneeded using statements in qa/extrasMiklos Vajna1-5/+3
Change-Id: I23b77b9c8d245d84a045bdedda1584419f4fddda
2012-08-15moved my border test to odfimportArtur Dorda1-190/+0
Change-Id: Iafab67a2e1f75f754be99a98f8e573ad07847463
2012-08-15Added new border test in Writer, checks all the borders, not only the top oneArtur Dorda1-0/+190
Change-Id: Ibbbd5043e89104de4b91425b4972920e8c51cdca
2012-08-15Refactoring the border test in sw, one header will be in all 3 testsArtur Dorda1-0/+188
Change-Id: I007019738c901e0194006ae34e7e5b99f72ee91d