summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_databaserangeobj.mk
AgeCommit message (Collapse)Author
2019-10-04add gbuild function for a common PCH and use it in sc/ and sax/Luboš Luňák
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-08-04Remove obsolete (cargo-cult copied) dependenciesJens Carl
Change-Id: I19258e12eab781e7835c362326d6f969228ae56f Reviewed-on: https://gerrit.libreoffice.org/58593 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-03-11extract common components to one place for sc unoapi testsTomaž Vajngerl
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ž Vajngerl
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-10-06Process all pending events during Cppunit setUpJan-Marek Glogowski
Larger unit tests collect a lot of events, which are just processed on shutdown. But since the Scheduler is just an unsorted linked list, processing these in order is O(n^2) for lookup, which really adds up, e.g. sw_ooxmlexport8 has 35047 tasks on shutdown. So this just processes all pending events before running each unit test. Also adds missing spellchecking components to some calc tests. Change-Id: Icf12146015afc17a1f52f79c18f248b72650ad46 Reviewed-on: https://gerrit.libreoffice.org/43199 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky
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 various uui dependencyGiuseppe Castagno
Change-Id: I926a0df300aad01f531832f857373e9764c32b1a Reviewed-on: https://gerrit.libreoffice.org/27653 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
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>
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-11-23CppunitTest_sc_databaserangeobj: adapt to now enabled sidebar in CalcMiklos Vajna
Change-Id: I0854290757ace2acf2ed62f91efbd01d880d196f
2014-06-26sort libraries and components in sc test makefilesMarkus Mohrhard
Change-Id: I38cda4e1ba520c9bb15f71b27543cb80fd696424
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-04sc: Fix bunch of testsMaxim Monastirsky
Change-Id: I7ea90d4be037d9935ef23822512f48b100a446a2
2014-04-18Try making it possible to use --disable-avmedia for desktop platforms tooTor Lillqvist
Unfinished work in progress. Change-Id: I978755d73630b8653b169a53f937c1332799e22e
2013-12-11fdo#60698: Merge fastsax and sax_shared into expwrapMarcos Paulo de Souza
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 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-01gbuild: use .xcd configuration files from instdirMatúš Kukan
..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-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-05new module i18nlangtagEike Rathke
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 Grandin
Change-Id: I1a591ec4061c73657c26552d41c58b970696038f
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl
- 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
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-08-21add more runtime deps on resource files for unit-testsMatúš Kukan
Change-Id: Id9bbb2bbcafe335eada3f36ae103a9074a56848f
2012-08-10gbuild: missing dep on $(OUTDIR)/unittest/registry for testsMatúš Kukan
Change-Id: Ic80f57946e7b3f9c1bd99ed65955cf3c280063d2
2012-04-12move dependency on localedata_en to i18npoolMatúš Kukan
2012-04-08rename gb_CppunitTest_uses_ureDavid Tardon
2012-04-08compile- and run-time use of UNO must be splitDavid Tardon
There are unit tests that do not use URE, e.g., in cppuhelper. This reverts commit 33e9f3d3d6b29545ef9df3f5334c015e15caa5c8. Conflicts: sot/CppunitTest_sot_test_sot.mk svl/CppunitTest_svl_urihelper.mk
2012-04-08clean upDavid Tardon
2012-04-08simplify use of configuration from unit testsDavid Tardon
2012-04-08always use --protector for UNO testsDavid Tardon
2012-04-08drop uses_ureDavid Tardon
2012-04-08let use_api handle the use of type rdbs at runtimeDavid Tardon
Or is there any use case where we would need to use UNO API headers, but not require the appropriate type database at runtime?
2012-04-08gbuild: "use" vs. "add":Michael Stahl
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-02always pass --headless to cppunitsLuboš Luňák
They should not need any actual UI anyway, and most of them already pass the option manually. http://lists.freedesktop.org/archives/libreoffice/2012-March/029109.html
2012-03-10gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan
2012-02-10fdo#39491 -I$(OUTDIR)/inc is set in SOLARINCMatúš Kukan
2012-01-23refactor concept for c++ based subsequenttestsMarkus Mohrhard
2012-01-15these are not old component files anymoreMatúš Kukan
2012-01-06add inital part for XDatabaseRange test, related fdo#44167Markus Mohrhard