office-gobmx/test
Noel Grandin 6e35794cad terminate XDesktop properly in unit tests
So that the UNO constructor work can continue - where we need the
desktop to be disposed properly so that all UNO constructors objects
have their dispose() called, and they can clean up their global state.

We detect this case by changing a SAL_WARN to an assert in
Desktop::disposing()

(*) in ~ScTabViewShell, don't call EnterHandler, because that tries to
create EditEngine's and other stuff, which crashes
(*) Need a fake singleton so that the servicemanager calls dispose()
 on the AnalysAddIn and we can clear the global variable there.

Change-Id: Id13b51e17afc16fcbbc65d64281cdf847e4a58cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99640
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-07-30 10:49:27 +02:00
..
qa/cppunit
signing-keys
source terminate XDesktop properly in unit tests 2020-07-30 10:49:27 +02:00
user-template
CppunitTest_test_xpath.mk
IwyuFilter_test.yaml replace usage of blacklist with excludelist for IWYU 2020-07-10 02:03:40 +02:00
Library_subsequenttest.mk
Library_test.mk
Library_test_setupvcl.mk
Library_vclbootstrapprotector.mk
Makefile
Module_test.mk
Package_unittest.mk
README
README.vars

Test harness code for C++ unit testing

Many of these tests are run during the build process. In that case on
unix, if a test fails follow the error messages to debug it under gdb.