Removed last occurrences of "MathException" (appearing as a string and in
a commented-out unit test.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243466 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2012-02-13 10:25:09 +00:00
parent d2734aae66
commit d429505103
3 changed files with 6 additions and 8 deletions

View File

@ -52,6 +52,9 @@ The <action> type attribute can be add,update,fix,remove.
If the output is not quite correct, check for invisible trailing spaces! If the output is not quite correct, check for invisible trailing spaces!
--> -->
<release version="3.0" date="TBD" description="TBD"> <release version="3.0" date="TBD" description="TBD">
<action dev="erans" type="update" issue="MATH-459">
Removed "MathRuntimeException" (from package "o.a.c.math").
</action>
<action dev="tn" type="fix" issue="MATH-739"> <action dev="tn" type="fix" issue="MATH-739">
Merged interface and implementation of statistical tests in Merged interface and implementation of statistical tests in
o.a.c.m.stat.inference package. o.a.c.m.stat.inference package.

View File

@ -714,7 +714,7 @@ public class MillerUpdatingRegressionTest {
} }
// @Test // @Test
// public void testRegressReorder() throws MathException { // public void testRegressReorder() {
// // System.out.println("testRegressReorder"); // // System.out.println("testRegressReorder");
// MillerUpdatingRegression instance = new MillerUpdatingRegression(4, false); // MillerUpdatingRegression instance = new MillerUpdatingRegression(4, false);
// double[][] x = new double[airdata[0].length][]; // double[][] x = new double[airdata[0].length][];

View File

@ -91,16 +91,11 @@ public class DefaultTransformerTest {
/** /**
* *
*/ */
@Test @Test(expected=MathIllegalArgumentException.class)
public void testTransformObject(){ public void testTransformObject(){
Boolean input = Boolean.TRUE; Boolean input = Boolean.TRUE;
DefaultTransformer t = new DefaultTransformer(); DefaultTransformer t = new DefaultTransformer();
try { t.transform(input);
t.transform(input);
Assert.fail("Expecting MathException");
} catch (MathIllegalArgumentException e) {
// expected
}
} }
@Test @Test