geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r442882 - in /geronimo/server/trunk/testsuite: ./ deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/
Date Wed, 13 Sep 2006 07:28:32 GMT
Author: jdillon
Date: Wed Sep 13 00:28:31 2006
New Revision: 442882

URL: http://svn.apache.org/viewvc?view=rev&rev=442882
Log:
Rename some more classes to be ready to start a new set of tests

Added:
    geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar13Test.java
      - copied, changed from r442881, geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/LinkCheckTest.java
    geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar14Test.java
      - copied, changed from r442881, geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/SimpleLoginTest.java
Removed:
    geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/ConsoleTestSupport.java
    geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/LinkCheckTest.java
    geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/SimpleLoginTest.java
Modified:
    geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/ExtendedSelenium.java
    geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/SeleniumTestSupport.java
    geronimo/server/trunk/testsuite/pom.xml

Modified: geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/ExtendedSelenium.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/ExtendedSelenium.java?view=diff&rev=442882&r1=442881&r2=442882
==============================================================================
--- geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/ExtendedSelenium.java
(original)
+++ geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/ExtendedSelenium.java
Wed Sep 13 00:28:31 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.geronimo.testsuite.console;
+package org.apache.geronimo.testsuite.deployment;
 
 import com.thoughtworks.selenium.Selenium;
 import com.thoughtworks.selenium.DefaultSelenium;

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=442882&r1=442881&r2=442882
==============================================================================
--- 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
Wed Sep 13 00:28:31 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.geronimo.testsuite.console;
+package org.apache.geronimo.testsuite.deployment;
 
 import org.apache.geronimo.testsupport.TestSupport;
 

Copied: geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar13Test.java
(from r442881, geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/LinkCheckTest.java)
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar13Test.java?view=diff&rev=442882&p1=geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/LinkCheckTest.java&r1=442881&p2=geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar13Test.java&r2=442882
==============================================================================
--- geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/LinkCheckTest.java
(original)
+++ geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar13Test.java
Wed Sep 13 00:28:31 2006
@@ -17,33 +17,20 @@
  * under the License.
  */
 
-package org.apache.geronimo.testsuite.console;
+package org.apache.geronimo.testsuite.deployment;
 
 /**
  * ???
  *
  * @version $Rev$ $Date$
  */
-public class LinkCheckTest
-    extends ConsoleTestSupport
+public class TestEar13Test
+    extends SeleniumTestSupport
 {
     /**
      * @testng.test
      */
-    public void testServerInfoLink() throws Exception {
-        login();
-        
-        selenium.click("link=Information");
-        selenium.waitForPageToLoad("30000");
-        assertEquals("Geronimo Console", selenium.getTitle());
-        
-        assertTrue(selenium.isTextPresent("Geronimo Version"));
-        assertTrue(selenium.isTextPresent("Geronimo Start Time"));
-        
-        assertEquals("Server Info", selenium.getText(
-            "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong"));
-        
-        logout();
+    public void testXXX() throws Exception {
     }
 }
 

Copied: geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar14Test.java
(from r442881, geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/SimpleLoginTest.java)
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar14Test.java?view=diff&rev=442882&p1=geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/SimpleLoginTest.java&r1=442881&p2=geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar14Test.java&r2=442882
==============================================================================
--- geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/SimpleLoginTest.java
(original)
+++ geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar14Test.java
Wed Sep 13 00:28:31 2006
@@ -17,52 +17,20 @@
  * under the License.
  */
 
-package org.apache.geronimo.testsuite.console;
+package org.apache.geronimo.testsuite.deployment;
 
 /**
  * ???
  *
  * @version $Rev$ $Date$
  */
-public class SimpleLoginTest
-    extends ConsoleTestSupport
+public class TestEar14Test
+    extends SeleniumTestSupport
 {
     /**
      * @testng.test
      */
-    public void testLogin() throws Exception {
-        login();
-        
-        selenium.removeCookie("JSESSIONID", "/");
-    }
-    
-    /**
-     * @testng.test
-     */
-    public void testLoginAndLogout() throws Exception {
-        login();
-        logout();
-    }
-    
-    /**
-     * @testng.test
-     */
-    public void testClickSomeLinks() throws Exception {
-        login();
-        
-        selenium.click("link=Information");
-        selenium.waitForPageToLoad("30000");
-        assertEquals("Geronimo Console", selenium.getTitle());
-        
-        selenium.click("link=JVM");
-        selenium.waitForPageToLoad("30000");
-        assertEquals("Geronimo Console", selenium.getTitle());
-        
-        selenium.click("link=DB Info");
-        selenium.waitForPageToLoad("30000");
-        assertEquals("Geronimo Console", selenium.getTitle());
-        
-        logout();
+    public void testXXX() throws Exception {
     }
 }
 

Modified: geronimo/server/trunk/testsuite/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/pom.xml?view=diff&rev=442882&r1=442881&r2=442882
==============================================================================
--- geronimo/server/trunk/testsuite/pom.xml (original)
+++ geronimo/server/trunk/testsuite/pom.xml Wed Sep 13 00:28:31 2006
@@ -41,6 +41,7 @@
     </description>
     
     <modules>
+        <module>deployment-testsuite</module>
         <module>console-testsuite</module>
     </modules>
     



Mime
View raw message