org.test4j.module.jmockit.extend
类 JMocketVerifications

java.lang.Object
  继承者 mockit.Verifications
      继承者 org.test4j.module.jmockit.extend.JMocketVerifications

public class JMocketVerifications
extends Verifications


字段摘要
protected static CharSequence $
           
protected static Object any
           
protected static Boolean anyBoolean
           
protected static Byte anyByte
           
protected static Character anyChar
           
protected static Double anyDouble
           
protected static Float anyFloat
           
protected static Integer anyInt
           
protected static Long anyLong
           
protected static Short anyShort
           
protected static String anyString
           
protected static Object forEachInvocation
           
protected static int maxTimes
           
protected static int minTimes
           
protected static int times
           
 
构造方法摘要
JMocketVerifications()
           
JMocketVerifications(int numberOfIterations)
           
 
方法摘要
protected
<T> T
getField(Class<?> arg0, Class<T> arg1)
           
protected
<T> T
getField(Class<?> arg0, String arg1)
           
protected
<T> T
getField(Object arg0, Class<T> arg1)
           
protected
<T> T
getField(Object arg0, String arg1)
           
protected
<T> T
invoke(Class<?> arg0, String arg1, Object... arg2)
           
protected
<T> T
invoke(Object arg0, String arg1, Object... arg2)
           
protected
<T> T
newInnerInstance(String arg0, Object arg1, Object... arg2)
           
protected
<T> T
newInstance(String arg0, Class<?>[] arg1, Object... arg2)
           
protected
<T> T
newInstance(String arg0, Object... arg1)
           
protected
<T> T
onInstance(T arg0)
           
protected  void setField(Class<?> arg0, Object arg1)
           
protected  void setField(Class<?> arg0, String arg1, Object arg2)
           
protected  void setField(Object arg0, Object arg1)
           
protected  void setField(Object arg0, String arg1, Object arg2)
           
protected
<T> T
with(Delegate<T> arg0)
           
protected
<T> T
with(Matcher argumentMatcher)
           
protected
<T> T
with(Object arg0)
           
protected
<T> T
with(T argValue, Matcher argumentMatcher)
           
protected
<T> T
with(T arg0, Object arg1)
           
protected
<T> T
withAny(T arg0)
           
protected
<T> T
withCapture(List<T> arg0)
           
protected  double withEqual(double arg0, double arg1)
           
protected  float withEqual(float arg0, double arg1)
           
protected
<T> T
withEqual(T arg0)
           
protected
<T> T
withInstanceLike(T arg0)
           
protected
<T> T
withInstanceOf(Class<T> arg0)
           
protected
<T extends CharSequence>
T
withMatch(T arg0)
           
protected
<T> T
withNotEqual(T arg0)
           
protected
<T> T
withNotNull()
           
protected
<T> T
withNull()
           
protected
<T extends CharSequence>
T
withPrefix(T arg0)
           
protected
<T> T
withSameInstance(T arg0)
           
protected
<T extends CharSequence>
T
withSubstring(T arg0)
           
protected
<T extends CharSequence>
T
withSuffix(T arg0)
           
 
从类 mockit.Verifications 继承的方法
withCapture
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

any

protected static final Object any

anyString

protected static final String anyString

anyLong

protected static final Long anyLong

anyInt

protected static final Integer anyInt

anyShort

protected static final Short anyShort

anyByte

protected static final Byte anyByte

anyBoolean

protected static final Boolean anyBoolean

anyChar

protected static final Character anyChar

anyDouble

protected static final Double anyDouble

anyFloat

protected static final Float anyFloat

forEachInvocation

protected static Object forEachInvocation

times

protected static int times

minTimes

protected static int minTimes

maxTimes

protected static int maxTimes

$

protected static CharSequence $
构造方法详细信息

JMocketVerifications

public JMocketVerifications()

JMocketVerifications

public JMocketVerifications(int numberOfIterations)
方法详细信息

with

protected final <T> T with(Matcher argumentMatcher)

with

protected final <T> T with(T argValue,
                           Matcher argumentMatcher)

onInstance

protected final <T> T onInstance(T arg0)

with

protected final <T> T with(T arg0,
                           Object arg1)

with

protected final <T> T with(Object arg0)

with

protected final <T> T with(Delegate<T> arg0)

withAny

protected final <T> T withAny(T arg0)

withCapture

protected final <T> T withCapture(List<T> arg0)

withEqual

protected final <T> T withEqual(T arg0)

withEqual

protected final double withEqual(double arg0,
                                 double arg1)

withEqual

protected final float withEqual(float arg0,
                                double arg1)

withInstanceLike

protected final <T> T withInstanceLike(T arg0)

withInstanceOf

protected final <T> T withInstanceOf(Class<T> arg0)

withNotEqual

protected final <T> T withNotEqual(T arg0)

withNull

protected final <T> T withNull()

withNotNull

protected final <T> T withNotNull()

withSameInstance

protected final <T> T withSameInstance(T arg0)

withSubstring

protected final <T extends CharSequence> T withSubstring(T arg0)

withPrefix

protected final <T extends CharSequence> T withPrefix(T arg0)

withSuffix

protected final <T extends CharSequence> T withSuffix(T arg0)

withMatch

protected final <T extends CharSequence> T withMatch(T arg0)

newInstance

protected final <T> T newInstance(String arg0,
                                  Class<?>[] arg1,
                                  Object... arg2)

newInstance

protected final <T> T newInstance(String arg0,
                                  Object... arg1)

newInnerInstance

protected final <T> T newInnerInstance(String arg0,
                                       Object arg1,
                                       Object... arg2)

invoke

protected final <T> T invoke(Object arg0,
                             String arg1,
                             Object... arg2)

invoke

protected final <T> T invoke(Class<?> arg0,
                             String arg1,
                             Object... arg2)

getField

protected final <T> T getField(Object arg0,
                               String arg1)

getField

protected final <T> T getField(Object arg0,
                               Class<T> arg1)

getField

protected final <T> T getField(Class<?> arg0,
                               String arg1)

getField

protected final <T> T getField(Class<?> arg0,
                               Class<T> arg1)

setField

protected final void setField(Object arg0,
                              String arg1,
                              Object arg2)

setField

protected final void setField(Object arg0,
                              Object arg1)

setField

protected final void setField(Class<?> arg0,
                              String arg1,
                              Object arg2)

setField

protected final void setField(Class<?> arg0,
                              Object arg1)


Copyright © 2013. All rights reserved.