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 2002/12/15 18:03:41 UTC

cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang/functor TestFactoryUtils.java

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>