geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r438712 - in /geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers: AbstractHandler.java TextHtmlTest.java TextPlainTest.java TextXmlTest.java
Date Wed, 30 Aug 2006 23:44:22 GMT
Author: jdillon
Date: Wed Aug 30 16:44:21 2006
New Revision: 438712

URL: http://svn.apache.org/viewvc?rev=438712&view=rev
Log:
Use TestSupport
Be sure to call super.setUp()

Modified:
    geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/AbstractHandler.java
    geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextHtmlTest.java
    geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextPlainTest.java
    geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextXmlTest.java

Modified: geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/AbstractHandler.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/AbstractHandler.java?rev=438712&r1=438711&r2=438712&view=diff
==============================================================================
--- geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/AbstractHandler.java
(original)
+++ geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/AbstractHandler.java
Wed Aug 30 16:44:21 2006
@@ -24,12 +24,12 @@
 import javax.activation.DataContentHandler;
 import javax.activation.DataSource;
 
-import junit.framework.TestCase;
+import org.apache.geronimo.testsupport.TestSupport;
 
 /**
  * @version $Rev$ $Date$
  */
-public abstract class AbstractHandler extends TestCase {
+public abstract class AbstractHandler extends TestSupport {
     protected DataContentHandler dch;
     protected String mimeType;
 

Modified: geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextHtmlTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextHtmlTest.java?rev=438712&r1=438711&r2=438712&view=diff
==============================================================================
--- geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextHtmlTest.java
(original)
+++ geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextHtmlTest.java
Wed Aug 30 16:44:21 2006
@@ -32,6 +32,8 @@
     }
     
     protected void setUp() throws Exception {
+        super.setUp();
+        
         dch = new TextHtmlHandler();
     }
 }

Modified: geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextPlainTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextPlainTest.java?rev=438712&r1=438711&r2=438712&view=diff
==============================================================================
--- geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextPlainTest.java
(original)
+++ geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextPlainTest.java
Wed Aug 30 16:44:21 2006
@@ -32,6 +32,8 @@
     }
     
     protected void setUp() throws Exception {
+        super.setUp();
+        
         dch = new TextPlainHandler();
     }
 }

Modified: geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextXmlTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextXmlTest.java?rev=438712&r1=438711&r2=438712&view=diff
==============================================================================
--- geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextXmlTest.java
(original)
+++ geronimo/server/trunk/modules/geronimo-activation/src/test/java/org/apache/geronimo/activation/handlers/TextXmlTest.java
Wed Aug 30 16:44:21 2006
@@ -32,6 +32,8 @@
     }
     
     protected void setUp() throws Exception {
+        super.setUp();
+        
         dch = new TextXmlHandler();
     }
 }



Mime
View raw message