Error occured while trying to in run jmock test
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   prashant_singh
Posted On:   Wednesday, June 18, 2008 07:38 AM

while i am trying to execute test this error is occured. When i am trying to run individual test than they are run alright. and if i add them in testsuit than this error is occured. Please solve my problem as soon as possible. mock object mockIHTTPService: expected method was not invoked expected once: doPostMethodString( eq( ), eq( <{abc}>), eq( ) ), returns <> junit.framework.AssertionFailedError: mock object mockIHTTPService: expected method was not invoked expected once: doPostMethodString( eq( ), eq( <{abc}>), eq( ) ), returns <> at org.jmock.core.AbstractDynamicMock.verify(Unknown Source) at org.jmock.Mock.verify(Unknown Source) at org.jmock.co   More>>

while i am trying to execute test this error is occured.
When i am trying to run individual test than they are run alright. and if i add them in testsuit than this error is occured. Please solve my problem as soon as possible.

mock object mockIHTTPService: expected method was not invoked
expected once: doPostMethodString( eq( ), eq( <{abc}>), eq( ) ), returns <>
junit.framework.AssertionFailedError: mock object mockIHTTPService: expected method was not invoked
expected once: doPostMethodString( eq( ), eq( <{abc}>), eq( ) ), returns <>
at org.jmock.core.AbstractDynamicMock.verify(Unknown Source)
at org.jmock.Mock.verify(Unknown Source)
at org.jmock.core.VerifyingTestCase.verify(Unknown Source)
at org.jmock.core.VerifyingTestCase.runBare(Unknown Source)

   <<Less
About | Sitemap | Contact