org.test4j.module.jmockit.extend
类 InvokeTimes

java.lang.Object
  继承者 org.test4j.module.jmockit.extend.ExpectationsResult
      继承者 org.test4j.module.jmockit.extend.InvokeTimes

public class InvokeTimes
extends ExpectationsResult


字段摘要
 
从类 org.test4j.module.jmockit.extend.ExpectationsResult 继承的字段
currExpectations
 
方法摘要
 ExpectationsResult callBetween(int minTimes, int maxTimes)
           
 ExpectationsResult callExactly(int times)
           
 ExpectationsResult callIgnoreTimes()
          the expected API will be allowing call any times
 ExpectationsResult callMaximal(int times)
           
 ExpectationsResult callMinimal(int times)
           
 void callNeverOccur()
          the expected API will be never call
 
从类 org.test4j.module.jmockit.extend.ExpectationsResult 继承的方法
thenReturn, thenReturn, thenReturnFrom, thenReturnFrom, thenThrows, thenThrows
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

callExactly

public ExpectationsResult callExactly(int times)

callMinimal

public ExpectationsResult callMinimal(int times)

callMaximal

public ExpectationsResult callMaximal(int times)

callBetween

public ExpectationsResult callBetween(int minTimes,
                                      int maxTimes)

callIgnoreTimes

public ExpectationsResult callIgnoreTimes()
the expected API will be allowing call any times

返回:

callNeverOccur

public void callNeverOccur()
the expected API will be never call



Copyright © 2013. All rights reserved.