META-INF/
META-INF/MANIFEST.MF
org/
org/easymock/
org/easymock/AbstractMatcher.class
AbstractMatcher.java
package org.easymock
public abstract org.easymock.AbstractMatcher extends java.lang.Object implements org.easymock.ArgumentsMatcher {
public void <init> ()
protected boolean argumentMatches (java.lang.Object, java.lang.Object)
Object expected
Object actual
protected java.lang.String argumentToString (java.lang.Object)
Object argument
public boolean matches (java.lang.Object[], java.lang.Object[])
Object expectedObject
Object actualObject
int i
Object[] expected
Object[] actual
public java.lang.String toString (java.lang.Object[])
int i
Object[] arguments
StringBuffer result
}
org/easymock/ArgumentsMatcher.class
ArgumentsMatcher.java
package org.easymock
public abstract org.easymock.ArgumentsMatcher extends java.lang.Object {
public abstract boolean matches (java.lang.Object[], java.lang.Object[])
public abstract java.lang.String toString (java.lang.Object[])
}
org/easymock/EasyMock.class
EasyMock.java
package org.easymock
public org.easymock.EasyMock extends java.lang.Object {
public void <init> ()
public static java.lang.Object createStrictMock (java.lang.Class)
Class toMock
public static java.lang.Object createMock (java.lang.Class)
Class toMock
public static java.lang.Object createNiceMock (java.lang.Class)
Class toMock
public static org.easymock.IMocksControl createStrictControl ()
public static org.easymock.IMocksControl createControl ()
public static org.easymock.IMocksControl createNiceControl ()
public static org.easymock.IExpectationSetters expect (java.lang.Object)
Object value
public static org.easymock.IExpectationSetters expectLastCall ()
private static org.easymock.IExpectationSetters getControlForLastCall ()
org.easymock.internal.MocksControl lastControl
public static boolean anyBoolean ()
public static byte anyByte ()
public static char anyChar ()
public static int anyInt ()
public static long anyLong ()
public static float anyFloat ()
public static double anyDouble ()
public static short anyShort ()
public static java.lang.Object anyObject ()
public static byte geq (byte)
byte value
public static double geq (double)
double value
public static float geq (float)
float value
public static int geq (int)
int value
public static long geq (long)
long value
public static short geq (short)
short value
public static byte leq (byte)
byte value
public static double leq (double)
double value
public static float leq (float)
float value
public static int leq (int)
int value
public static long leq (long)
long value
public static short leq (short)
short value
public static byte gt (byte)
byte value
public static double gt (double)
double value
public static float gt (float)
float value
public static int gt (int)
int value
public static long gt (long)
long value
public static short gt (short)
short value
public static byte lt (byte)
byte value
public static double lt (double)
double value
public static float lt (float)
float value
public static int lt (int)
int value
public static long lt (long)
long value
public static short lt (short)
short value
public static java.lang.Object isA (java.lang.Class)
Class clazz
public static java.lang.String contains (java.lang.String)
String substring
public static boolean and (boolean, boolean)
boolean first
boolean second
public static byte and (byte, byte)
byte first
byte second
public static char and (char, char)
char first
char second
public static double and (double, double)
double first
double second
public static float and (float, float)
float first
float second
public static int and (int, int)
int first
int second
public static long and (long, long)
long first
long second
public static short and (short, short)
short first
short second
public static java.lang.Object and (java.lang.Object, java.lang.Object)
Object first
Object second
public static boolean or (boolean, boolean)
boolean first
boolean second
public static byte or (byte, byte)
byte first
byte second
public static char or (char, char)
char first
char second
public static double or (double, double)
double first
double second
public static float or (float, float)
float first
float second
public static int or (int, int)
int first
int second
public static long or (long, long)
long first
long second
public static short or (short, short)
short first
short second
public static java.lang.Object or (java.lang.Object, java.lang.Object)
Object first
Object second
public static boolean not (boolean)
boolean first
public static byte not (byte)
byte first
public static char not (char)
char first
public static double not (double)
double first
public static float not (float)
float first
public static int not (int)
int first
public static long not (long)
long first
public static short not (short)
short first
public static java.lang.Object not (java.lang.Object)
Object first
public static boolean eq (boolean)
boolean value
public static byte eq (byte)
byte value
public static char eq (char)
char value
public static double eq (double)
double value
public static float eq (float)
float value
public static int eq (int)
int value
public static long eq (long)
long value
public static short eq (short)
short value
public static java.lang.Object eq (java.lang.Object)
Object value
public static boolean[] aryEq (boolean[])
boolean[] value
public static byte[] aryEq (byte[])
byte[] value
public static char[] aryEq (char[])
char[] value
public static double[] aryEq (double[])
double[] value
public static float[] aryEq (float[])
float[] value
public static int[] aryEq (int[])
int[] value
public static long[] aryEq (long[])
long[] value
public static short[] aryEq (short[])
short[] value
public static java.lang.Object[] aryEq (java.lang.Object[])
Object[] value
public static java.lang.Object isNull ()
public static java.lang.Object notNull ()
public static java.lang.String find (java.lang.String)
String regex
public static java.lang.String matches (java.lang.String)
String regex
public static java.lang.String startsWith (java.lang.String)
String prefix
public static java.lang.String endsWith (java.lang.String)
String suffix
public static double eq (double, double)
double value
double delta
public static float eq (float, float)
float value
float delta
public static java.lang.Object same (java.lang.Object)
Object value
public static transient void replay (java.lang.Object[])
Object mock
Object[] arr$
int len$
int i$
Object[] mocks
public static transient void reset (java.lang.Object[])
Object mock
Object[] arr$
int len$
int i$
Object[] mocks
public static transient void verify (java.lang.Object[])
Object mock
Object[] arr$
int len$
int i$
Object[] mocks
public static void checkOrder (java.lang.Object, boolean)
Object mock
boolean state
public static void reportMatcher (org.easymock.IArgumentMatcher)
org.easymock.IArgumentMatcher matcher
private static org.easymock.internal.MocksControl getControl (java.lang.Object)
Object mock
org.easymock.internal.ObjectMethodsFilter handler
public static java.lang.Object[] getCurrentArguments ()
Object[] result
}
org/easymock/IAnswer.class
IAnswer.java
package org.easymock
public abstract org.easymock.IAnswer extends java.lang.Object {
public abstract java.lang.Object answer () throws java.lang.Throwable
}
org/easymock/IArgumentMatcher.class
IArgumentMatcher.java
package org.easymock
public abstract org.easymock.IArgumentMatcher extends java.lang.Object {
public abstract boolean matches (java.lang.Object)
public abstract void appendTo (java.lang.StringBuffer)
}
org/easymock/IExpectationSetters.class
IExpectationSetters.java
package org.easymock
public abstract org.easymock.IExpectationSetters extends java.lang.Object {
public abstract org.easymock.IExpectationSetters andReturn (java.lang.Object)
public abstract org.easymock.IExpectationSetters andThrow (java.lang.Throwable)
public abstract org.easymock.IExpectationSetters andAnswer (org.easymock.IAnswer)
public abstract void andStubReturn (java.lang.Object)
public abstract void andStubThrow (java.lang.Throwable)
public abstract void andStubAnswer (org.easymock.IAnswer)
public abstract void asStub ()
public abstract org.easymock.IExpectationSetters times (int)
public abstract org.easymock.IExpectationSetters times (int, int)
public abstract org.easymock.IExpectationSetters once ()
public abstract org.easymock.IExpectationSetters atLeastOnce ()
public abstract org.easymock.IExpectationSetters anyTimes ()
}
org/easymock/IMocksControl.class
IMocksControl.java
package org.easymock
public abstract org.easymock.IMocksControl extends java.lang.Object implements org.easymock.IExpectationSetters {
public abstract java.lang.Object createMock (java.lang.Class)
public abstract void reset ()
public abstract void replay ()
public abstract void verify ()
public abstract void checkOrder (boolean)
}
org/easymock/MockControl.class
MockControl.java
package org.easymock
public org.easymock.MockControl extends java.lang.Object {
private final Object mock
private final org.easymock.internal.MocksControl ctrl
public static final org.easymock.internal.Range ONE
public static final org.easymock.internal.Range ONE_OR_MORE
public static final org.easymock.internal.Range ZERO_OR_MORE
public static final org.easymock.ArgumentsMatcher EQUALS_MATCHER
public static final org.easymock.ArgumentsMatcher ALWAYS_MATCHER
public static final org.easymock.ArgumentsMatcher ARRAY_MATCHER
protected void <init> (org.easymock.internal.MocksControl, java.lang.Class)
org.easymock.internal.MocksControl ctrl
Class toMock
public static org.easymock.MockControl createControl (java.lang.Class)
Class toMock
public static org.easymock.MockControl createStrictControl (java.lang.Class)
Class toMock
public static org.easymock.MockControl createNiceControl (java.lang.Class)
Class toMock
public java.lang.Object getMock ()
public final void reset ()
public void replay ()
public void verify ()
public void setVoidCallable ()
public void setThrowable (java.lang.Throwable)
Throwable throwable
public void setReturnValue (java.lang.Object)
Object value
public void setVoidCallable (int)
int times
public void setThrowable (java.lang.Throwable, int)
Throwable throwable
int times
public void setReturnValue (java.lang.Object, int)
Object value
int times
public void setReturnValue (java.lang.Object, org.easymock.internal.Range)
Object value
org.easymock.internal.Range range
org.easymock.IExpectationSetters setter
public void setDefaultVoidCallable ()
public void setDefaultThrowable (java.lang.Throwable)
Throwable throwable
public void setDefaultReturnValue (java.lang.Object)
Object value
public void setMatcher (org.easymock.ArgumentsMatcher)
org.easymock.ArgumentsMatcher matcher
public void setVoidCallable (int, int)
int minCount
int maxCount
public void setVoidCallable (org.easymock.internal.Range)
org.easymock.internal.Range range
org.easymock.IExpectationSetters setter
public void setThrowable (java.lang.Throwable, int, int)
Throwable throwable
int minCount
int maxCount
public void setThrowable (java.lang.Throwable, org.easymock.internal.Range)
Throwable throwable
org.easymock.internal.Range range
org.easymock.IExpectationSetters setter
public void setReturnValue (java.lang.Object, int, int)
Object value
int minCount
int maxCount
public void setDefaultMatcher (org.easymock.ArgumentsMatcher)
org.easymock.ArgumentsMatcher matcher
public void expectAndReturn (java.lang.Object, java.lang.Object)
Object ignored
Object value
public void expectAndReturn (int, int)
int ignored
int value
public void expectAndReturn (java.lang.Object, java.lang.Object, org.easymock.internal.Range)
Object ignored
Object value
org.easymock.internal.Range range
org.easymock.IExpectationSetters expectAndReturn
public void expectAndReturn (int, int, org.easymock.internal.Range)
int ignored
int value
org.easymock.internal.Range range
public void expectAndReturn (java.lang.Object, java.lang.Object, int)
Object ignored
Object value
int count
public void expectAndReturn (int, int, int)
int ignored
int value
int count
public void expectAndReturn (java.lang.Object, java.lang.Object, int, int)
Object ignored
Object value
int min
int max
public void expectAndReturn (int, int, int, int)
int ignored
int value
int min
int max
public void expectAndThrow (java.lang.Object, java.lang.Throwable)
Object ignored
Throwable throwable
public void expectAndThrow (java.lang.Object, java.lang.Throwable, org.easymock.internal.Range)
Object ignored
Throwable throwable
org.easymock.internal.Range range
org.easymock.IExpectationSetters setter
public void expectAndThrow (java.lang.Object, java.lang.Throwable, int)
Object ignored
Throwable throwable
int count
public void expectAndThrow (java.lang.Object, java.lang.Throwable, int, int)
Object ignored
Throwable throwable
int min
int max
public void expectAndDefaultReturn (java.lang.Object, java.lang.Object)
Object ignored
Object value
public void expectAndDefaultThrow (java.lang.Object, java.lang.Throwable)
Object ignored
Throwable throwable
private org.easymock.IExpectationSetters expectLastCall (java.lang.String)
IllegalStateException e
String failureMessage
private void callWithConvertedRange (org.easymock.IExpectationSetters, org.easymock.internal.Range)
org.easymock.IExpectationSetters setter
org.easymock.internal.Range range
static void <clinit> ()
}
org/easymock/internal/
org/easymock/internal/AlwaysMatcher.class
AlwaysMatcher.java
package org.easymock.internal
public org.easymock.internal.AlwaysMatcher extends org.easymock.AbstractMatcher {
public void <init> ()
public boolean matches (java.lang.Object[], java.lang.Object[])
Object[] expected
Object[] actual
protected java.lang.String argumentToString (java.lang.Object)
Object argument
}
org/easymock/internal/ArrayMatcher.class
ArrayMatcher.java
package org.easymock.internal
public org.easymock.internal.ArrayMatcher extends org.easymock.AbstractMatcher {
public void <init> ()
public java.lang.String argumentToString (java.lang.Object)
Object argument
StringBuffer result
public boolean argumentMatches (java.lang.Object, java.lang.Object)
Object expected
Object actual
}
org/easymock/internal/AssertionErrorWrapper.class
AssertionErrorWrapper.java
package org.easymock.internal
public org.easymock.internal.AssertionErrorWrapper extends java.lang.RuntimeException {
private final AssertionError error
public void <init> (java.lang.AssertionError)
AssertionError error
public java.lang.AssertionError getAssertionError ()
}
org/easymock/internal/EqualsMatcher.class
EqualsMatcher.java
package org.easymock.internal
public org.easymock.internal.EqualsMatcher extends org.easymock.AbstractMatcher {
public void <init> ()
}
org/easymock/internal/ExpectedInvocation.class
ExpectedInvocation.java
package org.easymock.internal
public org.easymock.internal.ExpectedInvocation extends java.lang.Object {
private final org.easymock.internal.Invocation invocation
private final org.easymock.ArgumentsMatcher matcher
private final java.util.List matchers
public void <init> (org.easymock.internal.Invocation, java.util.List)
org.easymock.internal.Invocation invocation
java.util.List matchers
private void <init> (org.easymock.internal.Invocation, java.util.List, org.easymock.ArgumentsMatcher)
org.easymock.internal.Invocation invocation
java.util.List matchers
org.easymock.ArgumentsMatcher matcher
private java.util.List createMissingMatchers (org.easymock.internal.Invocation, java.util.List)
Object argument
Object[] arr$
int len$
int i$
org.easymock.internal.Invocation invocation
java.util.List matchers
java.util.List result
public boolean equals (java.lang.Object)
Object o
org.easymock.internal.ExpectedInvocation other
public int hashCode ()
public boolean matches (org.easymock.internal.Invocation)
org.easymock.internal.Invocation actual
private boolean matches (java.lang.Object[])
int i
Object[] arguments
public java.lang.String toString ()
private java.lang.String myToString ()
java.util.Iterator it
StringBuffer result
public java.lang.reflect.Method getMethod ()
public org.easymock.internal.ExpectedInvocation withMatcher (org.easymock.ArgumentsMatcher)
org.easymock.ArgumentsMatcher matcher
}
org/easymock/internal/ExpectedInvocationAndResult.class
ExpectedInvocationAndResult.java
package org.easymock.internal
public org.easymock.internal.ExpectedInvocationAndResult extends java.lang.Object {
org.easymock.internal.ExpectedInvocation expectedInvocation
org.easymock.internal.Result result
public void <init> (org.easymock.internal.ExpectedInvocation, org.easymock.internal.Result)
org.easymock.internal.ExpectedInvocation expectedInvocation
org.easymock.internal.Result result
public org.easymock.internal.ExpectedInvocation getExpectedInvocation ()
public org.easymock.internal.Result getResult ()
}
org/easymock/internal/ExpectedInvocationAndResults.class
ExpectedInvocationAndResults.java
package org.easymock.internal
public org.easymock.internal.ExpectedInvocationAndResults extends java.lang.Object {
org.easymock.internal.ExpectedInvocation expectedInvocation
org.easymock.internal.Results results
public void <init> (org.easymock.internal.ExpectedInvocation, org.easymock.internal.Results)
org.easymock.internal.ExpectedInvocation expectedInvocation
org.easymock.internal.Results results
public org.easymock.internal.ExpectedInvocation getExpectedInvocation ()
public org.easymock.internal.Results getResults ()
public java.lang.String toString ()
}
org/easymock/internal/ILegacyMatcherMethods.class
ILegacyMatcherMethods.java
package org.easymock.internal
public abstract org.easymock.internal.ILegacyMatcherMethods extends java.lang.Object {
public abstract void setDefaultMatcher (org.easymock.ArgumentsMatcher)
public abstract void setMatcher (java.lang.reflect.Method, org.easymock.ArgumentsMatcher)
}
org/easymock/internal/ILegacyMethods.class
ILegacyMethods.java
package org.easymock.internal
public abstract org.easymock.internal.ILegacyMethods extends java.lang.Object implements org.easymock.internal.ILegacyMatcherMethods {
public abstract void setDefaultReturnValue (java.lang.Object)
public abstract void setDefaultThrowable (java.lang.Throwable)
public abstract void setDefaultVoidCallable ()
}
org/easymock/internal/IMocksBehavior.class
IMocksBehavior.java
package org.easymock.internal
public abstract org.easymock.internal.IMocksBehavior extends java.lang.Object implements org.easymock.internal.ILegacyMatcherMethods {
public abstract void addExpected (org.easymock.internal.ExpectedInvocation, org.easymock.internal.Result, org.easymock.internal.Range)
public abstract void addStub (org.easymock.internal.ExpectedInvocation, org.easymock.internal.Result)
public abstract void checkOrder (boolean)
public abstract org.easymock.internal.Result addActual (org.easymock.internal.Invocation)
public abstract void verify ()
}
org/easymock/internal/IMocksControlState.class
IMocksControlState.java
package org.easymock.internal
public abstract org.easymock.internal.IMocksControlState extends java.lang.Object implements org.easymock.internal.ILegacyMethods {
public abstract java.lang.Object invoke (org.easymock.internal.Invocation) throws java.lang.Throwable
public abstract void assertRecordState ()
public abstract void andReturn (java.lang.Object)
public abstract void andThrow (java.lang.Throwable)
public abstract void andAnswer (org.easymock.IAnswer)
public abstract void andStubReturn (java.lang.Object)
public abstract void andStubThrow (java.lang.Throwable)
public abstract void andStubAnswer (org.easymock.IAnswer)
public abstract void asStub ()
public abstract void times (org.easymock.internal.Range)
public abstract void checkOrder (boolean)
public abstract void replay ()
public abstract void verify ()
}
org/easymock/internal/IProxyFactory.class
IProxyFactory.java
package org.easymock.internal
public abstract org.easymock.internal.IProxyFactory extends java.lang.Object {
public abstract java.lang.Object createProxy (java.lang.Class, java.lang.reflect.InvocationHandler)
}
org/easymock/internal/Invocation.class
Invocation.java
package org.easymock.internal
public org.easymock.internal.Invocation extends java.lang.Object {
private final Object mock
private final java.lang.reflect.Method method
private final Object[] arguments
public void <init> (java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
Object mock
java.lang.reflect.Method method
Object[] args
private static java.lang.Object[] expandVarArgs (boolean, java.lang.Object[])
boolean isVarArgs
Object[] args
Object[] varArgs
int nonVarArgsCount
int varArgsCount
Object[] newArgs
public java.lang.Object getMock ()
public java.lang.reflect.Method getMethod ()
public java.lang.Object[] getArguments ()
public boolean equals (java.lang.Object)
Object o
org.easymock.internal.Invocation other
public int hashCode ()
private boolean equalArguments (java.lang.Object[])
Object myArgument
Object otherArgument
int i
Object[] arguments
private boolean isPrimitiveParameter (int)
int parameterPosition
Class[] parameterTypes
public boolean matches (org.easymock.internal.Invocation, org.easymock.ArgumentsMatcher)
org.easymock.internal.Invocation actual
org.easymock.ArgumentsMatcher matcher
public java.lang.String toString (org.easymock.ArgumentsMatcher)
org.easymock.ArgumentsMatcher matcher
}
org/easymock/internal/JavaProxyFactory.class
JavaProxyFactory.java
package org.easymock.internal
public org.easymock.internal.JavaProxyFactory extends java.lang.Object implements org.easymock.internal.IProxyFactory {
public void <init> ()
public java.lang.Object createProxy (java.lang.Class, java.lang.reflect.InvocationHandler)
Class toMock
java.lang.reflect.InvocationHandler handler
}
org/easymock/internal/LastControl.class
LastControl.java
package org.easymock.internal
public org.easymock.internal.LastControl extends java.lang.Object {
private static final java.util.WeakHashMap threadToControl
private static final java.util.WeakHashMap threadToCurrentArguments
private static final java.util.WeakHashMap threadToArgumentMatcherStack
public void <init> ()
public static synchronized void reportLastControl (org.easymock.internal.MocksControl)
org.easymock.internal.MocksControl control
public static synchronized org.easymock.internal.MocksControl lastControl ()
public static synchronized void reportMatcher (org.easymock.IArgumentMatcher)
org.easymock.IArgumentMatcher matcher
java.util.Stack stack
public static synchronized java.util.List pullMatchers ()
java.util.Stack stack
public static synchronized void reportAnd (int)
int count
java.util.Stack stack
public static synchronized void reportNot ()
java.util.Stack stack
private static java.util.List popLastArgumentMatchers (int)
int i
int count
java.util.Stack stack
java.util.List result
private static void assertState (boolean, java.lang.String)
boolean toAssert
String message
public static void reportOr (int)
int count
java.util.Stack stack
public static java.lang.Object[] getCurrentArguments ()
java.util.Stack stack
public static void pushCurrentArguments (java.lang.Object[])
Object[] args
java.util.Stack stack
public static void popCurrentArguments ()
java.util.Stack stack
static void <clinit> ()
}
org/easymock/internal/LegacyMatcherProvider.class
LegacyMatcherProvider.java
package org.easymock.internal
public org.easymock.internal.LegacyMatcherProvider extends java.lang.Object {
private org.easymock.ArgumentsMatcher defaultMatcher
private boolean defaultMatcherSet
private java.util.Map matchers
public void <init> ()
public org.easymock.ArgumentsMatcher getMatcher (java.lang.reflect.Method)
java.lang.reflect.Method method
public void setDefaultMatcher (org.easymock.ArgumentsMatcher)
org.easymock.ArgumentsMatcher matcher
public void setMatcher (java.lang.reflect.Method, org.easymock.ArgumentsMatcher)
java.lang.reflect.Method method
org.easymock.ArgumentsMatcher matcher
}
org/easymock/internal/MockInvocationHandler.class
MockInvocationHandler.java
package org.easymock.internal
public final org.easymock.internal.MockInvocationHandler extends java.lang.Object implements java.lang.reflect.InvocationHandler {
final org.easymock.internal.MocksControl control
public void <init> (org.easymock.internal.MocksControl)
org.easymock.internal.MocksControl control
public java.lang.Object invoke (java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) throws java.lang.Throwable
org.easymock.internal.RuntimeExceptionWrapper e
org.easymock.internal.AssertionErrorWrapper e
org.easymock.internal.ThrowableWrapper t
Object proxy
java.lang.reflect.Method method
Object[] args
public org.easymock.internal.MocksControl getControl ()
}
org/easymock/internal/MocksBehavior.class
MocksBehavior.java
package org.easymock.internal
public org.easymock.internal.MocksBehavior extends java.lang.Object implements org.easymock.internal.IMocksBehavior {
private final java.util.List behaviorLists
private java.util.List stubResults
private final boolean nice
private boolean checkOrder
private int position
private org.easymock.internal.LegacyMatcherProvider legacyMatcherProvider
public void <init> (boolean)
boolean nice
public final void addStub (org.easymock.internal.ExpectedInvocation, org.easymock.internal.Result)
org.easymock.internal.ExpectedInvocation expected
org.easymock.internal.Result result
public void addExpected (org.easymock.internal.ExpectedInvocation, org.easymock.internal.Result, org.easymock.internal.Range)
org.easymock.internal.ExpectedInvocation expected
org.easymock.internal.Result result
org.easymock.internal.Range count
private final org.easymock.internal.Result getStubResult (org.easymock.internal.Invocation)
org.easymock.internal.ExpectedInvocationAndResult each
java.util.Iterator i$
org.easymock.internal.Invocation actual
private void addBehaviorListIfNecessary (org.easymock.internal.ExpectedInvocation)
org.easymock.internal.ExpectedInvocation expected
private org.easymock.internal.UnorderedBehavior lastBehaviorList ()
public final org.easymock.internal.Result addActual (org.easymock.internal.Invocation)
org.easymock.internal.Result result
org.easymock.internal.Invocation actual
int tempPosition
String errorMessage
org.easymock.internal.Result stubOrNice
public void verify ()
org.easymock.internal.UnorderedBehavior behaviorList
java.util.Iterator i$
boolean verified
StringBuffer errorMessage
public void checkOrder (boolean)
boolean value
public org.easymock.internal.LegacyMatcherProvider getLegacyMatcherProvider ()
public void setDefaultMatcher (org.easymock.ArgumentsMatcher)
org.easymock.ArgumentsMatcher matcher
public void setMatcher (java.lang.reflect.Method, org.easymock.ArgumentsMatcher)
java.lang.reflect.Method method
org.easymock.ArgumentsMatcher matcher
}
org/easymock/internal/MocksControl$MockType.class
MocksControl.java
package org.easymock.internal
public final enum org.easymock.internal.MocksControl$MockType extends java.lang.Enum {
public static final enum org.easymock.internal.MocksControl$MockType NICE
public static final enum org.easymock.internal.MocksControl$MockType DEFAULT
public static final enum org.easymock.internal.MocksControl$MockType STRICT
private static final synthetic org.easymock.internal.MocksControl$MockType[] $VALUES
public static final org.easymock.internal.MocksControl$MockType[] values ()
public static org.easymock.internal.MocksControl$MockType valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
static void <clinit> ()
}
org/easymock/internal/MocksControl.class
MocksControl.java
package org.easymock.internal
public org.easymock.internal.MocksControl extends java.lang.Object implements org.easymock.IMocksControl {
private org.easymock.internal.IMocksControlState state
private org.easymock.internal.IMocksBehavior behavior
private final org.easymock.internal.MocksControl$MockType type
public static final org.easymock.internal.Range ONCE
public static final org.easymock.internal.Range AT_LEAST_ONCE
public static final org.easymock.internal.Range ZERO_OR_MORE
public void <init> (org.easymock.internal.MocksControl$MockType)
org.easymock.internal.MocksControl$MockType type
public org.easymock.internal.IMocksControlState getState ()
public java.lang.Object createMock (java.lang.Class)
org.easymock.internal.IProxyFactory proxyFactory
org.easymock.internal.RuntimeExceptionWrapper e
Class toMock
protected org.easymock.internal.IProxyFactory createProxyFactory (java.lang.Class)
Class toMock
public final void reset ()
public void replay ()
org.easymock.internal.RuntimeExceptionWrapper e
public void verify ()
org.easymock.internal.RuntimeExceptionWrapper e
org.easymock.internal.AssertionErrorWrapper e
public void checkOrder (boolean)
org.easymock.internal.RuntimeExceptionWrapper e
boolean value
public org.easymock.IExpectationSetters andReturn (java.lang.Object)
org.easymock.internal.RuntimeExceptionWrapper e
Object value
public org.easymock.IExpectationSetters andThrow (java.lang.Throwable)
org.easymock.internal.RuntimeExceptionWrapper e
Throwable throwable
public org.easymock.IExpectationSetters andAnswer (org.easymock.IAnswer)
org.easymock.internal.RuntimeExceptionWrapper e
org.easymock.IAnswer answer
public void andStubReturn (java.lang.Object)
org.easymock.internal.RuntimeExceptionWrapper e
Object value
public void andStubThrow (java.lang.Throwable)
org.easymock.internal.RuntimeExceptionWrapper e
Throwable throwable
public void andStubAnswer (org.easymock.IAnswer)
org.easymock.internal.RuntimeExceptionWrapper e
org.easymock.IAnswer answer
public void asStub ()
org.easymock.internal.RuntimeExceptionWrapper e
public org.easymock.IExpectationSetters times (int)
org.easymock.internal.RuntimeExceptionWrapper e
int times
public org.easymock.IExpectationSetters times (int, int)
org.easymock.internal.RuntimeExceptionWrapper e
int min
int max
public org.easymock.IExpectationSetters once ()
org.easymock.internal.RuntimeExceptionWrapper e
public org.easymock.IExpectationSetters atLeastOnce ()
org.easymock.internal.RuntimeExceptionWrapper e
public org.easymock.IExpectationSetters anyTimes ()
org.easymock.internal.RuntimeExceptionWrapper e
public void setLegacyDefaultMatcher (org.easymock.ArgumentsMatcher)
org.easymock.internal.RuntimeExceptionWrapper e
org.easymock.ArgumentsMatcher matcher
public void setLegacyMatcher (org.easymock.ArgumentsMatcher)
org.easymock.internal.RuntimeExceptionWrapper e
org.easymock.ArgumentsMatcher matcher
public void setLegacyDefaultReturnValue (java.lang.Object)
org.easymock.internal.RuntimeExceptionWrapper e
Object value
public void setLegacyDefaultVoidCallable ()
public void setLegacyDefaultThrowable (java.lang.Throwable)
org.easymock.internal.RuntimeExceptionWrapper e
Throwable throwable
static void <clinit> ()
}
org/easymock/internal/ObjectMethodsFilter.class
ObjectMethodsFilter.java
package org.easymock.internal
public org.easymock.internal.ObjectMethodsFilter extends java.lang.Object implements java.lang.reflect.InvocationHandler {
private final java.lang.reflect.Method equalsMethod
private final java.lang.reflect.Method hashCodeMethod
private final java.lang.reflect.Method toStringMethod
private final org.easymock.internal.MockInvocationHandler delegate
public void <init> (org.easymock.internal.MockInvocationHandler)
NoSuchMethodException e
org.easymock.internal.MockInvocationHandler delegate
public final java.lang.Object invoke (java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) throws java.lang.Throwable
Object proxy
java.lang.reflect.Method method
Object[] args
private java.lang.String mockToString (java.lang.Object)
Object proxy
private java.lang.String mockType (java.lang.Object)
Object proxy
public org.easymock.internal.MockInvocationHandler getDelegate ()
}
org/easymock/internal/Range.class
Range.java
package org.easymock.internal
public org.easymock.internal.Range extends java.lang.Object {
private int minimum
private int maximum
public void <init> (int)
int count
public void <init> (int, int)
int minimum
int maximum
public boolean hasFixedCount ()
public int getMaximum ()
public int getMinimum ()
public java.lang.String toString ()
public java.lang.String expectedAndActual (int)
int count
public boolean contains (int)
int count
public boolean hasOpenCount ()
}
org/easymock/internal/RecordState.class
RecordState.java
package org.easymock.internal
public org.easymock.internal.RecordState extends java.lang.Object implements org.easymock.internal.IMocksControlState {
private org.easymock.internal.ExpectedInvocation lastInvocation
private boolean lastInvocationUsed
private org.easymock.internal.Result lastResult
private org.easymock.internal.IMocksBehavior behavior
private static java.util.Map emptyReturnValues
private static java.util.Map primitiveToWrapperType
public void <init> (org.easymock.internal.IMocksBehavior)
org.easymock.internal.IMocksBehavior behavior
public void assertRecordState ()
public java.lang.Object invoke (org.easymock.internal.Invocation)
org.easymock.internal.Invocation invocation
java.util.List lastMatchers
public void replay ()
public void verify ()
public void andReturn (java.lang.Object)
Object value
public void andThrow (java.lang.Throwable)
Throwable throwable
public void andAnswer (org.easymock.IAnswer)
org.easymock.IAnswer answer
public void andStubReturn (java.lang.Object)
Object value
public void setDefaultReturnValue (java.lang.Object)
Object value
public void asStub ()
public void setDefaultVoidCallable ()
public void andStubThrow (java.lang.Throwable)
Throwable throwable
public void setDefaultThrowable (java.lang.Throwable)
Throwable throwable
public void andStubAnswer (org.easymock.IAnswer)
org.easymock.IAnswer answer
public void times (org.easymock.internal.Range)
org.easymock.internal.Range range
private java.lang.Object createNumberObject (java.lang.Object, java.lang.Class)
Object value
Class returnType
Number number
private java.lang.Object convertNumberClassIfNeccessary (java.lang.Object)
Object o
Class returnType
private void closeMethod ()
public static java.lang.Object emptyReturnValueFor (java.lang.Class)
Class type
private void requireMethodCall (java.lang.String)
String failMessage
private void requireAssignable (java.lang.Object)
Object returnValue
Class returnedType
private void requireValidThrowable (java.lang.Throwable)
Throwable throwable
private void requireValidAnswer (org.easymock.IAnswer)
org.easymock.IAnswer answer
private void requireLastResultOrVoidMethod ()
private void requireVoidMethod ()
private boolean isLastResultOrVoidMethod ()
private boolean lastMethodIsVoidMethod ()
Class returnType
private boolean isValidThrowable (java.lang.Throwable)
Class exception
Class[] arr$
int len$
int i$
Throwable throwable
Class[] exceptions
Class throwableClass
public void checkOrder (boolean)
boolean value
public void setDefaultMatcher (org.easymock.ArgumentsMatcher)
org.easymock.ArgumentsMatcher matcher
public void setMatcher (java.lang.reflect.Method, org.easymock.ArgumentsMatcher)
java.lang.reflect.Method method
org.easymock.ArgumentsMatcher matcher
static void <clinit> ()
}
org/easymock/internal/ReplayState.class
ReplayState.java
package org.easymock.internal
public org.easymock.internal.ReplayState extends java.lang.Object implements org.easymock.internal.IMocksControlState {
private org.easymock.internal.IMocksBehavior behavior
public void <init> (org.easymock.internal.IMocksBehavior)
org.easymock.internal.IMocksBehavior behavior
public java.lang.Object invoke (org.easymock.internal.Invocation) throws java.lang.Throwable
Throwable t
org.easymock.internal.Invocation invocation
org.easymock.internal.Result result
public void verify ()
public void replay ()
public void callback (java.lang.Runnable)
Runnable runnable
public void checkOrder (boolean)
boolean value
public void andReturn (java.lang.Object)
Object value
public void andThrow (java.lang.Throwable)
Throwable throwable
public void andAnswer (org.easymock.IAnswer)
org.easymock.IAnswer answer
public void andStubReturn (java.lang.Object)
Object value
public void andStubThrow (java.lang.Throwable)
Throwable throwable
public void andStubAnswer (org.easymock.IAnswer)
org.easymock.IAnswer answer
public void asStub ()
public void times (org.easymock.internal.Range)
org.easymock.internal.Range range
public void setMatcher (java.lang.reflect.Method, org.easymock.ArgumentsMatcher)
java.lang.reflect.Method method
org.easymock.ArgumentsMatcher matcher
public void setDefaultMatcher (org.easymock.ArgumentsMatcher)
org.easymock.ArgumentsMatcher matcher
public void setDefaultReturnValue (java.lang.Object)
Object value
public void setDefaultThrowable (java.lang.Throwable)
Throwable throwable
public void setDefaultVoidCallable ()
private void throwWrappedIllegalStateException ()
public void assertRecordState ()
}
org/easymock/internal/Result$1.class
Result.java
package org.easymock.internal
org.easymock.internal.Result$1 extends java.lang.Object implements org.easymock.IAnswer {
final synthetic Throwable val$throwable
void <init> (java.lang.Throwable) throws java.lang.Throwable
public java.lang.Object answer () throws java.lang.Throwable
}
org/easymock/internal/Result$2.class
Result.java
package org.easymock.internal
org.easymock.internal.Result$2 extends java.lang.Object implements org.easymock.IAnswer {
final synthetic Object val$value
void <init> (java.lang.Object)
public java.lang.Object answer () throws java.lang.Throwable
}
org/easymock/internal/Result.class
Result.java
package org.easymock.internal
public org.easymock.internal.Result extends java.lang.Object implements org.easymock.IAnswer {
private org.easymock.IAnswer value
private void <init> (org.easymock.IAnswer)
org.easymock.IAnswer value
public static org.easymock.internal.Result createThrowResult (java.lang.Throwable)
Throwable throwable
public static org.easymock.internal.Result createReturnResult (java.lang.Object)
Object value
public static org.easymock.internal.Result createAnswerResult (org.easymock.IAnswer)
org.easymock.IAnswer answer
public java.lang.Object answer () throws java.lang.Throwable
}
org/easymock/internal/Results.class
Results.java
package org.easymock.internal
public org.easymock.internal.Results extends java.lang.Object {
private int callCount
private java.util.LinkedList ranges
private java.util.List results
public void <init> ()
public void add (org.easymock.internal.Result, org.easymock.internal.Range)
org.easymock.internal.Range lastRange
org.easymock.internal.Result result
org.easymock.internal.Range range
public org.easymock.internal.Result next ()
org.easymock.internal.Range interval
int i
int currentPosition
public boolean hasValidCallCount ()
public java.lang.String toString ()
private org.easymock.internal.Range getMainInterval ()
org.easymock.internal.Range interval
java.util.Iterator i$
int min
int max
public int getCallCount ()
}
org/easymock/internal/RuntimeExceptionWrapper.class
RuntimeExceptionWrapper.java
package org.easymock.internal
public org.easymock.internal.RuntimeExceptionWrapper extends java.lang.RuntimeException {
private final RuntimeException runtimeException
public void <init> (java.lang.RuntimeException)
RuntimeException runtimeException
public java.lang.RuntimeException getRuntimeException ()
}
org/easymock/internal/ThrowableWrapper.class
ThrowableWrapper.java
package org.easymock.internal
public org.easymock.internal.ThrowableWrapper extends java.lang.Throwable {
private final Throwable throwable
public void <init> (java.lang.Throwable)
Throwable throwable
public java.lang.Throwable getThrowable ()
}
org/easymock/internal/UnorderedBehavior.class
UnorderedBehavior.java
package org.easymock.internal
public org.easymock.internal.UnorderedBehavior extends java.lang.Object {
private final java.util.List results
private final boolean checkOrder
public void <init> (boolean)
boolean checkOrder
public void addExpected (org.easymock.internal.ExpectedInvocation, org.easymock.internal.Result, org.easymock.internal.Range)
org.easymock.internal.ExpectedInvocationAndResults entry
java.util.Iterator i$
org.easymock.internal.ExpectedInvocation expected
org.easymock.internal.Result result
org.easymock.internal.Range count
org.easymock.internal.Results list
public org.easymock.internal.Result addActual (org.easymock.internal.Invocation)
org.easymock.internal.Result result
org.easymock.internal.ExpectedInvocationAndResults entry
java.util.Iterator i$
org.easymock.internal.Invocation actual
public boolean verify ()
org.easymock.internal.ExpectedInvocationAndResults entry
java.util.Iterator i$
public java.lang.String toString ()
public java.lang.String toString (org.easymock.internal.Invocation)
boolean unordered
boolean validCallCount
boolean match
org.easymock.internal.ExpectedInvocationAndResults entry
java.util.Iterator i$
org.easymock.internal.Invocation invocation
StringBuffer result
public boolean allowsExpectedInvocation (org.easymock.internal.ExpectedInvocation, boolean)
org.easymock.internal.ExpectedInvocation lastMethodCall
org.easymock.internal.ExpectedInvocation expected
boolean checkOrder
}
org/easymock/internal/matchers/
org/easymock/internal/matchers/And.class
And.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.And extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final java.util.List matchers
public void <init> (java.util.List)
java.util.List matchers
public boolean matches (java.lang.Object)
org.easymock.IArgumentMatcher matcher
java.util.Iterator i$
Object actual
public void appendTo (java.lang.StringBuffer)
java.util.Iterator it
StringBuffer buffer
}
org/easymock/internal/matchers/Any.class
Any.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.Any extends java.lang.Object implements org.easymock.IArgumentMatcher {
public static final org.easymock.internal.matchers.Any ANY
private void <init> ()
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
static void <clinit> ()
}
org/easymock/internal/matchers/ArrayEquals.class
ArrayEquals.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.ArrayEquals extends org.easymock.internal.matchers.Equals {
public void <init> (java.lang.Object)
Object expected
public boolean matches (java.lang.Object)
Object actual
Object expected
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
private void appendArray (java.lang.Object[], java.lang.StringBuffer)
int i
Object[] array
StringBuffer buffer
public static java.lang.Object[] createObjectArray (java.lang.Object)
int i
Object array
Object[] result
}
org/easymock/internal/matchers/Contains.class
Contains.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.Contains extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final String substring
public void <init> (java.lang.String)
String substring
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
}
org/easymock/internal/matchers/EndsWith.class
EndsWith.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.EndsWith extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final String suffix
public void <init> (java.lang.String)
String suffix
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
}
org/easymock/internal/matchers/Equals.class
Equals.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.Equals extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final Object expected
public void <init> (java.lang.Object)
Object expected
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
private void appendQuoting (java.lang.StringBuffer)
StringBuffer buffer
protected final java.lang.Object getExpected ()
public boolean equals (java.lang.Object)
Object o
org.easymock.internal.matchers.Equals other
public int hashCode ()
}
org/easymock/internal/matchers/EqualsWithDelta.class
EqualsWithDelta.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.EqualsWithDelta extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final Number expected
private final Number delta
public void <init> (java.lang.Number, java.lang.Number)
Number value
Number delta
public boolean matches (java.lang.Object)
Object actual
Number actualNumber
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
}
org/easymock/internal/matchers/Find.class
Find.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.Find extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final String regex
public void <init> (java.lang.String)
String regex
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
}
org/easymock/internal/matchers/GreaterOrEqual.class
GreaterOrEqual.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.GreaterOrEqual extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final Number expected
public void <init> (java.lang.Number)
Number value
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
}
org/easymock/internal/matchers/GreaterThan.class
GreaterThan.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.GreaterThan extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final Number expected
public void <init> (java.lang.Number)
Number value
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
}
org/easymock/internal/matchers/InstanceOf.class
InstanceOf.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.InstanceOf extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final Class clazz
public void <init> (java.lang.Class)
Class clazz
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
}
org/easymock/internal/matchers/LessOrEqual.class
LessOrEqual.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.LessOrEqual extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final Number expected
public void <init> (java.lang.Number)
Number value
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
}
org/easymock/internal/matchers/LessThan.class
LessThan.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.LessThan extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final Number expected
public void <init> (java.lang.Number)
Number value
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
}
org/easymock/internal/matchers/Matches.class
Matches.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.Matches extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final String regex
public void <init> (java.lang.String)
String regex
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
}
org/easymock/internal/matchers/Not.class
Not.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.Not extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final org.easymock.IArgumentMatcher first
public void <init> (org.easymock.IArgumentMatcher)
org.easymock.IArgumentMatcher first
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
}
org/easymock/internal/matchers/NotNull.class
NotNull.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.NotNull extends java.lang.Object implements org.easymock.IArgumentMatcher {
public static final org.easymock.internal.matchers.NotNull NOT_NULL
private void <init> ()
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
static void <clinit> ()
}
org/easymock/internal/matchers/Null.class
Null.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.Null extends java.lang.Object implements org.easymock.IArgumentMatcher {
public static final org.easymock.internal.matchers.Null NULL
private void <init> ()
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
static void <clinit> ()
}
org/easymock/internal/matchers/Or.class
Or.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.Or extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final java.util.List matchers
public void <init> (java.util.List)
java.util.List matchers
public boolean matches (java.lang.Object)
org.easymock.IArgumentMatcher matcher
java.util.Iterator i$
Object actual
public void appendTo (java.lang.StringBuffer)
java.util.Iterator it
StringBuffer buffer
}
org/easymock/internal/matchers/Same.class
Same.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.Same extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final Object expected
public void <init> (java.lang.Object)
Object expected
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
private void appendQuoting (java.lang.StringBuffer)
StringBuffer buffer
}
org/easymock/internal/matchers/StartsWith.class
StartsWith.java
package org.easymock.internal.matchers
public org.easymock.internal.matchers.StartsWith extends java.lang.Object implements org.easymock.IArgumentMatcher {
private final String prefix
public void <init> (java.lang.String)
String prefix
public boolean matches (java.lang.Object)
Object actual
public void appendTo (java.lang.StringBuffer)
StringBuffer buffer
}