You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by li...@apache.org on 2012/09/20 11:17:50 UTC

svn commit: r1387926 - /incubator/ooo/trunk/test/testcommon/source/org/openoffice/test/common/XMLReporter.java

Author: liuzhe
Date: Thu Sep 20 09:17:50 2012
New Revision: 1387926

URL: http://svn.apache.org/viewvc?rev=1387926&view=rev
Log:
Keep old result! Don't remove it.

Modified:
    incubator/ooo/trunk/test/testcommon/source/org/openoffice/test/common/XMLReporter.java

Modified: incubator/ooo/trunk/test/testcommon/source/org/openoffice/test/common/XMLReporter.java
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testcommon/source/org/openoffice/test/common/XMLReporter.java?rev=1387926&r1=1387925&r2=1387926&view=diff
==============================================================================
--- incubator/ooo/trunk/test/testcommon/source/org/openoffice/test/common/XMLReporter.java (original)
+++ incubator/ooo/trunk/test/testcommon/source/org/openoffice/test/common/XMLReporter.java Thu Sep 20 09:17:50 2012
@@ -121,6 +121,7 @@ public class XMLReporter extends RunList
 		finishSuite();
 		File outputBackupDir = new File(outputDir.getAbsolutePath() + "." + suiteName);
 		if (outputBackupDir.exists()) {
+			outputBackupDir.renameTo(new File(outputBackupDir.getAbsolutePath() + "." + System.currentTimeMillis()));
 			FileUtil.deleteFile(outputBackupDir);
 		}