summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_odfimport.mk
AgeCommit message (Collapse)AuthorFilesLines
2020-07-31sw: introduce a Library_swqahelperMiklos Vajna1-0/+1
So it is no longer necessary to define all SwModelTestBase functions inline. Change-Id: Ia1055ff967b3614102275ec92607c85ec063fce7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99820 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-11-08sw: no reason why SwModelTestBase can be used only by "extras" testsMiklos Vajna1-1/+1
So move it one level up, this way more tests can share code in the future. Change-Id: I35300b3c88ac9a5c39916f53b1b1743aa85869a0 Reviewed-on: https://gerrit.libreoffice.org/82252 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-10-04use the common system PCH header in sw/Luboš Luňák1-0/+2
I suppose a number of these should even better use a shared PCH that also includes Writer headers. Change-Id: I3227bff71ddc2cd2e59ef18c1481606de16f9ea5 Reviewed-on: https://gerrit.libreoffice.org/79816 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2019-03-08sw: replace long lists of components with services.rdbMichael Stahl1-38/+1
This should be more maintainable. Change-Id: I60ee68cd79f7a0627bcaf8fd34d3036124ea0f9e Reviewed-on: https://gerrit.libreoffice.org/68914 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-08-27rename ENABLE_HEADLESS option to DISABLE_GUINoel Grandin1-1/+1
since it has nothing to do with the headless command line option, so use the name it has in the configure.ac file Change-Id: Ibf0615ed02695d6e48a797f5632e4f417c010c70 Reviewed-on: https://gerrit.libreoffice.org/59611 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-31SwModule is a convenient (?) place for passing events to Automation clientsTor Lillqvist1-1/+5
Generate Application.DocumentChange and Application.Quit events. SfxHintId::DocChanged seems to correspond nicely enough to Application.DocumentChange. It is generated a bit eagerly, but as its documentation is fairly vague and no specific detailed information is passed in parameters anyway, it probably doesn't hurt if a client gets it a bit more often with LO than with some other product. Can now remove the FIXME-marked Quit event things in SwVbaApplication. Now need oovbaapi in many makefiles for them to compile. Change-Id: I4d0c5b93b584f198bcc854002eec7aaba7909ecc Reviewed-on: https://gerrit.libreoffice.org/55106 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2018-03-11Move (and rename) graphic stuff from svtools to vclTomaž Vajngerl1-0/+1
This is preparing to change how GraphicManager works where it won't base itself around GraphicObject anymore but Graphic. No functional or cosmetic change was made to the classes, only changes that were needed because of the move and rename. The only thing that wasn't moved is the GraphicRenderer as it is not needed in vcl for now (but makes sense to move it in the future to keep graphic stuff together). grfmgr was renamed to GraphicObject as the GraphicManager will be changed a lot and most likely moved out, so the name grfmgr won't make any sense anymore. All the UNO implementations were renamed with a prefix Uno and used the same name as the class name. This is made to be more specific which are the Uno objects (for example graphic.cxx contained the implementation of XGraphic, which is similar to graph.cxx contains Graphic). Change-Id: I54a2fa6c7e997469aaa7770db05244adb9f64137 Reviewed-on: https://gerrit.libreoffice.org/51068 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-03-07xmloff: convert XMLTextParagraphExport to get rid of "GraphicURL"Tomaž Vajngerl1-0/+1
Change-Id: I10cc1115bfe628dc296b67b75e386e1a2e4a6c46 Reviewed-on: https://gerrit.libreoffice.org/50789 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky1-1/+0
Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-13sw: revert another gb_CppunitTest_use_instdir_configurationMichael Stahl1-1/+1
Change-Id: I82410b583da003a4b7b7b7395545677e83ad7676
2017-03-08make SfxGetpApp just get and move GetOrCreate to the peripheryCaolán McNamara1-0/+1
Change-Id: If3b22635e46dbccf0fad101f51bb653cbbcd3a32 Reviewed-on: https://gerrit.libreoffice.org/34957 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-02-27convert spell menu to .uiCaolán McNamara1-1/+1
This reverts commit 73f2944618e637762125fabd214b09b4fa50fb90. Change-Id: Idddd89869d1670cf71e932ccd4dbface30c730d9
2016-06-09tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko1-4/+1
This patch changes occurences in makefiles from $(eval $(call gb_CppunitTest_use_api,comphelper_test_config, \ udkapi \ offapi \ )) to $(eval $(call gb_CppunitTest_use_sdk_api,comphelper_test_config)) (corrected instead of abandon, jani) Change-Id: Ic96ec65d82d7452e288f05a8b6d576ef543b068e Reviewed-on: https://gerrit.libreoffice.org/23426 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-06sw: remove include of sw/source/inc/uibase/dbui.hxx from dbmgr.hxxMichael Stahl1-1/+0
Quite unnecessary, just remove the implementation details from the header. Change-Id: I5712ff32756bb1d31ff7701424b85a323438cced
2015-12-21tdf93236 N-UP printing in combination with mailmerge broken file-print 1/4Juergen Funk1-0/+1
Refactory the methode "MergeMailFiles" Change-Id: I65441ade522c06335b0da23cb2fed9afc5bcb72e Reviewed-on: https://gerrit.libreoffice.org/20714 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-02-27gbuild: CppunitTest: always use unittest configurationMichael Stahl1-2/+0
The sc_subsequent_filters_test was failing because of a lock file because it did not use the unittest configuration. Refactor gb_CppunitTest_use_configuration so it uses both the instdir and unittest configuration to prevent such errors. In case there ever is a test that does not work with the unittest configuration it should call gb_CppunitTest_use_instdir_configuration. Change-Id: Ibc00d42f8b6102d50d922f51173120798fa45c6e
2014-10-14bnc#800714 SwTxtFrm::FormatAdjust: still call SplitFrm if we have columnsMiklos Vajna1-0/+3
Regression from c5a8a2c3cbcee0175127a0662e3d820ea4deea22 (sw34bf05: i#84870 - method <SwTxtFrm::FormatAdjust(..)> - do not split text frame which only contains on as-character anchored object, 2011-03-11), the i#84870 fix was for a document which didn't have columns, and didn't consider that this causes a layout loop in case: 1) There are two paragraphs in a section, having multiple columns. 2) The second paragraph has fo:keep-together="always". In this case originally we tried to call SplitFrm(), realized that it didn't help, and then gave up. But after the change, we kept trying to satisfy the two conflicting requirements (balance content in the 3 columns vs keep the second paragraph with the first one). Fix the problem by not calling SplitFrm() only in case we're not inside columns. Change-Id: I64e969ef5e8f519314f5613f8e6fae626ae085ce
2014-06-04DeInitVCL at end of testsStephan Bergmann1-0/+1
This required some changes to the framework: * Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but once per CppunitTest invocation in a new vclbootstrapprotector (similarly to the exisiting unobootstrapprotector). CppunitTests that need VCL now need to declare gb_CppunitTest_use_vcl. * For things to work properly, the UNO component context needs to be disposed from within DeInitVCL (cf. Desktop's Application::DeInit called from DeInitVCL). The easiest solution was to introduce an Application::setDeInitHook (where the hook is called from DeInitVCL) specifically for vclbootstrapprotector to call. * PythonTests don't (yet) call DeInitVCL; they still hook into BootstrapFixture's original test_init functionality (to call InitVCL), and do not make use of the vclbootstrapprotector. Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
2014-05-27sw: move sw/source/core/uibase to sw/source/uibaseMichael Stahl1-1/+1
It's too confusing to have UI code inside of core; the important part is that it's separated from the optional UI code in swui library. Change-Id: I640a52723d5802faf08f3b8eaa03cd937fd93449
2014-05-01Simplify type detectorsMaxim Monastirsky1-0/+1
Change-Id: Ic731c1c4c76d8d6779868d7e3e4c02cb3cadc844 Reviewed-on: https://gerrit.libreoffice.org/9222 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2014-03-09this dir doesn't exist anymoreCaolán McNamara1-1/+0
Change-Id: Ie861b7db8a507177b330ade23e94771a0811c2f9
2014-03-09fdo#70422 Moved the linked files from sw/source/ui to a new core/uibase dirroopak123451-0/+1
Moved the files linked in sw/Library_sw.mk from sw/source/ui to sw/source/core/uibase and modified the make files as per the new directory location. Reviewed on: https://gerrit.libreoffice.org/8447 Change-Id: I05f6ccdeee5e76fb0ae477d16721d9ddc6eaff32
2013-11-19CppunitTest_sw_ooxmlexport: speed this up a bitMiklos Vajna1-0/+1
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-10-18fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza1-1/+0
Change-Id: I4c688a4aeedcae56ed6404574bd1bb392d4190cb Reviewed-on: https://gerrit.libreoffice.org/6311 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-13ENABLE_HEADLESS is TRUE or emptyTor Lillqvist1-1/+1
Change-Id: Ic1c05e781dfb858fc490a30e91b0aaf7ec63b3cc
2013-10-13No vcl.unx component in the ENABLE_HEADLESS caseTor Lillqvist1-1/+3
Such a build passes make but make check fails, though. No, I am not interested in --enable-headless. (I actually think it is a pointless idea.) I just for fun tried such a build, thinking a bit whether the LIBO_HEADLESS thing could be replaced by simply !HAVE_FEATURE_DESKTOP, i.e. setting the latter to zero for a --enable-headless build. But whatever. Change-Id: I156f956bd2430ba76934774c7d220a1b9f2019bf
2013-10-12sw: add missing testcase for spellmenu-redline.odtMiklos Vajna1-0/+1
There are various cases here, as a start just test that any spellcheck popup menu in a redlined document should at least contain the "go to prev/next change" menu items. Change-Id: Ic70b6dae4cac8fd970ad54e5015a61d50b024b2b
2013-10-01gbuild: use .xcd configuration files from instdirMatúš Kukan1-2/+0
..instead of .xcu files in solver/*/xml/registry when running unittests and gengal. Change-Id: I390a6c531d653acca7ef3379c49fe65fcb8f3c2a Reviewed-on: https://gerrit.libreoffice.org/6057 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-09-20fdo#37606 testcaseMiklos Vajna1-0/+5
Change-Id: I60d34906a90a5143163e516f618648cf7178430e
2013-09-04fdo#68839: add unit testMichael Stahl1-0/+1
Change-Id: Ic47bfdeb1466a3772c95008dbf035f294cc3ece4
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-23/+4
2013-03-18let toplevel 'make -sr CppunitTest_sw_ooxmlexport' (and friends) work againMiklos Vajna1-11/+11
Change-Id: I610ae1d3672f76435def025bd8819780df863dbe
2013-03-18sw: rename odf/ooxml/rtf/ww8 filter testsMiklos Vajna1-0/+102
The subsequent part of their name was misleading, as they are slowchecks, not subsequentchecks anymore. Change-Id: I2e5c1506d88b017e563adee9134905dc2b4e7d68