incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liu...@apache.org
Subject svn commit: r1387926 - /incubator/ooo/trunk/test/testcommon/source/org/openoffice/test/common/XMLReporter.java
Date Thu, 20 Sep 2012 09:17:50 GMT
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);
 		}
 		



Mime
View raw message