Commit graph

17 commits

Author SHA1 Message Date
Caolán McNamara
8d7e8a0a3b setup/teardown default component context once before/after all tests
avoids the problems of dangling uno singletons invalidated after the first
dispose and the chain of other singletons that don't expect to need to
re-initialize, etc.

reenable editeng cppunit test

inherit i18npool cppunit test from unotest base

drop LibreOfficeProtector, do "throwable" work in setUp/tearDown not
in ctors/dtors
2012-04-13 13:15:25 +01:00
David Tardon
5fcacd8408 rename gb_CppunitTest_uses_ure 2012-04-08 15:17:45 +02:00
David Tardon
fbbb833dda compile- and run-time use of UNO must be split
There are unit tests that do not use URE, e.g., in cppuhelper.

This reverts commit 33e9f3d3d6.

Conflicts:

	sot/CppunitTest_sot_test_sot.mk
	svl/CppunitTest_svl_urihelper.mk
2012-04-08 15:12:18 +02:00
David Tardon
cd2c512f9f clean up 2012-04-08 14:53:10 +02:00
David Tardon
e5f16b8d3e always use --protector for UNO tests 2012-04-08 14:53:08 +02:00
David Tardon
33e9f3d3d6 drop uses_ure 2012-04-08 14:53:08 +02:00
David Tardon
fe209e78db let use_api handle the use of type rdbs at runtime
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-08 14:53:07 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
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-04-08 01:05:52 +02:00
Norbert Thiebaud
3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
Stephan Bergmann
f66ac29343 Make .component files directly usable within UNO_SERVICES.
* 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-11-11 10:53:23 +01:00
Bjoern Michaelsen
266598b810 adapt i18npool unittests to separate RdbTarget makefile requirement 2011-10-04 18:34:24 +02:00
Michael Meeks
d0edcf0a55 split 'test' into 'unotest' and 'test' to help dependencies 2011-09-28 17:55:26 +01:00
Michael Meeks
90a5396242 disable use of test's unoexceptionprotector for now, to break dep loop 2011-09-28 15:16:48 +01:00
Stephan Bergmann
a30a9f5e18 Added dependency on test so that unoexceptionprotector works in i18npool after all.
Sorry for the noise...
2011-09-16 11:01:33 +02:00
Stephan Bergmann
4893f96ea3 Removed unoexceptionprotector stuff from last commit again; appears not to work here. 2011-09-16 10:50:33 +02:00
Stephan Bergmann
7d1bb036e1 Simplified setting headless mode for smoke-/subsequenttetss.
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-09-16 10:38:06 +02:00
Matúš Kukan
2674376ddf convert i18npool to gbuild 2011-08-17 17:34:23 +02:00