geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r442884 - in /geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment: TestEar13Test.java TestEar14Test.java
Date Wed, 13 Sep 2006 07:48:15 GMT
Author: jdillon
Date: Wed Sep 13 00:48:14 2006
New Revision: 442884

URL: http://svn.apache.org/viewvc?view=rev&rev=442884
Log:
Some basic (very basic) tests

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

Modified: geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar13Test.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=442884&r1=442883&r2=442884
==============================================================================
--- geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar13Test.java
(original)
+++ geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar13Test.java
Wed Sep 13 00:48:14 2006
@@ -30,7 +30,11 @@
     /**
      * @testng.test
      */
-    public void testXXX() throws Exception {
+    public void testIndexContent() throws Exception {
+        selenium.open("/test-1_3/");
+        selenium.waitForPageToLoad("30000");
+        assertEquals("Hello J2EE 1.3", selenium.getTitle());
+        assertEquals("Hello J2EE 1.3", selenium.getText("xpath=/html/body"));
     }
 }
 

Modified: geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar14Test.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=442884&r1=442883&r2=442884
==============================================================================
--- geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar14Test.java
(original)
+++ geronimo/server/trunk/testsuite/deployment-testsuite/test-deployments/src/test/java/org/apache/geronimo/testsuite/deployment/TestEar14Test.java
Wed Sep 13 00:48:14 2006
@@ -30,7 +30,11 @@
     /**
      * @testng.test
      */
-    public void testXXX() throws Exception {
+    public void testIndexContent() throws Exception {
+        selenium.open("/test-1_4/");
+        selenium.waitForPageToLoad("30000");
+        assertEquals("Hello J2EE 1.4", selenium.getTitle());
+        assertEquals("Hello J2EE 1.4", selenium.getText("xpath=/html/body"));
     }
 }
 



Mime
View raw message