summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-12 10:01:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-12 10:04:59 +0200
commite4d500221f90d8c75e38107896c8b86ec5a3f683 (patch)
treee21119bc003900c48dda405c159606c0a52c6f4b /sd
parent69ac0fa53b60bc2ab65a2590f3eb3f789bcfc31c (diff)
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
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/sdmodeltestbase.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx
index a5d1133b61dd..e07e46f28e2a 100644
--- a/sd/qa/unit/sdmodeltestbase.hxx
+++ b/sd/qa/unit/sdmodeltestbase.hxx
@@ -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);
}