summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_outlineobj.mk
AgeCommit message (Collapse)AuthorFilesLines
2022-11-07sc: factor out common code in make filesXisco Fauli1-32/+1
I had to rename some .cxx files to follow the same patterns. The renaming cause clang-format to be triggered for those files CppunitTest_sc_functionlistobj fails with xindexaccess.cxx:26:Assertion Test name: sc_apitest::ScFunctionListObj::testGetCount equality assertion failed - Expected: 395 - Actual : 508 if it doesn't use gb_CppunitTest_use_components Change-Id: I7c929512bbf05293118bc54b343a59c8bbee5538 Change-Id: I21971773f1e2d4bc7a6f33e4c392b20abf8d54de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142387 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2019-10-04add gbuild function for a common PCH and use it in sc/ and sax/Luboš Luňák1-0/+2
And make it simple to disable the whole feature by setting gb_DISABLE_PCH_REUSE=1, just in case. Also work around a possible BOOST_ALL_NO_LIB mismatch when using the common PCH. Change-Id: I96fd507edf1ada6242ac225026250e5a588d0193 Reviewed-on: https://gerrit.libreoffice.org/79365 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2018-07-23Remove obsolete (cargo-cult copied) dependenciesJens Carl1-37/+8
Change-Id: If68a45523242a30d5bc8122818b36f0babc70dcd Reviewed-on: https://gerrit.libreoffice.org/57828 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-03-11extract common components to one place for sc unoapi testsTomaž Vajngerl1-35/+1
The declared components in a test of uno api don't change much or at all, so instead of duplicating this in every test, define it in a common file use when needed. Some more common things could be extracted in a similar way. Change-Id: I07ae641afca55ffaf3c5c93624bfaa2143590886 Reviewed-on: https://gerrit.libreoffice.org/51079 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.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>
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>
2016-07-28add some uui component dependenciesCaolán McNamara1-0/+1
Change-Id: I4ea78c729bec2e8879426dae6116d747083c72b3
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>
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-11-23CppunitTest_sc_outlineobj: adapt to now enabled sidebar in CalcMiklos Vajna1-0/+1
Change-Id: Ia38627f1f410e8d729449e5950508131068b0279
2014-10-22Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTINGTor Lillqvist1-1/+1
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-06-26sort libraries and components in sc test makefilesMarkus Mohrhard1-4/+4
Change-Id: I38cda4e1ba520c9bb15f71b27543cb80fd696424
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-04Fix CppunitTest_sc_outlineobj testMaxim Monastirsky1-0/+1
Change-Id: Iaf2747e64e486f8536c3074f247a3b85dd78bbd1
2014-04-18Try making it possible to use --disable-avmedia for desktop platforms tooTor Lillqvist1-1/+0
Unfinished work in progress. Change-Id: I978755d73630b8653b169a53f937c1332799e22e
2013-12-11fdo#60698: Merge fastsax and sax_shared into expwrapMarcos Paulo de Souza1-1/+0
Change-Id: I6f8c6827c00db50184a46f39968f882b944d18d4 Reviewed-on: https://gerrit.libreoffice.org/6967 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2013-10-18fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza1-2/+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-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-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-23/+4
2013-04-05new module i18nlangtagEike Rathke1-1/+1
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-03-07fdo#46808 use document::DocumentRevisionListPersistence constructorNoel Grandin1-0/+1
Change-Id: I1a591ec4061c73657c26552d41c58b970696038f
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl1-0/+2
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-24sc test XSheetOutlineLaurent Godard1-0/+129
Change-Id: Iea0576e61963dbdb72c88fe332c7cfe3e8ab7ff0 Reviewed-on: https://gerrit.libreoffice.org/1794 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>