commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1453287 - in /commons/proper/math/trunk/src: changes/ test/java/org/apache/commons/math3/ test/java/org/apache/commons/math3/analysis/differentiation/ test/java/org/apache/commons/math3/dfp/ test/java/org/apache/commons/math3/util/
Date Wed, 06 Mar 2013 10:59:33 GMT
Author: luc
Date: Wed Mar  6 10:59:33 2013
New Revision: 1453287

URL: http://svn.apache.org/r1453287
Log:
Fixed abstract test class naming that broke ant builds.

JIRA: MATH-940

Added:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ExtendedFieldElementAbstractTest.java
  (contents, props changed)
      - copied, changed from r1453271, commons/proper/math/trunk/src/test/java/org/apache/commons/math3/AbstractExtendedFieldElementTest.java
Removed:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/AbstractExtendedFieldElementTest.java
Modified:
    commons/proper/math/trunk/src/changes/changes.xml
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation/DerivativeStructureTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/dfp/DfpTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/Decimal64Test.java

Modified: commons/proper/math/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/changes/changes.xml?rev=1453287&r1=1453286&r2=1453287&view=diff
==============================================================================
--- commons/proper/math/trunk/src/changes/changes.xml (original)
+++ commons/proper/math/trunk/src/changes/changes.xml Wed Mar  6 10:59:33 2013
@@ -55,6 +55,9 @@ This is a minor release: It combines bug
   Changes to existing features were made in a backwards-compatible
   way such as to allow drop-in replacement of the v3.1[.1] JAR file.
 ">
+      <action dev="luc" type="fix" issue="MATH-940" due-to="Piotr Wydrych" >
+        Fixed abstract test class naming that broke ant builds.
+      </action>
       <action dev="luc" type="fix" issue="MATH-939" due-to="Piotr Wydrych" >
         Allow covariance to be computed for one-dimensional variables.
       </action>

Copied: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ExtendedFieldElementAbstractTest.java
(from r1453271, commons/proper/math/trunk/src/test/java/org/apache/commons/math3/AbstractExtendedFieldElementTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ExtendedFieldElementAbstractTest.java?p2=commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ExtendedFieldElementAbstractTest.java&p1=commons/proper/math/trunk/src/test/java/org/apache/commons/math3/AbstractExtendedFieldElementTest.java&r1=1453271&r2=1453287&rev=1453287&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/AbstractExtendedFieldElementTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ExtendedFieldElementAbstractTest.java
Wed Mar  6 10:59:33 2013
@@ -23,7 +23,7 @@ import org.apache.commons.math3.util.Mat
 import org.junit.Assert;
 import org.junit.Test;
 
-public abstract class AbstractExtendedFieldElementTest<T extends ExtendedFieldElement<T>>
{
+public abstract class ExtendedFieldElementAbstractTest<T extends ExtendedFieldElement<T>>
{
 
     protected abstract T build(double x);
 

Propchange: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ExtendedFieldElementAbstractTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ExtendedFieldElementAbstractTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation/DerivativeStructureTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation/DerivativeStructureTest.java?rev=1453287&r1=1453286&r2=1453287&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation/DerivativeStructureTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation/DerivativeStructureTest.java
Wed Mar  6 10:59:33 2013
@@ -20,7 +20,7 @@ package org.apache.commons.math3.analysi
 import java.util.Arrays;
 import java.util.List;
 
-import org.apache.commons.math3.AbstractExtendedFieldElementTest;
+import org.apache.commons.math3.ExtendedFieldElementAbstractTest;
 import org.apache.commons.math3.TestUtils;
 import org.apache.commons.math3.analysis.polynomials.PolynomialFunction;
 import org.apache.commons.math3.exception.DimensionMismatchException;
@@ -34,7 +34,7 @@ import org.junit.Test;
 /**
  * Test for class {@link DerivativeStructure}.
  */
-public class DerivativeStructureTest extends AbstractExtendedFieldElementTest<DerivativeStructure>
{
+public class DerivativeStructureTest extends ExtendedFieldElementAbstractTest<DerivativeStructure>
{
 
     protected DerivativeStructure build(final double x) {
         return new DerivativeStructure(2, 1, 0, x);

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/dfp/DfpTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/dfp/DfpTest.java?rev=1453287&r1=1453286&r2=1453287&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/dfp/DfpTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/dfp/DfpTest.java Wed
Mar  6 10:59:33 2013
@@ -17,7 +17,7 @@
 
 package org.apache.commons.math3.dfp;
 
-import org.apache.commons.math3.AbstractExtendedFieldElementTest;
+import org.apache.commons.math3.ExtendedFieldElementAbstractTest;
 import org.apache.commons.math3.util.FastMath;
 import org.apache.commons.math3.util.Precision;
 import org.junit.After;
@@ -25,7 +25,7 @@ import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
 
-public class DfpTest extends AbstractExtendedFieldElementTest<Dfp> {
+public class DfpTest extends ExtendedFieldElementAbstractTest<Dfp> {
 
     protected Dfp build(final double x) {
         return field.newDfp(x);

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/Decimal64Test.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/Decimal64Test.java?rev=1453287&r1=1453286&r2=1453287&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/Decimal64Test.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/Decimal64Test.java
Wed Mar  6 10:59:33 2013
@@ -16,12 +16,12 @@
  */
 package org.apache.commons.math3.util;
 
-import org.apache.commons.math3.AbstractExtendedFieldElementTest;
+import org.apache.commons.math3.ExtendedFieldElementAbstractTest;
 import org.junit.Assert;
 
 import org.junit.Test;
 
-public class Decimal64Test extends AbstractExtendedFieldElementTest<Decimal64> {
+public class Decimal64Test extends ExtendedFieldElementAbstractTest<Decimal64> {
     public static final double X = 1.2345;
 
     public static final Decimal64 PLUS_X = new Decimal64(X);



Mime
View raw message