Kaydet (Commit) 7f96d6d5 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Keep files of failing tests around

(Arguably, such files should be stored in a workdir/CppunitTest/... directory
removed and freshly created before every test run, instead of in TMPDIR.)

Change-Id: Ibf1f54fd3d3f9c354c12067e671196e182ef7159
üst 4036cf9e
......@@ -609,7 +609,6 @@ ScDocShellRef ScBootstrapFixture::saveAndReload(
{
utl::TempFile aTempFile;
aTempFile.EnableKillingFile();
SfxMedium aStoreMedium( aTempFile.GetURL(), STREAM_STD_WRITE );
sal_uInt32 nExportFormat = 0;
if (nFormatType == ODS_FORMAT_TYPE)
......@@ -634,6 +633,7 @@ ScDocShellRef ScBootstrapFixture::saveAndReload(
validate(aTempFile.GetFileName(), test::OOXML);
else if (nFormatType == ODS_FORMAT_TYPE)
validate(aTempFile.GetFileName(), test::ODF);
aTempFile.EnableKillingFile();
return xDocSh;
}
......
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