[Opensource] UserTest failure in JUnit test

Michael Rimov rimovm at centercomp.com
Thu Oct 10 17:13:14 PDT 2002


At 11:44 AM 9/23/2002 +0800, you wrote:
>Hello,Mike£¬
>
>I think that we should add UserTest into ExpressoTestSuite.java. After I
>added the following line£º
>
<snip>


>        I got the following Failure message in the JUnit test results:
>
>testUser Failure Password Test #1
>
>junit.framework.AssertionFailedError: Password Test #1
>at 
>com.jcorporate.expresso.core.security.tests.UserTest.testUser(UserTest.java:66)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>at com.jcorporate.expresso.services.test.DBTestSuite.run(DBTestSuite.java:58)
>
>What does this message means to the User class?

Actually, I took a look at it and the TestCase itself was incorrect.  But 
thank you for pointing out that it wasn't part of the main test 
suite.  That has now been fixed and the TestCase itself has been fixed.

Thank you for pointing it out.
                                                 -Mike





More information about the Opensource mailing list