commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject cvs commit: jakarta-commons/math/src/test/org/apache/commons/math/random EmpiricalDistributionTest.java RandomDataTest.java ValueServerTest.java
Date Sun, 07 Mar 2004 16:32:44 GMT
psteitz     2004/03/07 08:32:44

  Modified:    math/src/test/org/apache/commons/math/random
                        EmpiricalDistributionTest.java RandomDataTest.java
                        ValueServerTest.java
  Log:
  Changed to extend RetryTestCase to allow retries when statistical tests fail.
  
  Revision  Changes    Path
  1.15      +3 -2      jakarta-commons/math/src/test/org/apache/commons/math/random/EmpiricalDistributionTest.java
  
  Index: EmpiricalDistributionTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/test/org/apache/commons/math/random/EmpiricalDistributionTest.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- EmpiricalDistributionTest.java	21 Feb 2004 21:35:17 -0000	1.14
  +++ EmpiricalDistributionTest.java	7 Mar 2004 16:32:44 -0000	1.15
  @@ -27,6 +27,7 @@
   import java.util.ArrayList;
   import java.util.Iterator;
   
  +import org.apache.commons.math.RetryTestCase;
   import org.apache.commons.math.stat.SummaryStatistics;
   
   /**
  @@ -35,7 +36,7 @@
    * @version $Revision$ $Date$
    */
   
  -public final class EmpiricalDistributionTest extends TestCase {
  +public final class EmpiricalDistributionTest extends RetryTestCase {
   
       protected EmpiricalDistribution empiricalDistribution = null;
       protected EmpiricalDistribution empiricalDistribution2 = null;
  
  
  
  1.13      +3 -2      jakarta-commons/math/src/test/org/apache/commons/math/random/RandomDataTest.java
  
  Index: RandomDataTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/test/org/apache/commons/math/random/RandomDataTest.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- RandomDataTest.java	21 Feb 2004 21:35:17 -0000	1.12
  +++ RandomDataTest.java	7 Mar 2004 16:32:44 -0000	1.13
  @@ -22,6 +22,7 @@
   import java.security.NoSuchAlgorithmException;
   import java.util.HashSet;
   
  +import org.apache.commons.math.RetryTestCase;
   import org.apache.commons.math.stat.Frequency;
   import org.apache.commons.math.stat.SummaryStatistics;
   import org.apache.commons.math.stat.TestStatisticImpl;
  @@ -32,7 +33,7 @@
    * @version $Revision$ $Date$
    */
   
  -public final class RandomDataTest extends TestCase {
  +public final class RandomDataTest extends RetryTestCase {
   
       public RandomDataTest(String name) {
           super(name);
  
  
  
  1.14      +3 -2      jakarta-commons/math/src/test/org/apache/commons/math/random/ValueServerTest.java
  
  Index: ValueServerTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/test/org/apache/commons/math/random/ValueServerTest.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ValueServerTest.java	21 Feb 2004 21:35:17 -0000	1.13
  +++ ValueServerTest.java	7 Mar 2004 16:32:44 -0000	1.14
  @@ -20,6 +20,7 @@
   import junit.framework.TestSuite;
   import java.net.URL;
   
  +import org.apache.commons.math.RetryTestCase;
   import org.apache.commons.math.stat.SummaryStatistics;
    
   /**
  @@ -28,7 +29,7 @@
    * @version $Revision$ $Date$
    */
   
  -public final class ValueServerTest extends TestCase {
  +public final class ValueServerTest extends RetryTestCase {
   
       private ValueServer vs = new ValueServer();
       
  
  
  

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


Mime
View raw message