diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-02-06 21:05:42 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-02-07 09:13:50 +0100 |
commit | 75a7932bb4e5732467eb976046d6d9aab5d20640 (patch) | |
tree | feff53d298a357d4f6b7d2f98d2a4988a1ebaaff /test | |
parent | 3fd32d48bf7d59175c59a224cf7a481eee5c158a (diff) |
test: move component context from subclasses to BootstrapFixture
To avoid duplication.
Change-Id: I0ee7c26d5d55bd868ead04c77e7f4ef2582f90e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88138
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/source/bootstrapfixture.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx index 7e71b34ccaed..771c1fe482d9 100644 --- a/test/source/bootstrapfixture.cxx +++ b/test/source/bootstrapfixture.cxx @@ -108,6 +108,8 @@ void test::BootstrapFixture::setUp() #if OSL_DEBUG_LEVEL > 0 Scheduler::ProcessEventsToIdle(); #endif + + mxComponentContext.set(comphelper::getComponentContext(getMultiServiceFactory())); } test::BootstrapFixture::~BootstrapFixture() |