It's a bit wierd. Now it works for me as well.

Thanks,
Raymond

----- Original Message ----- From: "Rick" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, November 30, 2006 10:10 AM
Subject: Re: Test case fails: LoanAppConversationTestCase


Also not seeing this issue. The junit test works for me in eclipse too. svn rev 480786 Sun jdk java full version "1.5.0_10-b03"


Raymond Feng wrote:
Hi,

I'm seeing the following test case failure in trunk code.

Raymond

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running loanappconversation.LoanAppConversationTestCase
Applied: Loan application: [Customer: John Doe, loan amount: 1000.0], term: 0, s
tatus: open
Loan approved: false
Sleeping to let cancel complete ...
Cancelled: Loan application: [Customer: John Doe, loan amount: 1000.0], term: 0,
 status: cancelled
Trying to use the closed loan in the ended conversation ...
Closed: Loan application: null, term: 0, status: closed
junit.framework.AssertionFailedError: Target should not be found
        at junit.framework.Assert.fail(Assert.java:47)
at loanappconversation.LoanAppConversationTestCase.test(LoanAppConversat
ionTestCase.java:55)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
a:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:122)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:269)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:788)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.375 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to