summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_uiwriter.mk
AgeCommit message (Collapse)Author
2016-06-09tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko
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-19Missing dependencyStephan Bergmann
Change-Id: I549116095255426dd2036a2122097567bf40a204
2015-10-12tdf#77014 create a test for this bugTomaž Vajngerl
Change-Id: Iebe72287f62da7382f12e7645b48fa666610a8c5
2015-07-24sw: partial build needs another dependency from uiwriter to mswordMichael Stahl
Change-Id: I59e03895f8676bd7f91e8aaf4994e4f4b8231773
2015-02-27gbuild: CppunitTest: always use unittest configurationMichael Stahl
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-12-18CppunitTest_sw_uiwriter: use gb_CppunitTest_use_rdbMiklos Vajna
I can't easily see what component is missing for SVM saving, and we do the same in CppunitTest_sw_htmlimport already, so why bother. Change-Id: Iba917e211fc721f8e275b3ce04a0e02c0759485b
2014-11-28Unittest for autocorrect in writerDaniel Sikeler
At first we test normal replacement of wrong words. Second part of the test is about style changes during autocorrection. And at the end we replace a word with a table. The rules for the autocorrection are in test/user-template/user/autocorr/acor_fr.dat I needed to make SwAutoCorrect public for my test. Conflicts: sw/qa/extras/uiwriter/uiwriter.cxx Change-Id: Ie753c2187c1f4eddaefe0cc428a605107112c24f Reviewed-on: https://gerrit.libreoffice.org/13131 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-07Fixup headless buildRiccardo Magliocchetti
Don't require vcl.unx component on headless build Change-Id: I33c3d90b67dd4ef3fc52ae2555b41ca2deb191de Reviewed-on: https://gerrit.libreoffice.org/12267 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-06-24try to fix linker error on Windows caused by last commitLuboš Luňák
Change-Id: Iaad40befcde683e8b85eefa5b58bcd350fea9f71
2014-06-24fix broken redlines after undoing column count change (cp#1000071)Luboš Luňák
Changing a document with redlines to two columns and then using undo set some redlines to point to the end of the document (done by the call to RemoveIdxFromSection() in SwUndoInsSection::UndoImpl()). Change-Id: I88b563b88beebcd1c3cb21fe61bb56cdb12cdc41
2014-06-23SwDrawView::DeleteMarked: delete textbox of shape as wellMiklos Vajna
If we delete a shape that had a textbox, then delete that textbox as well. Without that, the doc model would be still consistent, but most probably would not be what the user expects. Change-Id: Id5075233ce66d7a398c88ff3e63b05a6b2133571
2014-06-04DeInitVCL at end of testsStephan Bergmann
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 Stahl
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 Monastirsky
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 McNamara
Change-Id: Ie861b7db8a507177b330ade23e94771a0811c2f9
2014-03-09fdo#70422 Moved the linked files from sw/source/ui to a new core/uibase dirroopak12345
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
2014-01-16sw: CppunitTest_uiwriter has grown a dep on msword libraryMichael Stahl
Change-Id: Ia991a4c85a9e79f03d0f3fb45d6daeed5db27c39
2014-01-16CppunitTest_sw_uiwriter: add testcase for ImportRTF()Miklos Vajna
Change-Id: I334b21532337c1895a148c949dde60ad774b4759
2013-11-19CppunitTest_sw_ooxmlexport: speed this up a bitMiklos Vajna
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 Souza
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-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>