geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r477056 - /geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/SeleniumTestSupport.java
Date Mon, 20 Nov 2006 05:43:54 GMT
Author: prasad
Date: Sun Nov 19 21:43:53 2006
New Revision: 477056

URL: http://svn.apache.org/viewvc?view=rev&rev=477056
Log:
* created setUp() and tearDown() since surefire was expecting JUnit.
* See GERONIMO-2579

Modified:
    geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/SeleniumTestSupport.java

Modified: geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/SeleniumTestSupport.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/SeleniumTestSupport.java?view=diff&rev=477056&r1=477055&r2=477056
==============================================================================
--- geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/SeleniumTestSupport.java
(original)
+++ geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/SeleniumTestSupport.java
Sun Nov 19 21:43:53 2006
@@ -68,5 +68,24 @@
         
         selenium.stop();
     }
+
+    /**
+     * junit's per class setup.
+     */
+    protected void setUp() throws Exception {
+        log.info("Starting Selenium client");
+        
+        selenium = createSeleniumClient("http://localhost:8080/");
+        selenium.start();
+    }
+    
+    /**
+     * junit's per class teardown.
+     */
+    protected void tearDown() throws Exception {
+        log.info("Stopping Selenium client");
+        
+        selenium.stop();
+    }
 }
 



Mime
View raw message