Author: bodewig
Date: Thu Aug 21 06:13:30 2008
New Revision: 687739
URL: http://svn.apache.org/viewvc?rev=687739&view=rev
Log:
testcase for PR 44659
Modified:
ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/DateUtilsTest.java
Modified:
ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/DateUtilsTest.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/DateUtilsTest.java?rev=687739&r1=687738&r2=687739&view=diff
==============================================================================
--- ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/DateUtilsTest.java
(original)
+++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/DateUtilsTest.java
Thu Aug 21 06:13:30 2008
@@ -42,6 +42,12 @@
assertEquals("2 minutes 1 second", text);
}
+ // https://issues.apache.org/bugzilla/show_bug.cgi?id=44659
+ public void XtestLongElapsedTime(){
+ assertEquals("2926 minutes 13 seconds",
+ DateUtils.formatElapsedTime(1000 * 175573));
+ }
+
public void testDateTimeISO(){
TimeZone timeZone = TimeZone.getTimeZone("GMT+1");
Calendar cal = Calendar.getInstance(timeZone);