commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang/functor TestFactoryUtils.java
Date Sun, 15 Dec 2002 17:03:41 GMT
scolebourne    2002/12/15 09:03:41

  Modified:    lang/src/test/org/apache/commons/lang/functor
                        TestFactoryUtils.java
  Log:
  Try to give the test a better chance of passing on slow CPUs
  
  Revision  Changes    Path
  1.2       +2 -2      jakarta-commons/lang/src/test/org/apache/commons/lang/functor/TestFactoryUtils.java
  
  Index: TestFactoryUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/functor/TestFactoryUtils.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestFactoryUtils.java	5 Nov 2002 16:45:13 -0000	1.1
  +++ TestFactoryUtils.java	15 Dec 2002 17:03:41 -0000	1.2
  @@ -257,7 +257,7 @@
           assertNotNull(factory);
           Object created = factory.create();
           assertTrue(created instanceof Date);
  -        assertEquals((double) System.currentTimeMillis(), (double) ((Date) created).getTime(),
0.01d);
  +        assertEquals((double) System.currentTimeMillis(), (double) ((Date) created).getTime(),
0.05d);
       }
   
       public void testReflectionFactoryMismatch() {
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message