From 9a1889f0cb87fe50bb1f6b2afd7ff7c3ebe20590 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 16 Oct 2014 18:44:32 +0200 Subject: chart2: fix temp file leak caused by missing tearDown() between tests Change-Id: Ia4ee76743c640c0c5b92ec169e619f6c8788480e --- chart2/qa/extras/chart2import.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chart2') 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"); } -- cgit