summaryrefslogtreecommitdiff
path: root/test/Library_test.mk
AgeCommit message (Collapse)AuthorFilesLines
2018-05-09move unoapi_property_tester to include so it can be used outsideTomaž Vajngerl1-1/+0
Change-Id: Id6eebba7d80aa287274e921fdd872d37d0e09ef0 Reviewed-on: https://gerrit.libreoffice.org/53986 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-03-21Move UNO API property testers header fileJens Carl1-0/+5
Move the header file form the global include path include/test to the module-specific path test/inc. Change-Id: I72c1f3b420bc387f4f5b9ab75f30f0e8462c1b75 Reviewed-on: https://gerrit.libreoffice.org/51682 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-03-18Create UNO API property testers for common typesJens Carl1-0/+1
Create UNO API property testers for common, so it's possible to share/use them between all the UNO API service property tests. Testers are available for the types 'boolean', 'long', 'short', and 'string'. Change-Id: Ia36dba98c774695b3ba6ac9d9917af9fb20efdba Reviewed-on: https://gerrit.libreoffice.org/51259 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-01-07Remove XmlWriter in test module and use tools::XmlWriterTomaž Vajngerl1-1/+0
Change-Id: I0a0e07a6a71ed95d783d35b7d94b857074ec3450 Reviewed-on: https://gerrit.libreoffice.org/47523 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-08-30Break test::setUpVcl into a test-setupvcl library of its ownStephan Bergmann1-1/+1
...so it can be gb_CppunitTest_use_library_objects-included in upcoming <https://gerrit.libreoffice.org/#/c/28322/> "tdf#99402: fix Metafile Font handling". Executable_pdf2xml.mk linked against test since b0da8f00a0d41f2b17639fcee4ed4956421e55c5 "Make pdf2xml usable at least from within buildenv again", but that seems unnecessary and would now cause problems when linking the pdf2xml executable on Linux, as the linker for whatever reason wouldn't find the libtest-setupvcl.so referenced from libtest.so, even though the latter has a proper DT_RPATH. Change-Id: Iba5d80266520ce1f5dafedffa520d18e853f7ec5 Reviewed-on: https://gerrit.libreoffice.org/28473 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-08-29Remove duplication of "set up VCL" codeStephan Bergmann1-0/+1
The "this is called from pyuno" version in test/source/bootstrapfixture.cxx had had an empty deinitHook, but it appears to not hurt to give it the same deinitHook as the version in test/source/vclbootstrapprotector.cxx had had. Make test::setUpVcl accessible from outside module test for an upcoming use in <https://gerrit.libreoffice.org/#/c/28322/16> "tdf#99402: fix Metafile Font handling". Change-Id: I1d609445690b6ee5e331aa322cd4bf434a3de78e
2016-08-18screenshots: move shared code to separate classKatarina Behrens1-0/+1
Change-Id: I1760de221bc53d345c2bbfb4fe878c120073ea45
2014-10-29Improve framework for callgrind performance unit testsMatúš Kukan1-0/+2
Do not abort in tests which take longer then before. Since 4f5f6d2444a24138c3d3d378771f87cb06427195 we have nice tool to collect callgrind results, store them.. Also, make it not necessary to duplicate anything. Any test can be turned into a performance test by using callgrindStart/callgrindDump. You only need to duplicate the makefile name in gb_Module_add_perfcheck_targets. So, if the test is run as part of 'perfcheck', it runs under callgrind, otherwise it behaves like a regular unit test. Change-Id: I7acbb855b1823c9a32ba126abb57dccc767ca239
2014-08-16initial implementation of XML dump for Primitive2DSequenceTomaž Vajngerl1-0/+3
Change-Id: I6618b18164a26553f81a1c737e009b7187b028c3
2014-06-12Fix vclplug_* dependencies for gb_CppunitTest_use_vclStephan Bergmann1-7/+0
...and replace gb_CppunitTest_unset_headless with gb_CppunitTest_use_vcl_non_headless. Change-Id: Ibd859f98ed8df09988ca26ffcee26e06e25d8313
2014-05-15test: dump staroffice metafile to XML & XML writer interfaceTomaž Vajngerl1-0/+2
Change-Id: Ie42f72e0fc281d1f51e1729be408c2b0042f4174
2014-04-29tests: add XML and HTML test tools to test moduleTomaž Vajngerl1-0/+2
XML and HTML parsing and XPath asserts are used by many test in sw, sc and sd modules. This commit moves this functionallity to test module, where it is available to all modules. Change-Id: I53ad9c45b24f4c9bf106cb58ea619002968bfeda
2013-04-24gbuild: drop uses of removed packagesDavid Tardon1-2/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
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-2/+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-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-09-14Improvement on previous commit, UCB clean upStephan Bergmann1-1/+0
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-08-01test::BootstrapFixture: make GraphicConverter workMiklos Vajna1-0/+1
Change-Id: I566448db441eaa324cf619630a2e87cb8cbaeb99
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks1-4/+1
2012-04-28we can't move that into a test only libMarkus Mohrhard1-1/+0
Revert "move xshape dumper into test" This reverts commit beccf477581b1f3e85100d43be81ea55d3b3f912.
2012-04-27move xshape dumper into testMarkus Mohrhard1-0/+1
XShapeDumper can now be used by other parts of the code too. Please keep in mind that changing the dumper affects other parts too and might require a regneration of reference files. Change-Id: I540420a8bdf8afd8d43c5ea0bb0d82d7e0ecc44b
2012-04-26add xml diff with toleranceMarkus Mohrhard1-0/+5
# Changes to be committed:
2012-04-23Revert "it seems tests runtime-depend on ucpchelp1 too"Luboš Luňák1-1/+0
It did not help with the race condition at all. This reverts commit 1b62ccdcb5a44effe4f6f9de105d96fbbd18102d.
2012-04-20it seems tests runtime-depend on ucpchelp1 tooLuboš Luňák1-0/+1
CppunitTest_sc_databaserangeobj can fail with 'UcbContentProviderProxy::getContentProvider - No provider for ´com.sun.star.help.XMLHelp.'
2012-04-12partially revert the editeng singleton stuff to get build to completeCaolán McNamara1-1/+0
2012-04-12Handle the correct deletion order of EditDLL in the base class.Kohei Yoshida1-0/+1
Turns out that this change affected all cppunit runs.
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl1-1/+1
2012-04-08gbuild: "use" vs. "add":Michael Stahl1-2/+2
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-02-10fdo#39491 more of unnecessary include pathsMatúš Kukan1-5/+0
2012-01-23add library for c++ based subsequenttestsMarkus Mohrhard1-1/+0
use this library for interface tests and implement the test in the correct module by creating one test class per implementation class The implementation class should inherit from all interface tests it needs This should make it more easy to write tests since we no longer need to write the same test method multiple times
2012-01-17gbuildify testCaolán McNamara1-0/+74