summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-10-16 18:44:32 +0200
committerMichael Stahl <mstahl@redhat.com>2014-10-20 15:27:03 +0200
commit9a1889f0cb87fe50bb1f6b2afd7ff7c3ebe20590 (patch)
tree92c77b7834135c3bf3206a64a9e76d7acc8dce15
parent6e355d95614e04282620574c89ff63fd3405c14e (diff)
chart2: fix temp file leak caused by missing tearDown() between tests
Change-Id: Ia4ee76743c640c0c5b92ec169e619f6c8788480e
-rw-r--r--chart2/qa/extras/chart2import.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/chart2/qa/extras/chart2import.cxx b/chart2/qa/extras/chart2import.cxx
index 0a70fc986e02..4d0eb237d1e3 100644
--- a/chart2/qa/extras/chart2import.cxx
+++ b/chart2/qa/extras/chart2import.cxx
@@ -54,6 +54,7 @@ public:
void testFlatODSStackedColumnChart();
void testFdo78080();
void testFdo54361();
+ void testFdo54361_1();
void testAutoBackgroundXLSX();
void testTextCanOverlapXLSX();
void testNumberFormatsXLSX();
@@ -84,6 +85,7 @@ public:
CPPUNIT_TEST(testFlatODSStackedColumnChart);
CPPUNIT_TEST(testFdo78080);
CPPUNIT_TEST(testFdo54361);
+ CPPUNIT_TEST(testFdo54361_1);
CPPUNIT_TEST(testAutoBackgroundXLSX);
CPPUNIT_TEST(testTextCanOverlapXLSX);
CPPUNIT_TEST(testNumberFormatsXLSX);
@@ -610,9 +612,13 @@ void Chart2ImportTest::testTransparentBackground(OUString const & filename)
CPPUNIT_ASSERT_MESSAGE("Background needs to be with solid fill style", aStyle == 1);
}
+// 2 test methods here so that tearDown() can dispose the document
void Chart2ImportTest::testFdo54361()
{
testTransparentBackground("fdo54361.xlsx");
+}
+void Chart2ImportTest::testFdo54361_1()
+{
testTransparentBackground("fdo54361-1.xlsx");
}