You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by va...@apache.org on 2007/10/21 15:50:54 UTC

svn commit: r586898 - /geronimo/server/branches/2.0/modules/geronimo-security/src/test/java/org/apache/geronimo/security/jaas/LoginPropertiesFileTest.java

Author: vamsic007
Date: Sun Oct 21 06:50:54 2007
New Revision: 586898

URL: http://svn.apache.org/viewvc?rev=586898&view=rev
Log:
Fix error message in the test case.

Modified:
    geronimo/server/branches/2.0/modules/geronimo-security/src/test/java/org/apache/geronimo/security/jaas/LoginPropertiesFileTest.java

Modified: geronimo/server/branches/2.0/modules/geronimo-security/src/test/java/org/apache/geronimo/security/jaas/LoginPropertiesFileTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/modules/geronimo-security/src/test/java/org/apache/geronimo/security/jaas/LoginPropertiesFileTest.java?rev=586898&r1=586897&r2=586898&view=diff
==============================================================================
--- geronimo/server/branches/2.0/modules/geronimo-security/src/test/java/org/apache/geronimo/security/jaas/LoginPropertiesFileTest.java (original)
+++ geronimo/server/branches/2.0/modules/geronimo-security/src/test/java/org/apache/geronimo/security/jaas/LoginPropertiesFileTest.java Sun Oct 21 06:50:54 2007
@@ -128,7 +128,7 @@
 
         try {
             context.login();
-            fail("Should not allow this login with null username");
+            fail("Should not allow this login with bad username");
         } catch (LoginException e) {
         }
     }
@@ -148,7 +148,7 @@
 
         try {
             context.login();
-            fail("Should not allow this login with null password");
+            fail("Should not allow this login with bad password");
         } catch (LoginException e) {
         }
     }