summaryrefslogtreecommitdiff
path: root/postprocess/CppunitTest_services.mk
AgeCommit message (Collapse)AuthorFilesLines
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
2015-02-12Make CppunitTest_services instantiate even more servicesStephan Bergmann1-0/+2
Change-Id: Id9bfb3886e4a9cbc15a7bf7ef3aefa73bd160e3b
2014-08-02gbuild: more deps for services testDavid Tardon1-0/+3
Change-Id: I1d409024be6774b84434e629207ada2b05eb05ea
2014-08-02fix python deps for services testDavid Tardon1-0/+6
Change-Id: Ia82a735c6075771d5096647905c4722ada1d1d40
2014-08-02fix java deps for services testDavid Tardon1-3/+4
Change-Id: Ifa7a67862fca71dfd96dc55eec9f065f303d88a9
2014-06-12Avoid Solar Mutex deadlocks when disposing servicesStephan Bergmann1-0/+1
...as test code using gb_CppunitTest_use_vcl is implicitly run with Solar Mutex locked Change-Id: I480b4bcce7c6a94922019679099b0883b3ee1030
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-12-19Improve CppunitTest_servicesStephan Bergmann1-0/+10
Change-Id: I4b22ce7e5fa91d5008f72e1f351d25063065ba43
2013-12-18missing boost_headers externalMatúš Kukan1-0/+4
Change-Id: Ib30dddbc1b105c89c5882f5f857dc20134eca7e6
2013-12-18Add a unit test trying to create every available service with default ctor.Matúš Kukan1-0/+31
Change-Id: I79e70aeabdb816eaf7a719d2094034d78d11c90b