Kaydet (Commit) e4d50022 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: I12e5073f4e8098cfd99456101fbc2d6ab919f093
üst 69ac0fa5
......@@ -175,7 +175,6 @@ protected:
{
FileFormat* pFormat = getFormat(nExportType);
utl::TempFile aTempFile;
aTempFile.EnableKillingFile();
save(pShell, pFormat, aTempFile);
if(nExportType == ODP)
{
......@@ -185,6 +184,7 @@ protected:
{
BootstrapFixture::validate(aTempFile.GetFileName(), test::OOXML);
}
aTempFile.EnableKillingFile();
return loadURL(aTempFile.GetURL(), nExportType);
}
......
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