Commit Graph
10 Commits
Author SHA1 Message Date
Michael Meeks d200c344cf Fix naming of makefile to mend make dump-deps.
Also add error message to make this more clear in the future.

Change-Id: Ic9e3a2c89119ef1ec3e6cc1074b7419f7ee268b7
Reviewed-on: https://gerrit.libreoffice.org/29375
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-29 06:48:31 +00:00
Stephan Bergmann 965f379b6e Break test::setUpVcl into a test-setupvcl library of its own
...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
b0da8f00a0 "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-30 05:40:36 +00:00
Markus Mohrhard 40f9be70ef uitest: move the uitest files to vcl
This allows us to use them in vcl as well without introducing dependency
problems.

Change-Id: Ib97af2d559902f1a6b47f9255bb0426411670647
2016-06-18 17:01:20 +02:00
Markus Mohrhard d5c3f1bf26 uitest: add groundwork for ui testing framework
Change-Id: I51b81da870fd220d56b32c20b9e6c4604912a014
2016-06-18 16:59:48 +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
Bjoern Michaelsen b9337e22ce execute move of global headers
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details

Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23 22:20:31 +02:00
Michael Meeks 62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Tor Lillqvist 3aa3d170a0 Bypass cppunit stuff for non-DESKTOP in more places
We don't run any cppunit tests for cross-compiled platforms anyway, so no
point in compiling that. (Especially as compiling cppunit currently fails in a
--enable-werror build at least for Android thanks to -Wundef.)

Change-Id: I3139c62305ccfeddc0f67729f10e224618d2fc03
2013-04-02 18:17:51 +03:00
Markus Mohrhard 3fcde5e3f9 add library for c++ based subsequenttests
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-23 19:46:45 +01:00
Caolán McNamara a9c29c59be gbuildify test 2012-01-17 11:33:16 +00:00