summaryrefslogtreecommitdiff
path: root/sw/qa/unit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-18 17:29:20 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-18 17:29:20 +0100
commit14af38f429f84a75a9dae60d74d41c57efd709f6 (patch)
treeae9bf4a7b7778e740c480e3de31b4afdc3cfa859 /sw/qa/unit
parent0da4cdeac46117c6b6a4e38b037524a8772325f6 (diff)
Missing XComponent.dispose calls in screenshot tests
Change-Id: I5df25a16303719593d40f08d1e7c15e4636a2d02
Diffstat (limited to 'sw/qa/unit')
-rw-r--r--sw/qa/unit/sw-dialogs-test.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sw/qa/unit/sw-dialogs-test.cxx b/sw/qa/unit/sw-dialogs-test.cxx
index 1fb4f7b57ae1..a6f96d9c3211 100644
--- a/sw/qa/unit/sw-dialogs-test.cxx
+++ b/sw/qa/unit/sw-dialogs-test.cxx
@@ -43,6 +43,8 @@ public:
void setUp() override;
+ void tearDown() override;
+
// try to open a dialog
void openAnyDialog();
@@ -78,6 +80,12 @@ void SwDialogsTest::setUp()
(*fn)();
}
+void SwDialogsTest::tearDown()
+{
+ component_->dispose();
+ ScreenshotTest::tearDown();
+}
+
void SwDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
{
// fill map of known dialogs