commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r632844 - in /commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines: AbstractCalendarValidatorTest.java AbstractNumberValidatorTest.java checkdigit/AbstractCheckDigitTest.java
Date Sun, 02 Mar 2008 21:05:44 GMT
Author: niallp
Date: Sun Mar  2 13:05:44 2008
New Revision: 632844

URL: http://svn.apache.org/viewvc?rev=632844&view=rev
Log:
Upgrading from maven-surefire-plugin 2.3 to 2.4.2 broke validator tests - surefire used to
ignore tests named Abstract*Test, but since version 2.4 tests have to actually be "abstract"
- see http://jira.codehaus.org/browse/SUREFIRE-167

Modified:
    commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/AbstractCalendarValidatorTest.java
    commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/AbstractNumberValidatorTest.java
    commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/AbstractCheckDigitTest.java

Modified: commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/AbstractCalendarValidatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/AbstractCalendarValidatorTest.java?rev=632844&r1=632843&r2=632844&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/AbstractCalendarValidatorTest.java
(original)
+++ commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/AbstractCalendarValidatorTest.java
Sun Mar  2 13:05:44 2008
@@ -27,7 +27,7 @@
  * 
  * @version $Revision$ $Date$
  */
-public class AbstractCalendarValidatorTest extends TestCase {
+public abstract class AbstractCalendarValidatorTest extends TestCase {
 
     protected AbstractCalendarValidator validator;
 

Modified: commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/AbstractNumberValidatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/AbstractNumberValidatorTest.java?rev=632844&r1=632843&r2=632844&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/AbstractNumberValidatorTest.java
(original)
+++ commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/AbstractNumberValidatorTest.java
Sun Mar  2 13:05:44 2008
@@ -26,7 +26,7 @@
  * 
  * @version $Revision$ $Date$
  */
-public class AbstractNumberValidatorTest extends TestCase {
+public abstract class AbstractNumberValidatorTest extends TestCase {
 
     protected AbstractNumberValidator validator;
     protected AbstractNumberValidator strictValidator;

Modified: commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/AbstractCheckDigitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/AbstractCheckDigitTest.java?rev=632844&r1=632843&r2=632844&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/AbstractCheckDigitTest.java
(original)
+++ commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/AbstractCheckDigitTest.java
Sun Mar  2 13:05:44 2008
@@ -30,7 +30,7 @@
  * @version $Revision$
  * @since Validator 1.4
  */
-public class AbstractCheckDigitTest extends TestCase {
+public abstract class AbstractCheckDigitTest extends TestCase {
 
     /** logging instance */
     protected Log log = LogFactory.getLog(getClass());



Mime
View raw message