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
Caolán McNamara
43aabb908e
partially revert the editeng singleton stuff to get build to complete
2012-04-12 13:28:06 +01:00
Kohei Yoshida
5b14929dd4
Handle the correct deletion order of EditDLL in the base class.
...
Turns out that this change affected all cppunit runs.
2012-04-12 00:53:55 -04:00
Michael Stahl
4c50f23f87
LinkTarget.mk: remove gb_LinkTarget_add_package_headers
2012-04-08 01:05:53 +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
Szabolcs Dezsi
d6bc02f8c4
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
2012-04-06 20:03:42 +02:00
Tor Lillqvist
2a1171929e
chmod -x
2012-03-21 13:00:45 +02:00
Markus Mohrhard
fc95d20500
adjust test for the correct dbdata import
2012-03-19 06:18:48 +01:00
Stephan Bergmann
6e67c03dc0
Enable -Wnon-virtual-dtor for GCC 4.6
...
...which has the necessary features to support it.
Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.
cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.
Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Markus Mohrhard
a5c891f59e
add test case for XSpreadsheetDocument
2012-03-01 15:38:02 +01:00
Caolán McNamara
f87e486d29
WaE: C4265: class has virtual functions, but destructor is not virtual
2012-03-01 10:43:57 +00:00
Michael Meeks
1c7c2c0323
test: remove, now redundant dummy dialog.xlc / script.xlc
2012-02-24 16:46:49 +00:00
Caolán McNamara
e7031fb14a
WaE: add virtual dtor
2012-02-21 14:25:44 +00:00
Markus Mohrhard
92009abe68
add testRefresh to XDatabaseRange
...
XDatabase range test case is now finished
2012-02-19 23:52:18 +01:00
Markus Mohrhard
e521ac1a73
this test uses ScNamedRangeObj.ods too
...
TODO: remove the explicit test file dependency from the interface test
code
don't use one of the test files for another class
2012-02-19 23:52:18 +01:00
Markus Mohrhard
cdf0c78990
fix copy&paste error
2012-02-19 01:39:47 +01:00
Markus Mohrhard
7e14aa7af0
complete the XDataPilotTable2 tests
2012-02-19 00:36:09 +01:00
Markus Mohrhard
903a19b0c3
add test for XCellRangeReferrer
2012-02-19 00:36:08 +01:00
Markus Mohrhard
4e1e72dc34
add test code for XCellRangeData
2012-02-17 02:00:25 +01:00
Markus Mohrhard
a5661d7171
add two more test cases to XDatabaseRange
2012-02-16 00:55:18 +01:00
Tor Lillqvist
976cc2360d
WaE: class has virtual functions, but destructor is not virtual
2012-02-13 12:32:38 +02:00
Markus Mohrhard
21b3a9a6be
fix errors with assertion macros
2012-02-12 08:03:29 +01:00
Markus Mohrhard
75b4d17f96
use better assertion macros
2012-02-12 02:47:37 +01:00
Matúš Kukan
5cabaf5a32
fdo#39491 more of unnecessary include paths
2012-02-10 21:41:46 +01:00
Markus Mohrhard
b434637108
WaE at mac tinderbox
2012-02-10 19:42:18 +01:00
Markus Mohrhard
82e349fd80
add XDataPilotTable2 test to ScDatPilotTableObj
2012-02-10 19:19:30 +01:00
Markus Mohrhard
c1589dbd45
add test code for XDataPilotTable2
2012-02-10 19:17:57 +01:00
Takeshi Abe
e7e0455b02
Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("...")) to equalsAscii("...")
2012-02-10 01:59:26 +09:00
Norbert Thiebaud
c857dff7fc
switch to include-based build rather than sourced-based build
2012-02-05 19:34:05 -06:00
Markus Mohrhard
bd6187ae9f
add test for XNameReplace
2012-02-02 00:26:51 +01:00
Caolán McNamara
d1a84bdb80
WaE: add virtual dtors
2012-01-31 13:28:49 +00:00
Stephan Bergmann
2525c93e08
Move definition of static data member to .cxx
2012-01-31 08:41:38 +01:00
Markus Mohrhard
8cab24997a
add test case for XReplaceable
2012-01-30 00:23:07 +01:00
Markus Mohrhard
80502d8462
add interface test for util::XSearchable
2012-01-25 21:13:24 +01:00
Markus Mohrhard
1b973485e6
add XNamed interface test and add this test to ScDataPilotTableObj
2012-01-25 21:13:24 +01:00
Markus Mohrhard
3456c03198
typo
2012-01-24 05:21:24 +01:00
Markus Mohrhard
2aedbd241f
fix WaE
2012-01-24 05:06:45 +01:00
Markus Mohrhard
6c0a262746
add new interface tests for some common data structures
2012-01-23 22:29:15 +01:00
Stephan Bergmann
4a0af6a058
typo
2012-01-23 21:53:24 +01:00
Markus Mohrhard
95780ec739
refactor concept for c++ based subsequenttests
2012-01-23 19:46:46 +01: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
9cf05319a8
pspfontcache is gitignored
2012-01-17 12:03:36 +00:00
Caolán McNamara
a9c29c59be
gbuildify test
2012-01-17 11:33:16 +00:00
Markus Mohrhard
bd0fe3b39c
prevent to include fonts into svg during unit tests
2012-01-15 04:05:21 +01:00
Markus Mohrhard
300b39cca5
don't create lock files for unit tests
...
special thanks to Stephan for the configuration part
2012-01-15 04:05:20 +01:00
Caolán McNamara
66be03c749
wrong depend
2012-01-12 12:43:18 +00:00
Caolán McNamara
7d42c86f66
pesky dependencies
2012-01-12 10:47:10 +00:00
Michael Meeks
165fe63a54
shrink the unit test template directory to save some duplication
2011-12-14 12:46:28 +00:00
Caolán McNamara
7c5a11df60
normalize Red Hat, Inc.
2011-12-06 21:40:20 +00:00
Stephan Bergmann
2a9c1d1a75
Make dialogs fail with an exception in headless tests.
2011-12-06 20:28:56 +01:00