You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/06/24 23:13:56 UTC
cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang/time StopWatchTest.java
scolebourne 2003/06/24 14:13:55
Modified: lang/src/test/org/apache/commons/lang/time
StopWatchTest.java
Log:
Relax tests so it passes more often
Revision Changes Path
1.4 +6 -6 jakarta-commons/lang/src/test/org/apache/commons/lang/time/StopWatchTest.java
Index: StopWatchTest.java
===================================================================
RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/time/StopWatchTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- StopWatchTest.java 8 Jun 2003 23:14:23 -0000 1.3
+++ StopWatchTest.java 24 Jun 2003 21:13:55 -0000 1.4
@@ -91,7 +91,7 @@
assertEquals(time, watch.getTime());
assertTrue(time >= 500);
- assertTrue(time < 650);
+ assertTrue(time < 700);
watch.reset();
assertEquals(0, watch.getTime());
@@ -111,9 +111,9 @@
// System.err.println(splitTime +" "+totalTime);
assertTrue(splitTime >= 500);
- assertTrue(splitTime < 650);
+ assertTrue(splitTime < 700);
assertTrue(totalTime >= 1500);
- assertTrue(totalTime < 1800);
+ assertTrue(totalTime < 1900);
}
public void testStopWatchSuspend(){
@@ -130,9 +130,9 @@
// System.err.println(suspendTime +" "+totalTime);
assertTrue(suspendTime >= 500);
- assertTrue(suspendTime < 600);
+ assertTrue(suspendTime < 700);
assertTrue(totalTime >= 1000);
- assertTrue(totalTime < 1200);
+ assertTrue(totalTime < 1300);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org