continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r744146 - in /continuum/trunk/continuum-webapp-test/src/test/pom2: ./ org/ org/apache/ org/apache/continuum/ org/apache/continuum/web/ org/apache/continuum/web/test/
Date Fri, 13 Feb 2009 15:42:29 GMT
Author: wsmoak
Date: Fri Feb 13 15:42:25 2009
New Revision: 744146

URL: http://svn.apache.org/viewvc?rev=744146&view=rev
Log:
[CONTINUUM-2073] Separate directory for experiments with using a JUnit TestSetup class to
start and stop the container. A pom2.xml file will be added later.

Added:
    continuum/trunk/continuum-webapp-test/src/test/pom2/
    continuum/trunk/continuum-webapp-test/src/test/pom2/org/
    continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/
    continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/continuum/
    continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/continuum/web/
    continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/continuum/web/test/
    continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/continuum/web/test/AboutTest.java
      - copied, changed from r743564, continuum/trunk/continuum-webapp-test/src/test/java/org/apache/continuum/web/test/AboutTest.java
    continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/continuum/web/test/CargoTestSetup.java
      - copied, changed from r744144, shale/framework/trunk/shale-test/src/main/java/org/apache/shale/test/cargo/CargoTestSetup.java

Copied: continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/continuum/web/test/AboutTest.java
(from r743564, continuum/trunk/continuum-webapp-test/src/test/java/org/apache/continuum/web/test/AboutTest.java)
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/continuum/web/test/AboutTest.java?p2=continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/continuum/web/test/AboutTest.java&p1=continuum/trunk/continuum-webapp-test/src/test/java/org/apache/continuum/web/test/AboutTest.java&r1=743564&r2=744146&rev=744146&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/java/org/apache/continuum/web/test/AboutTest.java
(original)
+++ continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/continuum/web/test/AboutTest.java
Fri Feb 13 15:42:25 2009
@@ -5,7 +5,9 @@
 
 import java.util.Properties;
 
+import junit.framework.Test;
 import junit.framework.TestCase;
+import junit.framework.TestSuite;
 
 public class AboutTest extends TestCase {
 
@@ -33,6 +35,11 @@
 	    selenium.stop();
     }
 
+    // Return the tests included in this test case.
+    public static Test suite() {
+        return new CargoTestSetup(new TestSuite(AboutTest.class));
+    }
+
     public void testAboutDisplay() {
     	selenium.open( baseUrl + "/about.action" );
     	selenium.waitForPageToLoad( maxWaitTimeInMs );

Copied: continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/continuum/web/test/CargoTestSetup.java
(from r744144, shale/framework/trunk/shale-test/src/main/java/org/apache/shale/test/cargo/CargoTestSetup.java)
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/continuum/web/test/CargoTestSetup.java?p2=continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/continuum/web/test/CargoTestSetup.java&p1=shale/framework/trunk/shale-test/src/main/java/org/apache/shale/test/cargo/CargoTestSetup.java&r1=744144&r2=744146&rev=744146&view=diff
==============================================================================
--- shale/framework/trunk/shale-test/src/main/java/org/apache/shale/test/cargo/CargoTestSetup.java
(original)
+++ continuum/trunk/continuum-webapp-test/src/test/pom2/org/apache/continuum/web/test/CargoTestSetup.java
Fri Feb 13 15:42:25 2009
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.shale.test.cargo;
+package org.apache.continuum.web.test;
 
 import java.io.File;
 



Mime
View raw message