geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1165745 - /geronimo/server/trunk/testsuite/security-testsuite/test-security/src/test/java/org/apache/geronimo/testsuite/security/TestConsoleSecurity.java
Date Tue, 06 Sep 2011 16:15:57 GMT
Author: xiaming
Date: Tue Sep  6 16:15:57 2011
New Revision: 1165745

URL: http://svn.apache.org/viewvc?rev=1165745&view=rev
Log:
GERONIMO-5462 Make tests portable

Modified:
    geronimo/server/trunk/testsuite/security-testsuite/test-security/src/test/java/org/apache/geronimo/testsuite/security/TestConsoleSecurity.java

Modified: geronimo/server/trunk/testsuite/security-testsuite/test-security/src/test/java/org/apache/geronimo/testsuite/security/TestConsoleSecurity.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/security-testsuite/test-security/src/test/java/org/apache/geronimo/testsuite/security/TestConsoleSecurity.java?rev=1165745&r1=1165744&r2=1165745&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/security-testsuite/test-security/src/test/java/org/apache/geronimo/testsuite/security/TestConsoleSecurity.java
(original)
+++ geronimo/server/trunk/testsuite/security-testsuite/test-security/src/test/java/org/apache/geronimo/testsuite/security/TestConsoleSecurity.java
Tue Sep  6 16:15:57 2011
@@ -47,7 +47,7 @@ public class TestConsoleSecurity extends
         assertTrue(response.contains("Deployer"));
         
         response = doGet(httpClient, "http://localhost:8080/console/logout.jsp");
-        assertTrue(response.contains("Geronimo Console Login"));
+        assertTrue(response.contains("Console Login"));
     }
 
     @Test
@@ -95,7 +95,7 @@ public class TestConsoleSecurity extends
 
     private PostMethod login(HttpClient httpClient, String username, String password) throws
Exception {
         String response = doGet(httpClient, "http://localhost:8080/console");
-        assertTrue("Expected login form", response.contains("Geronimo Console Login"));
+        assertTrue("Expected login form", response.contains("Console Login"));
         
         PostMethod postMethod = new PostMethod("http://localhost:8080/console/j_security_check");
         if (username != null) {



Mime
View raw message