geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r723426 - /geronimo/server/trunk/testsuite/enterprise-testsuite/sec-tests/sec-ear/src/test/java/org/apache/geronimo/testsuite/security/RunAsTest.java
Date Thu, 04 Dec 2008 20:32:05 GMT
Author: djencks
Date: Thu Dec  4 12:32:04 2008
New Revision: 723426

URL: http://svn.apache.org/viewvc?rev=723426&view=rev
Log:
clearer error message

Modified:
    geronimo/server/trunk/testsuite/enterprise-testsuite/sec-tests/sec-ear/src/test/java/org/apache/geronimo/testsuite/security/RunAsTest.java

Modified: geronimo/server/trunk/testsuite/enterprise-testsuite/sec-tests/sec-ear/src/test/java/org/apache/geronimo/testsuite/security/RunAsTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/enterprise-testsuite/sec-tests/sec-ear/src/test/java/org/apache/geronimo/testsuite/security/RunAsTest.java?rev=723426&r1=723425&r2=723426&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/enterprise-testsuite/sec-tests/sec-ear/src/test/java/org/apache/geronimo/testsuite/security/RunAsTest.java
(original)
+++ geronimo/server/trunk/testsuite/enterprise-testsuite/sec-tests/sec-ear/src/test/java/org/apache/geronimo/testsuite/security/RunAsTest.java
Thu Dec  4 12:32:04 2008
@@ -120,8 +120,9 @@
         selenium.open(path);
         waitForPageLoad();
         System.out.println("----------------------------------------------");
-        System.out.println(selenium.getText("xpath=/html/body"));
-        assertEquals(expected, selenium.getText("xpath=/html/body"));
+        String result = selenium.getText("xpath=/html/body");
+        System.out.println(result);
+        assertEquals("expected:\n" + expected + "\n\nresult:\n" + result,expected, result);
     }
 
 }



Mime
View raw message