diff --git a/src/site/xdoc/changes.xml b/src/site/xdoc/changes.xml index fb365d118..60ac6269d 100644 --- a/src/site/xdoc/changes.xml +++ b/src/site/xdoc/changes.xml @@ -52,6 +52,9 @@ The type attribute can be add,update,fix,remove. If the output is not quite correct, check for invisible trailing spaces! --> + + Removed "MathRuntimeException" (from package "o.a.c.math"). + Merged interface and implementation of statistical tests in o.a.c.m.stat.inference package. diff --git a/src/test/java/org/apache/commons/math/stat/regression/MillerUpdatingRegressionTest.java b/src/test/java/org/apache/commons/math/stat/regression/MillerUpdatingRegressionTest.java index 807db0cf2..4196880db 100644 --- a/src/test/java/org/apache/commons/math/stat/regression/MillerUpdatingRegressionTest.java +++ b/src/test/java/org/apache/commons/math/stat/regression/MillerUpdatingRegressionTest.java @@ -714,7 +714,7 @@ public class MillerUpdatingRegressionTest { } // @Test -// public void testRegressReorder() throws MathException { +// public void testRegressReorder() { // // System.out.println("testRegressReorder"); // MillerUpdatingRegression instance = new MillerUpdatingRegression(4, false); // double[][] x = new double[airdata[0].length][]; diff --git a/src/test/java/org/apache/commons/math/util/DefaultTransformerTest.java b/src/test/java/org/apache/commons/math/util/DefaultTransformerTest.java index 38c7c5e8d..f7fed1ca3 100644 --- a/src/test/java/org/apache/commons/math/util/DefaultTransformerTest.java +++ b/src/test/java/org/apache/commons/math/util/DefaultTransformerTest.java @@ -91,16 +91,11 @@ public class DefaultTransformerTest { /** * */ - @Test + @Test(expected=MathIllegalArgumentException.class) public void testTransformObject(){ Boolean input = Boolean.TRUE; DefaultTransformer t = new DefaultTransformer(); - try { - t.transform(input); - Assert.fail("Expecting MathException"); - } catch (MathIllegalArgumentException e) { - // expected - } + t.transform(input); } @Test