commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r887039 - /commons/proper/jelly/branches/MAVEN-2-BRANCH/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java
Date Fri, 04 Dec 2009 02:28:05 GMT
Author: niallp
Date: Fri Dec  4 02:28:05 2009
New Revision: 887039

URL: http://svn.apache.org/viewvc?rev=887039&view=rev
Log:
m2 bm2 build: extend JellyTestSuite from TestCase so that surefire runs the jelly tests
(surefire only recognises the tests provided by suite() if it extends TestCase - see http://jira.codehaus.org/browse/SUREFIRE-120)

Modified:
    commons/proper/jelly/branches/MAVEN-2-BRANCH/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java

Modified: commons/proper/jelly/branches/MAVEN-2-BRANCH/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/branches/MAVEN-2-BRANCH/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java?rev=887039&r1=887038&r2=887039&view=diff
==============================================================================
--- commons/proper/jelly/branches/MAVEN-2-BRANCH/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java
(original)
+++ commons/proper/jelly/branches/MAVEN-2-BRANCH/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java
Fri Dec  4 02:28:05 2009
@@ -19,6 +19,7 @@
 import java.net.URL;
 
 import junit.framework.TestSuite;
+import junit.framework.TestCase;
 
 import org.apache.commons.jelly.JellyContext;
 import org.apache.commons.jelly.XMLOutput;
@@ -31,7 +32,7 @@
  * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  * @version $Revision$
  */
-public abstract class JellyTestSuite {
+public abstract class JellyTestSuite extends TestCase {
 
     /** The Log to which logging calls will be made. */
     private static final Log log = LogFactory.getLog(JellyTestSuite.class);



Mime
View raw message