summaryrefslogtreecommitdiff
path: root/sw/Module_sw.mk
AgeCommit message (Collapse)Author
2017-05-10sw txt export: Greatly improve the export of bullets & numbering.Jan Holesovsky
Includes unit testing infrastructure for .txt export too + the actual unit test. Change-Id: I19a32955bbc9b97449b4240917fe2505bc3dd54c Reviewed-on: https://gerrit.libreoffice.org/37295 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-05-02disable the tiledrendering tests in the headless build modeMarkus Mohrhard
This was pointed out by the Random Config tb. Change-Id: I8a4f70d6661178f2671e4e3588f5873c64885c07 Reviewed-on: https://gerrit.libreoffice.org/37175 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-18sw: roundtrip test of OOXML decryption/encryptionTomaž Vajngerl
Change-Id: Idea2a46a692aed666eb8dbc6185ae001d30757c2 Reviewed-on: https://gerrit.libreoffice.org/33228 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-12-30Workaround strange sw test makefilesMatúš Kukan
Include ooxmlexport_setup.mk only once in Module_sw.mk, so that gbuildtojson can properly set last included makefile for test jsons. Change-Id: Ie8ed3296ae97cf4a33d652599673f389b224993e Reviewed-on: https://gerrit.libreoffice.org/32502 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2016-11-21split sw screenshots testNorbert Thiebaud
Change-Id: I32e6f1e11f9e245f8b67fa21799b1927bb209a0d Reviewed-on: https://gerrit.libreoffice.org/31030 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-10-24tdf#89377 ww8import: table honors ParaStyle break-before-pageJustin Luth
MS Word can page-break inside a table at any row (using paragraph styles from the first column). Thus a table can be split across many pages. Writer can't because it ignores all page-breaks while inside a table, although the entire table itself can specify starting on a new page. This imported .doc patch checks to see if the very first paragraph style in a table is set with a page-break, and if so, then transfers that setting to the table itself. That at least mimics the most common layout scenario. Change-Id: Ifcf720e357fdf433c225234aae8e3838f1416422 Reviewed-on: https://gerrit.libreoffice.org/30127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-11move round-tripables to ooxmlexportJustin Luth
This serves two purposes. It helps to prevent regressions and it allows focus on features that still don't export properly. The standard .mk file had trouble on the Mac, so I ended up copying ooxmlimport.mk instead of trying to tweak the export template. The huge section of tests excluded from Win32 testing is still excluded here. The ole-anchor test works as export in the import code, but didn't work from the ooxmlexport directory, so left that one as import only. Change-Id: I9d72202c577940ba94855096c5a11d4dec4790a5 Reviewed-on: https://gerrit.libreoffice.org/29588 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
2016-08-18screenshots: add new global make targetArmin Le Grand
Up to now the screenshot creation was added/dependent of target slowcheck. Since quite some modules have added screenshot creations now, I added an own target 'screenshot' to allow to keep current slowcheck and screenshot creation separated Change-Id: I80a49a0db607edf8e0405672d570f624d29912e7
2016-08-18screenshots: unify dumping of dialog test batch fileArmin Le Grand
Change-Id: Ia1e79216d9537c65f8b7362778a2e1ad3ec6c2c2
2016-08-18screenshots: add dialog test cases for writerArmin Le Grand
Writer has currently no known dialogs that get created with an opened writer document. There are some ui files that do not work with fallback (7), but most work (167). Not all look good, though. Change-Id: I92a6a5077e3a8c93148e162455093399ba1f99ed
2015-11-14CppunitTest_sw_tiledrendering: replace various ifdefs with a single conditionMiklos Vajna
LOK is Linux-only at the moment, don't bother with disabling each and every unit test on Mac/Windows for now. Change-Id: I2ff1ed47251c16ec6a8d43138789480d95ea720e
2015-05-29split sw unoapi test for performanceBjoern Michaelsen
- test previously took 3m35s here - slowest part is now 70s Change-Id: I4a3e03cf6ef014ad60ecf6897b7395a680c33460 Reviewed-on: https://gerrit.libreoffice.org/15957 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-05-21unit test for tdf#91095Laurent Godard
and ready for any docbook export tests Change-Id: Ia1c7a5066fc72c502c3b0ebb5811910797943742 Reviewed-on: https://gerrit.libreoffice.org/15653 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-04-27CppunitTest_sw_ooxmlsdrexport: split into two partsMiklos Vajna
Change-Id: I8af572c43542c384718c8f9c75749d2f3cb35cac
2015-03-24Executable_tiledrendering is obsolete and can be killedTor Lillqvist
Change-Id: I4159adb321a939126a0577a48e5917be5825557e
2015-03-16Add testcase for SwXTextDocument::resetSelection().Miklos Vajna
Change-Id: Idc97ebfe3db27ac52c1c6b16177f08118a750e69
2015-02-21Disable more tests with _use_library_objects for mergelibsMatúš Kukan
Change-Id: Iad803091864fb1a1a974df7c8eea6dba566d186c
2015-02-07Fixup --without-x buildRiccardo Magliocchetti
Accept gl linkage in hope of future offscreen mesa support. Avoid linking with GLX though. Change-Id: I4e666f60e74fe34075a8da9eeba95807cf8fe38c Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/13452 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-12-10fdo#80403: Writer specific AutoCorr use FastParserDaniel Sikeler
Contextclasses implement XFastContextHandler Importclasses implement XFastDocumentHandler Tokens for BlockList.xml are defined in BlockListTokens.txt Tokens for content.xml are defined in TextBlockTokens.txt A perfect hash table is generated with gperf and used by the tokenhandlers This is corrected version of c1e90457d2ecc6e1171b7a296ab8bd05821e39e6 (Also pushing again follow-up c940d4d30673dc02ea34b5e60a4a8140648a0dba "loplugin:saloverride" and 5f0f3d4e91e9eb1d1f60b0cd073e7bbd8ea38c29 "Work around -Werror,-Wdeprecated-register") The commits were reverted in 7ef4457b9fc06b5c25c607d7e0149f45c7015b10 Change-Id: I08cd852fa751f98fd0ac6a55dda22f82a869b4d8
2014-12-05Revert "fdo#80403: Writer specific AutoCorr use FastParser"Stephan Bergmann
This reverts commit c1e90457d2ecc6e1171b7a296ab8bd05821e39e6 (plus follow-up c940d4d30673dc02ea34b5e60a4a8140648a0dba "loplugin:saloverride" and 5f0f3d4e91e9eb1d1f60b0cd073e7bbd8ea38c29 "Work around -Werror,-Wdeprecated-register"), it broke JunitTest_sw_unoapi. Change-Id: I21499f8a7810eef637bb51a30380ae60b3d915cd
2014-12-04fdo#80403: Writer specific AutoCorr use FastParserDaniel Sikeler
Contextclasses implement XFastContextHandler Importclasses implement XFastDocumentHandler Tokens for BlockList.xml are defined in BlockListTokens.txt Tokens for content.xml are defined in TextBlockTokens.txt A perfect hash table is generated with gperf and used by the tokenhandlers Change-Id: Iff8ad5f1a4df0b808ee6fdf13f75a821596e9ee9 Reviewed-on: https://gerrit.libreoffice.org/12386 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-11-07Test for swapped out image loss during Writer exportZolnai Tamás
Related to the bug fdo#52226. The fix in *.rtf and *.docx export was this commit: 9dd5caac62083f7162d83319284df68ee83e3777 The problem was that the images were somehow swapped out but were not swapped in during export. Test the main Writer formats: ODT, RTF, DOC, DOCX.
2014-11-03drop SW_DLLPUBLICs for unit-test only exposureCaolán McNamara
seeing as have a uwriter target for the non-exposed symbols case. As a motivating side-effect stops crashing on exit on an optimized build with my x86_64 fedora 20 gcc 4.8.3 build Change-Id: If0240ee02d4899e488b12d2d8d5f9b6bf7cca37d
2014-10-22Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTINGTor Lillqvist
Feature test macros that govern conditional compilation should be defined in config_*.h include files, not on the compilation command line. Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
2014-10-01MM: first unit test and infrastructureJan-Marek Glogowski
Extendes SwModelTestBase with mail merge functions and a declaration of the DECLARE_MAILMERGE_TEST macro and uses it in a first test. As most tests it's registered as a slow test run by 'make check'. The broken MM used to drop the leading empty pages, which resulted in a document with 4 pages and the two page bound draws merged per single page. Tests the MM result for page count (eight) and each draw anchor to be on a different page. Change-Id: Iab17f5844e68221d48cb89863323bcfe4c8ae0d2
2014-09-17sw: html import test: local images shouldn't be file links (bnc#580834)Matúš Kukan
Change-Id: Id35e03a3f814609e40e4beea778e66cce39054d1
2014-08-28Revert "sw: _one_ unit test with use_library_objects sw ought to be enough"Michael Stahl
This reverts commit d2a4e7c7f70a0ff0769ed228320833fa6b29bff9. We now export SwGlobals::ensure for another test, so no need to use sw objects in this one...
2014-08-21sw: _one_ unit test with use_library_objects sw ought to be enoughMichael Stahl
Linking those things takes a lot of RAM. Change-Id: I4db9ee3f07f97601d526ab3f905ecadbf4c552ca
2014-08-19split CppunitTest_sw_ooxmlexport into several testsLuboš Luňák
In order to allow running them in parallel. There are already enough tests to make it run for a couple of minutes and it's annoying to see only once core busy with it. I intentionally left the original file at the same name, without 1 appended, in order to avoid merge problems. Change-Id: I097c45c34797cc68f5d1790cf31eefc96fbaf44e
2014-07-17extract CppunitTest_sw_ooxmlfieldexport from CppunitTest_sw_ooxmlimportMiklos Vajna
before: $ time make -sr CppunitTest_sw_ooxmlexport real 4m5.728s after: $ time make -sr CppunitTest_sw_ooxmlexport real 3m24.446s and the new CppunitTest_sw_ooxmlfieldexport can run in parallel. Change-Id: I5a1d121f51e2d09a1c2126a33484e956c5c706a8
2014-06-05Unittest the whitespace stripping logic for tox text generationTobias Lippert
The separate class allows to unittest this functionality in isoloation. Change-Id: I1e5eddfb455ca85a662ea38c03302883decc5d58 Reviewed-on: https://gerrit.libreoffice.org/9608 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-05-06sw: make CppunitTest_sw_uwriter a slowcheckMiklos Vajna
It's annoying that after touching a cxx file from Library_sw, it's not enough to wait till it relinks, it also relinks CppunitTest_sw_uwriter as well. So turn that one into a slowcheck, this way 'make sw' doesn't relink it. Change-Id: I0a8d956f57e92a9c6f1f91b727f492ca4c92c599
2014-03-11ooxml round-trip tests: Move w14 tests to its own test suite.Tomaž Vajngerl
Change-Id: I42c7cd0aef3f9811440e70d8ea2c31432e1d32ff
2014-02-26CppunitTest_sw_ooxmlexport: factor out drawing-related testcasesMiklos Vajna
As a start, moved 30 asserts to the new suite, still 378 is in the original one. Change-Id: I934bce63e286af3080ae014c3bd8f4f09866feb2
2014-02-19Avoid app specific CreateDialogFactory code for non-DESKTOP.Matúš Kukan
As happened in 7e9ac5952711400ad856b3328c5cc00c05cec6f2 for cui library. Change-Id: If51201eb452d4b84729b37949fb9b949020b47b8
2013-12-16uiconfig is a l10n-relevant targetBjoern Michaelsen
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-11-14make l10n buildable separatelyBjoern Michaelsen
- this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
2013-10-28sw: make the uiwriter testcase a slowcheckMiklos Vajna
The uiwriter test is similar to filter tests, except that the asserts are filter-independent. Those are slowchecks already, move this one there as well. This speeds up 'make sw' a bit, which is slow enough already. Change-Id: I566bf94938c3de6267705a7720bf093bfe4ef7c7
2013-10-22added the tiledrendering ui from gladePtyl Dragon
Change-Id: I8c32f5f3e09d2dc6214a76cd15a0b3adba62824e
2013-10-21Tiled rendering: This is a desktop test app.Jan Holesovsky
Change-Id: I022ca7c6bc7a9efd874bd04eaf78836afcee21c6
2013-10-21Tiled rendering: VCL test app skeleton.Jan Holesovsky
Change-Id: I465dcadf14935bce4f610376b41b9a66963e2cf8
2013-10-13Introduce unit test in replace functionnality in WriterArnaud Versini
Change-Id: I5ee33965a511c7730610377a2e41f4728a0fe4d2 Reviewed-on: https://gerrit.libreoffice.org/6184 Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org> Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
2013-09-22make the PythonTest run on WNTMichael Stahl
- fix the PATH - file url needs to start with file:///X:/ (three slashes, literal :) Change-Id: I0d16d1e946fd06ba5523961c23c3b46872c0c050
2013-06-19fdo#64238: fix for missing footer bugAdam Co
Signed-off-by: Miklos Vajna <vmiklos@suse.cz> Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Change-Id: I328547c41bfc1a23f7e6233db57fbfa415e22cb3 Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-06-18.mk files should not be executableMiklos Vajna
Change-Id: I390df82ebaa0b0e715e0cdfd8d39febe4f217d96
2013-06-18disable test that ends throwing std::bad_allocDavid Tardon
... after eating >11 GiB of memory. Change-Id: I6202fa7e410c9b397c465cb1c185305aeee509e1
2013-06-17PythonTest still does not work on WindowsStephan Bergmann
Change-Id: I79e352efeb1ed3fe8dab53bfb31362ac2ce11b06
2013-06-16Another try to fix python unit test on MSVCDavid Ostrovsky
Change-Id: I66734830ef228b6928b24194f278632fa9f2c70c
2013-04-30fdo#62336 - unit test for conversion failure.Michael Meeks
Turns out this depends on not doing layout, and so is a real corner-case. Change-Id: If9d2db6b1a0df94fc809fb353f2dbf2cf9ac1c9a
2013-04-22clean up PythonTestsDavid Ostrovsky
Conflicts: sw/PythonTest_sw_python.mk Change-Id: I8dc937df02efb686bf19d6606b9b42b6f0abf742