Commit Graph

5 Commits

Author SHA1 Message Date
Stephan Bergmann
eaf7e4f1b2 Lets assume gb_CppunitTest_unset_headless was cargo cult here
Change-Id: I9d4255f0ddcaf375706556d0c0baf2a5a0762bbf
2014-06-12 12:56:21 +02:00
Stephan Bergmann
369d95931f DeInitVCL at end of tests
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-06-04 08:55:12 +02:00
Marcos Paulo de Souza
b538fc543e fdo#60698: Move fileaccess module to ucb
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-18 12:25:11 +00:00
Stephan Bergmann
a99f20c5c2 Missing include
Change-Id: I38d802831c8eea4406d8837b9162f5f76a8495fd
2013-06-15 10:45:35 +02:00
Michael Meeks
e1a4029087 add cppcanvas unit test makefile I forgot.
Change-Id: Ic56a61d6c71870620ad2cda7899da8d0252dfc11
2013-06-11 14:47:13 +01:00