Kaydet (Commit) 3d85ec29 authored tarafından Michael Stahl's avatar Michael Stahl

filter: stop leaking temp files in xsltfilter test

Change-Id: Icefec168910ba0b059f4b1887ec67cce8505ffd6
üst 5e27d23d
......@@ -122,6 +122,8 @@ void XsltFilterTest::testXsltCopyNew()
sal_uInt64 size(0);
foo.getSize(size);
CPPUNIT_ASSERT(size > 1000); // check that something happened
foo.close();
osl_removeFile(tempURL.pData);
}
void XsltFilterTest::testXsltCopyOld()
......@@ -182,6 +184,8 @@ void XsltFilterTest::testXsltCopyOld()
sal_uInt64 size(0);
foo.getSize(size);
CPPUNIT_ASSERT(size > 1000); // check that something happened
foo.close();
osl_removeFile(tempURL.pData);
}
CPPUNIT_TEST_SUITE_REGISTRATION(XsltFilterTest);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment