You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/01/22 19:18:22 UTC
svn commit: r902201 [2/2] - in
/commons/proper/math/trunk/src/test/java/org/apache/commons/math:
analysis/integration/ analysis/interpolation/ analysis/solvers/ estimation/
geometry/ linear/ ode/ ode/nonstiff/ ode/sampling/ optimization/general/
random...
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/MultivariateSummaryStatisticsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/MultivariateSummaryStatisticsTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/MultivariateSummaryStatisticsTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/MultivariateSummaryStatisticsTest.java Fri Jan 22 18:18:16 2010
@@ -19,9 +19,7 @@
import java.util.Locale;
-import junit.framework.Test;
import junit.framework.TestCase;
-import junit.framework.TestSuite;
import org.apache.commons.math.DimensionMismatchException;
import org.apache.commons.math.TestUtils;
@@ -39,12 +37,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(MultivariateSummaryStatisticsTest.class);
- suite.setName("MultivariateSummaryStatistics tests");
- return suite;
- }
-
protected MultivariateSummaryStatistics createMultivariateSummaryStatistics(int k, boolean isCovarianceBiasCorrected) {
return new MultivariateSummaryStatistics(k, isCovarianceBiasCorrected);
}
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/StatisticalSummaryValuesTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/StatisticalSummaryValuesTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/StatisticalSummaryValuesTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/StatisticalSummaryValuesTest.java Fri Jan 22 18:18:16 2010
@@ -17,9 +17,7 @@
package org.apache.commons.math.stat.descriptive;
-import junit.framework.Test;
import junit.framework.TestCase;
-import junit.framework.TestSuite;
import org.apache.commons.math.TestUtils;
/**
@@ -35,12 +33,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(StatisticalSummaryValuesTest.class);
- suite.setName("StatisticalSummaryValues Tests");
- return suite;
- }
-
public void testSerialization() {
StatisticalSummaryValues u = new StatisticalSummaryValues(1, 2, 3, 4, 5, 6);
TestUtils.checkSerializedEquality(u);
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SummaryStatisticsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SummaryStatisticsTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SummaryStatisticsTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SummaryStatisticsTest.java Fri Jan 22 18:18:16 2010
@@ -16,10 +16,7 @@
*/
package org.apache.commons.math.stat.descriptive;
-
-import junit.framework.Test;
import junit.framework.TestCase;
-import junit.framework.TestSuite;
import org.apache.commons.math.TestUtils;
import org.apache.commons.math.stat.descriptive.moment.Mean;
@@ -46,12 +43,6 @@
private double max = 3;
private double tolerance = 10E-15;
- public static Test suite() {
- TestSuite suite = new TestSuite(SummaryStatisticsTest.class);
- suite.setName("SummaryStatistics tests");
- return suite;
- }
-
public SummaryStatisticsTest(String name) {
super(name);
}
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SynchronizedDescriptiveStatisticsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SynchronizedDescriptiveStatisticsTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SynchronizedDescriptiveStatisticsTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SynchronizedDescriptiveStatisticsTest.java Fri Jan 22 18:18:16 2010
@@ -13,8 +13,6 @@
*/
package org.apache.commons.math.stat.descriptive;
-import junit.framework.Test;
-import junit.framework.TestSuite;
/**
* Test cases for the {@link SynchronizedDescriptiveStatisticsTest} class.
@@ -27,12 +25,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(SynchronizedDescriptiveStatisticsTest.class);
- suite.setName("SynchronizedDescriptiveStatistics Tests");
- return suite;
- }
-
@Override
protected DescriptiveStatistics createDescriptiveStatistics() {
return new SynchronizedDescriptiveStatistics();
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SynchronizedMultivariateSummaryStatisticsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SynchronizedMultivariateSummaryStatisticsTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SynchronizedMultivariateSummaryStatisticsTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SynchronizedMultivariateSummaryStatisticsTest.java Fri Jan 22 18:18:16 2010
@@ -13,8 +13,6 @@
*/
package org.apache.commons.math.stat.descriptive;
-import junit.framework.Test;
-import junit.framework.TestSuite;
/**
* Test cases for the {@link SynchronizedMultivariateSummaryStatisticsTest} class.
@@ -27,12 +25,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(SynchronizedMultivariateSummaryStatisticsTest.class);
- suite.setName("SynchronizedMultivariateSummaryStatistics Tests");
- return suite;
- }
-
@Override
protected MultivariateSummaryStatistics createMultivariateSummaryStatistics(int k, boolean isCovarianceBiasCorrected) {
return new SynchronizedMultivariateSummaryStatistics(k, isCovarianceBiasCorrected);
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SynchronizedSummaryStatisticsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SynchronizedSummaryStatisticsTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SynchronizedSummaryStatisticsTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/SynchronizedSummaryStatisticsTest.java Fri Jan 22 18:18:16 2010
@@ -13,9 +13,6 @@
*/
package org.apache.commons.math.stat.descriptive;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
/**
* Test cases for the {@link SynchronizedSummaryStatisticsTest} class.
* @version $Revision$ $Date: 2007-08-16 15:36:33 -0500 (Thu, 16 Aug
@@ -27,12 +24,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(SynchronizedSummaryStatisticsTest.class);
- suite.setName("SynchronizedSummaryStatistics Tests");
- return suite;
- }
-
@Override
protected SummaryStatistics createSummaryStatistics() {
return new SynchronizedSummaryStatistics();
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/UnivariateStatisticAbstractTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/UnivariateStatisticAbstractTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/UnivariateStatisticAbstractTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/UnivariateStatisticAbstractTest.java Fri Jan 22 18:18:16 2010
@@ -16,7 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive;
-import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/GeometricMeanTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/GeometricMeanTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/GeometricMeanTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/GeometricMeanTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.moment;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest;
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
@@ -37,12 +34,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(GeometricMeanTest.class);
- suite.setName("Mean Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/KurtosisTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/KurtosisTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/KurtosisTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/KurtosisTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.moment;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest;
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
@@ -37,12 +34,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(KurtosisTest.class);
- suite.setName("Kurtosis Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/MeanTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/MeanTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/MeanTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/MeanTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.moment;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest;
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
@@ -37,12 +34,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(MeanTest.class);
- suite.setName("Mean Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/SkewnessTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/SkewnessTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/SkewnessTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/SkewnessTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.moment;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest;
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
@@ -46,12 +43,6 @@
return new Skewness();
}
- public static Test suite() {
- TestSuite suite = new TestSuite(SkewnessTest.class);
- suite.setName("Skewness Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/StandardDeviationTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/StandardDeviationTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/StandardDeviationTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/StandardDeviationTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.moment;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest;
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
@@ -46,12 +43,6 @@
return new StandardDeviation();
}
- public static Test suite() {
- TestSuite suite = new TestSuite(StandardDeviationTest.class);
- suite.setName("StandardDeviation Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/VarianceTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/VarianceTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/VarianceTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/VarianceTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.moment;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest;
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
import org.apache.commons.math.util.MathUtils;
@@ -47,12 +44,6 @@
return new Variance();
}
- public static Test suite() {
- TestSuite suite = new TestSuite(VarianceTest.class);
- suite.setName("Variance Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/VectorialCovarianceTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/VectorialCovarianceTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/VectorialCovarianceTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/VectorialCovarianceTest.java Fri Jan 22 18:18:16 2010
@@ -17,14 +17,12 @@
package org.apache.commons.math.stat.descriptive.moment;
+import junit.framework.TestCase;
+
import org.apache.commons.math.DimensionMismatchException;
import org.apache.commons.math.TestUtils;
import org.apache.commons.math.linear.RealMatrix;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
public class VectorialCovarianceTest
extends TestCase {
@@ -100,10 +98,6 @@
points = null;
}
- public static Test suite() {
- return new TestSuite(VectorialCovarianceTest.class);
- }
-
private double [][] points;
}
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/VectorialMeanTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/VectorialMeanTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/VectorialMeanTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/moment/VectorialMeanTest.java Fri Jan 22 18:18:16 2010
@@ -17,13 +17,11 @@
package org.apache.commons.math.stat.descriptive.moment;
+import junit.framework.TestCase;
+
import org.apache.commons.math.DimensionMismatchException;
import org.apache.commons.math.TestUtils;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
public class VectorialMeanTest
extends TestCase {
@@ -94,10 +92,6 @@
points = null;
}
- public static Test suite() {
- return new TestSuite(VectorialMeanTest.class);
- }
-
private double [][] points;
}
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/MaxTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/MaxTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/MaxTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/MaxTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.rank;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest;
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
@@ -37,12 +34,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(MaxTest.class);
- suite.setName("Max Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/MedianTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/MedianTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/MedianTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/MedianTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.rank;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
import org.apache.commons.math.stat.descriptive.UnivariateStatisticAbstractTest;
@@ -37,12 +34,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(MedianTest.class);
- suite.setName("Median Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/MinTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/MinTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/MinTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/MinTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.rank;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest;
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
@@ -37,12 +34,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(MinTest.class);
- suite.setName("Min Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/PercentileTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/PercentileTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/PercentileTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/rank/PercentileTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.rank;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
import org.apache.commons.math.stat.descriptive.UnivariateStatisticAbstractTest;
@@ -37,12 +34,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(PercentileTest.class);
- suite.setName("Percentile Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/ProductTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/ProductTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/ProductTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/ProductTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.summary;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest;
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
@@ -37,12 +34,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(ProductTest.class);
- suite.setName("Product Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/SumLogTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/SumLogTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/SumLogTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/SumLogTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.summary;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest;
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
@@ -37,12 +34,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(SumLogTest.class);
- suite.setName("SumLog Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/SumSqTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/SumSqTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/SumSqTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/SumSqTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.summary;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest;
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
@@ -38,12 +35,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(SumSqTest.class);
- suite.setName("SumSq Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/SumTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/SumTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/SumTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/descriptive/summary/SumTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,6 @@
*/
package org.apache.commons.math.stat.descriptive.summary;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest;
import org.apache.commons.math.stat.descriptive.UnivariateStatistic;
@@ -37,12 +34,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(SumTest.class);
- suite.setName("Sum Tests");
- return suite;
- }
-
/**
* {@inheritDoc}
*/
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/ChiSquareFactoryTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/ChiSquareFactoryTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/ChiSquareFactoryTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/ChiSquareFactoryTest.java Fri Jan 22 18:18:16 2010
@@ -15,8 +15,6 @@
* limitations under the License.
*/
package org.apache.commons.math.stat.inference;
-import junit.framework.Test;
-import junit.framework.TestSuite;
/**
* Test cases for the ChiSquareTestFactory.
@@ -36,9 +34,4 @@
testStatistic = TestUtils.getUnknownDistributionChiSquareTest();
}
- public static Test suite() {
- TestSuite suite = new TestSuite(ChiSquareFactoryTest.class);
- suite.setName("ChiSquareTestFactory Tests");
- return suite;
- }
}
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/ChiSquareTestTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/ChiSquareTestTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/ChiSquareTestTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/ChiSquareTestTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,7 @@
*/
package org.apache.commons.math.stat.inference;
-import junit.framework.Test;
import junit.framework.TestCase;
-import junit.framework.TestSuite;
/**
* Test cases for the ChiSquareTestImpl class.
@@ -34,12 +32,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(ChiSquareTestTest.class);
- suite.setName("TestStatistic Tests");
- return suite;
- }
-
public void testChiSquare() throws Exception {
// Target values computed using R version 1.8.1
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/OneWayAnovaTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/OneWayAnovaTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/OneWayAnovaTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/OneWayAnovaTest.java Fri Jan 22 18:18:16 2010
@@ -16,13 +16,11 @@
*/
package org.apache.commons.math.stat.inference;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
import java.util.ArrayList;
import java.util.List;
+import junit.framework.TestCase;
+
/**
* Test cases for the OneWayAnovaImpl class.
*
@@ -46,12 +44,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(OneWayAnovaTest.class);
- suite.setName("TestStatistic Tests");
- return suite;
- }
-
public void testAnovaFValue() throws Exception {
// Target comparison values computed using R version 2.6.0 (Linux version)
List<double[]> threeClasses = new ArrayList<double[]>();
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/TTestFactoryTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/TTestFactoryTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/TTestFactoryTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/TTestFactoryTest.java Fri Jan 22 18:18:16 2010
@@ -15,8 +15,6 @@
* limitations under the License.
*/
package org.apache.commons.math.stat.inference;
-import junit.framework.Test;
-import junit.framework.TestSuite;
/**
* Test cases for the TTestTestFactory.
@@ -36,9 +34,4 @@
testStatistic = TestUtils.getTTest();
}
- public static Test suite() {
- TestSuite suite = new TestSuite(TTestFactoryTest.class);
- suite.setName("TTestFactory Tests");
- return suite;
- }
}
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/TTestTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/TTestTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/TTestTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/TTestTest.java Fri Jan 22 18:18:16 2010
@@ -16,9 +16,7 @@
*/
package org.apache.commons.math.stat.inference;
-import junit.framework.Test;
import junit.framework.TestCase;
-import junit.framework.TestSuite;
import org.apache.commons.math.stat.descriptive.SummaryStatistics;
/**
@@ -46,12 +44,6 @@
tooShortStats.addValue(0d);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(TTestTest.class);
- suite.setName("TestStatistic Tests");
- return suite;
- }
-
public void testOneSampleT() throws Exception {
double[] observed =
{93.0, 103.0, 95.0, 101.0, 91.0, 105.0, 96.0, 94.0, 101.0, 88.0, 98.0, 94.0, 101.0, 92.0, 95.0 };
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/TestUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/TestUtilsTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/TestUtilsTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/inference/TestUtilsTest.java Fri Jan 22 18:18:16 2010
@@ -19,9 +19,8 @@
import java.util.ArrayList;
import java.util.List;
-import junit.framework.Test;
import junit.framework.TestCase;
-import junit.framework.TestSuite;
+
import org.apache.commons.math.stat.descriptive.SummaryStatistics;
/**
* Test cases for the TestUtils class.
@@ -35,12 +34,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(TestUtilsTest.class);
- suite.setName("TestUtils Tests");
- return suite;
- }
-
public void testChiSquare() throws Exception {
// Target values computed using R version 1.8.1
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/regression/SimpleRegressionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/regression/SimpleRegressionTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/regression/SimpleRegressionTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/regression/SimpleRegressionTest.java Fri Jan 22 18:18:16 2010
@@ -18,9 +18,8 @@
import java.util.Random;
-import junit.framework.Test;
import junit.framework.TestCase;
-import junit.framework.TestSuite;
+
/**
* Test cases for the TestStatistic class.
*
@@ -82,12 +81,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(SimpleRegressionTest.class);
- suite.setName("BivariateRegression Tests");
- return suite;
- }
-
public void testNorris() {
SimpleRegression regression = new SimpleRegression();
for (int i = 0; i < data.length; i++) {
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/MathUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/MathUtilsTest.java?rev=902201&r1=902200&r2=902201&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/MathUtilsTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/MathUtilsTest.java Fri Jan 22 18:18:16 2010
@@ -20,12 +20,10 @@
import java.util.List;
import java.util.Map;
-import junit.framework.Test;
import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.apache.commons.math.random.RandomDataImpl;
import org.apache.commons.math.TestUtils;
+import org.apache.commons.math.random.RandomDataImpl;
/**
* Test cases for the MathUtils class.
@@ -38,12 +36,6 @@
super(name);
}
- public static Test suite() {
- TestSuite suite = new TestSuite(MathUtilsTest.class);
- suite.setName("MathUtils Tests");
- return suite;
- }
-
/** cached binomial coefficients */
private static final List<Map<Integer, Long>> binomialCache = new ArrayList<Map<Integer, Long>>();