You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by pr...@apache.org on 2006/11/20 06:43:54 UTC
svn commit: r477056 -
/geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/SeleniumTestSupport.java
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();
+ }
}