org.test4j.module.jmockit.extend
类 ExpectationsResult

java.lang.Object
  继承者 org.test4j.module.jmockit.extend.ExpectationsResult
直接已知子类:
InvokeTimes

public class ExpectationsResult
extends Object


字段摘要
protected  Test4JInvocations currExpectations
           
 
构造方法摘要
protected ExpectationsResult(Test4JInvocations expectations)
           
 
方法摘要
 void thenReturn(Object o)
           
 void thenReturn(Object o, Object... os)
           
 void thenReturnFrom(Class claz, Class clazPath, String json)
          return value parsed from xml file
 void thenReturnFrom(Class claz, String json)
          return value parsed from xml file
 void thenThrows(Throwable e)
           
 void thenThrows(Throwable e, Throwable... es)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

currExpectations

protected Test4JInvocations currExpectations
构造方法详细信息

ExpectationsResult

protected ExpectationsResult(Test4JInvocations expectations)
方法详细信息

thenReturn

public void thenReturn(Object o)

thenReturnFrom

public void thenReturnFrom(Class claz,
                           String json)
return value parsed from xml file

参数:
claz - the class of the return object
json -

thenReturnFrom

public void thenReturnFrom(Class claz,
                           Class clazPath,
                           String json)
return value parsed from xml file

参数:
claz - the class of the return object
path - class path of the xml file
json -

thenReturn

public void thenReturn(Object o,
                       Object... os)

thenThrows

public void thenThrows(Throwable e)

thenThrows

public void thenThrows(Throwable e,
                       Throwable... es)


Copyright © 2013. All rights reserved.