summaryrefslogtreecommitdiff
path: root/starmath/CppunitTest_starmath_qa_cppunit.mk
AgeCommit message (Collapse)AuthorFilesLines
2019-09-16tdf#74702: remove GetOutDevType() from SmTmpDeviceChris Sherlock1-0/+5
Adds in logic to OutputDevice that takes a font color and the font's background color - if the font and background is dark then return the stock white color, if the font and background are bright, then return the stock black color, otherwise just return the font color. Also added a unit test to ensure that SmTmpDevice restores font and test color correctly. Change-Id: Id805682778d82826c644e7a27017c8d30b1ff5eb Reviewed-on: https://gerrit.libreoffice.org/75524 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-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-08tdf#47813 Fix alignment for SmUnHorNodeTakeshi Abe1-0/+1
Originally SmUnHorNode::Arrange() was somewhat kludgy. This change implements a similar manner with SmBinHorNode::Arrange(). Change-Id: Ic18d2e7f70becfabb2c651719926e358a4585526 Reviewed-on: https://gerrit.libreoffice.org/26841 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-06-23starmath: Add a test case for parsing -Takeshi Abe1-0/+1
Change-Id: I0fc0b7e2abbadee2f13d477c5ddd2290f37487a0 Reviewed-on: https://gerrit.libreoffice.org/26563 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
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-05-24starmath: Fix missing call of AnnotationSelection() for SmCursor::CopyTakeshi Abe1-0/+1
... with unit tests of Copy/Cut/Paste. Change-Id: I74dd6f235b52ef2c1388ea0d15d32af0fb30b2c8 Reviewed-on: https://gerrit.libreoffice.org/25362 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
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
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-22/+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-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
2012-11-23try to fix and reenable starmath unit testsCaolán McNamara1-0/+9
Change-Id: I4c2a1476ea6ae12fdebb8301b68eab8060bc86f8
2012-10-25fix compilation and linking of starmath cppunit testsIvan Timofeev1-0/+3
... but the tests still crash and are disabled. Change-Id: I5df66f21865cac98c38d4ef3684c562784e093b9
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl1-2/+0
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 Stahl1-1/+2
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl1-0/+1
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-08-21add more runtime deps on resource files for unit-testsMatúš Kukan1-2/+0
Change-Id: Id9bbb2bbcafe335eada3f36ae103a9074a56848f
2012-06-15tweak to capture recent changes in starmath and gbuildNorbert Thiebaud1-45/+18
Change-Id: I1e7fb1ae0da02a60f1ee3655a09693c11108f61d
2012-06-15convert i18npool to gbuildNorbert Thiebaud1-1/+1
Cherry picked from 2674376ddff9370988fe1fcad0ec519d1e68e869 Change-Id: I882f6b516f617f37f2b966cb2e8c78718895e305
2012-06-15gb_Library_PLAINEXT->gb_Library_DLLEXTNorbert Thiebaud1-1/+1
Cherry picked from 405454c88a44f0f881d67b4c707a5714cfc1d53c Change-Id: I18bb06ff9dfffcdb2dd958c736b6e81af0b2b4ca
2012-06-15add modified unoexceptionprotector for better error msgs from exceptionsCaolán McNamara1-0/+1
2012-06-15remove all traces of offuh from makefilesDavid Tardon1-1/+5
2012-06-15ugly fix to a dependency problem in starmath_qa_ccpunitNorbert Thiebaud1-0/+2
2012-06-15reenable unit testNorbert Thiebaud1-0/+111
cherry-picked from 95357d3144b817726507758c1314a82303c25157 Change-Id: I1d403859091a6e59b1045126c5db2bf2ffd573e1
2012-06-15revert gmk4 mismergeNorbert Thiebaud1-97/+0
Change-Id: I013893c7ca4b9d4364d2d19fdd0440c7dcf08910
2012-05-29fix .component pathsDavid Tardon1-7/+4
Change-Id: I953cdd6f425245aff0d18858d201520938e0e3aa
2012-04-08rename gb_CppunitTest_uses_ureDavid Tardon1-1/+1
2012-04-08compile- and run-time use of UNO must be splitDavid Tardon1-0/+2
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 Tardon1-1/+1
2012-04-08always use --protector for UNO testsDavid Tardon1-4/+0
2012-04-08drop uses_ureDavid Tardon1-2/+0
2012-04-08let use_api handle the use of type rdbs at runtimeDavid Tardon1-4/+0
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 Stahl1-7/+7
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-03-10gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan1-1/+1
2012-03-08fold i18npaper into i18nutilCaolán McNamara1-1/+1
It's too small to justify standalone existence. We can accumulate i18n things we link to directly into i18nutil and rework i18npool uno implementions in terms of thin wrappers over i18nutil and prefer linking to i18nutil internally and leave the uno forwarders for use by external components and scripting
2012-02-10fdo#39491 -I$(OUTDIR)/inc is set in SOLARINCMatúš Kukan1-1/+0
2011-12-14configmgr.component is no longer an old one.Stephan Bergmann1-1/+1
2011-12-06normalize Red Hat, Inc. spellings, and bump to latest templateCaolán McNamara1-5/+4
2011-11-27remove pch from the include listNorbert Thiebaud1-1/+0
2011-11-11Make .component files directly usable within UNO_SERVICES.Stephan Bergmann1-2/+18
* solenv/bin/createcomponent.xslt simply surrounds it output by <components>. * solenv/gbuild/CppunitTest.mk got new functions gb_CppunitTest_add[_old]_component[s] (like their gb_RdbTarget_ predecessors). * This obsoleted current uses of solenv/gbuild/RdbTarget.mk, which also does not work currently, as it catenates the input component files instead of passing them through packcomponents.xslt (which now takes care about the surrounding <components> in the input). In the future, it will likely be combined with the recently added solenv/gbuild/ComponentsTarget.mk.
2011-10-04adapt starmath unittests to separate RdbTarget makefile requirementBjoern Michaelsen1-22/+0
2011-09-16Simplified setting headless mode for smoke-/subsequenttetss.Stephan Bergmann1-2/+0
Both C++ and Java OfficeConnection code now always pass --headless, so no need for SAL_USE_VCLPLUGIN=svp etc. any more. Only some C++ unit tests that link against vcl still need an explicit --headless.
2011-08-17convert i18npool to gbuildMatúš Kukan1-1/+1
2011-08-10prefer makefile-gmake-mode to plain makefile-modeTakeshi Abe1-1/+1
2011-07-30Add consistent Emacs and vim mode linesTor Lillqvist1-1/+2
2011-07-01gb_Library_PLAINEXT->gb_Library_DLLEXTCaolán McNamara1-1/+1
2011-07-01add modified unoexceptionprotector for better error msgs from exceptionsCaolán McNamara1-0/+1
2011-06-18remove all traces of offuh from makefilesDavid Tardon1-1/+5
2011-06-10try .res runtime depend the other routeCaolán McNamara1-2/+1
2011-06-10add runtime depends to .res files to unit testsCaolán McNamara1-1/+2
2011-05-27Merge remote-tracking branch 'origin/integration/dev300_m106'Jan Holesovsky1-1/+1
Conflicts: starmath/qa/cppunit/makefile.mk sw/source/core/layout/fly.cxx sw/source/core/layout/paintfrm.cxx sw/source/ui/inc/view.hxx sw/source/ui/shells/grfsh.cxx