[Libreoffice-commits] core.git: sw/qa
Andrew Lee (æå¥ç§) (via logerrit)
logerrit at kemper.freedesktop.org
Sat Mar 7 16:48:16 UTC 2020
sw/qa/extras/tiledrendering/tiledrendering.cxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 8905ed739110050f713c3f8030bd747fed1cb0dc
Author: Andrew Lee (李健秋) <andrew.lee at collabora.com>
AuthorDate: Sat Mar 7 19:10:02 2020 +0800
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Sat Mar 7 17:47:38 2020 +0100
Add single setActive for all tests in tiledrendering module
Originally there are 'setActive' in the 1st call of each tests in the
tiledrendering module.
Here we add a single setActive to replace the 1st call of each tests.
Signed-off-by: Andrew Lee (李健秋) <andrew.lee at collabora.co.uk>
Change-Id: I7e8a6fa39d2d4bf0e4eab2e30cbee7437e59ef9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90157
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx
index 214b6352f9f6..2062b937ac9a 100644
--- a/sw/qa/extras/tiledrendering/tiledrendering.cxx
+++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx
@@ -62,6 +62,7 @@ class SwTiledRenderingTest : public SwModelTestBase
{
public:
SwTiledRenderingTest();
+ virtual void setUp() override;
virtual void tearDown() override;
void testRegisterCallback();
void testPostKeyEvent();
@@ -220,6 +221,13 @@ SwTiledRenderingTest::SwTiledRenderingTest()
{
}
+void SwTiledRenderingTest::setUp()
+{
+ SwModelTestBase::setUp();
+
+ comphelper::LibreOfficeKit::setActive(true);
+}
+
void SwTiledRenderingTest::tearDown()
{
if (mxComponent.is())
More information about the Libreoffice-commits
mailing list