由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - A question on easyMock2
相关主题
EasyMock 真的有用么?Java GUI Testing
在AWS如何作测试speaking of crappy code
Ask a simple question about throw exception, bow bow bowwhy people use Junit?
jmock ?? or any other mocking tools?命令行编译java程序
ant junit and log4j can't work together请教高手如何用JUnit模拟真实的Servlet容器 (e.g. Jboss里的tomcat), 具体需求请进
[转载] JUnit 的简单问题junit question
请教:Junit fails as an Ant task有几个公司是完全按照这个运作的呢
新手上路,请多指教junit test问题
相关话题的讨论汇总
话题: easymock2话题: question话题: unknown话题: anyone
进入Java版参与讨论
1 (共1页)
u**********e
发帖数: 282
1
In JUnit, I use easyMock to create mock object. However it throws exception:
ava.lang.IllegalStateException: missing behavior definition for the
preceeding method call getSubName()
at org.easymock.internal.MockInvocationHandler.invoke(
MockInvocationHandler.java:27)
at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.
java:45)
at $Proxy0.getSubName(Unknown Source)
at test.rms.TestDefaultDataPublisher.setUp(TestDefaultDataPublisher.java
Anyone knows what's goi
1 (共1页)
进入Java版参与讨论
相关主题
junit test问题ant junit and log4j can't work together
今天被问到eclipse plugin[转载] JUnit 的简单问题
Java简直完全不可控啊!!!请教:Junit fails as an Ant task
maven,struts求助新手上路,请多指教
EasyMock 真的有用么?Java GUI Testing
在AWS如何作测试speaking of crappy code
Ask a simple question about throw exception, bow bow bowwhy people use Junit?
jmock ?? or any other mocking tools?命令行编译java程序
相关话题的讨论汇总
话题: easymock2话题: question话题: unknown话题: anyone