org.test4j.module.jmockit
类 IMockict.NonStrictExpectations
java.lang.Object
mockit.Expectations
mockit.NonStrictExpectations
org.test4j.module.jmockit.extend.JMockitNonStrictExpectations
org.test4j.module.jmockit.IMockict.NonStrictExpectations
- 所有已实现的接口:
- Test4JInvocations
- 正在封闭接口:
- IMockict
public static class IMockict.NonStrictExpectations
- extends JMockitNonStrictExpectations
|
方法摘要 |
protected
|
getField(Class<?> arg0,
Class<T> arg1)
|
protected
|
getField(Class<?> arg0,
String arg1)
|
protected
|
getField(Object arg0,
Class<T> arg1)
|
protected
|
getField(Object arg0,
String arg1)
|
protected
|
invoke(Class<?> arg0,
String arg1,
Object... arg2)
|
protected
|
invoke(Object arg0,
String arg1,
Object... arg2)
|
protected
|
newInnerInstance(String arg0,
Object arg1,
Object... arg2)
|
protected
|
newInstance(String arg0,
Class<?>[] arg1,
Object... arg2)
|
protected
|
newInstance(String arg0,
Object... arg1)
|
protected
|
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
|
with(Delegate<T> arg0)
|
protected
|
with(Object arg0)
|
protected
|
with(T arg0,
Object arg1)
|
protected
|
withAny(T arg0)
|
protected
|
withCapture(List<T> arg0)
|
protected double |
withEqual(double arg0,
double arg1)
|
protected float |
withEqual(float arg0,
double arg1)
|
protected
|
withEqual(T arg0)
|
protected
|
withInstanceLike(T arg0)
|
protected
|
withInstanceOf(Class<T> arg0)
|
protected
|
withMatch(T arg0)
|
protected
|
withNotEqual(T arg0)
|
protected
|
withNotNull()
|
protected
|
withNull()
|
protected
|
withPrefix(T arg0)
|
protected
|
withSameInstance(T arg0)
|
protected
|
withSubstring(T arg0)
|
protected
|
withSuffix(T arg0)
|
| 从类 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 $
IMockict.NonStrictExpectations
public IMockict.NonStrictExpectations()
IMockict.NonStrictExpectations
public IMockict.NonStrictExpectations(int numberOfIterations,
Object... classesOrObjectsToBePartiallyMocked)
IMockict.NonStrictExpectations
public IMockict.NonStrictExpectations(Object... classesOrObjectsToBePartiallyMocked)
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.