Télécharger la bibliothèque easymock-1.2_Java1.3.jar

Author:

org.easymock.MockControl(Ci-dessous la liste des Méthodes de la classe)

public static org.easymock.MockControl createControl(Class toMock)
public static org.easymock.MockControl createStrictControl(Class toMock)
public static org.easymock.MockControl createNiceControl(Class toMock)
public Object getMock()
public final void reset()
public void replay()
public void verify()
public void setVoidCallable()
public void setThrowable(Throwable throwable)
public void setReturnValue(boolean value)
public void setReturnValue(long value)
public void setReturnValue(float value)
public void setReturnValue(double value)
public void setReturnValue(Object value)
public void setVoidCallable(int times)
public void setThrowable(Throwable throwable, int times)
public void setReturnValue(boolean value, int times)
public void setReturnValue(double value, int times)
public void setReturnValue(float value, int times)
public void setReturnValue(long value, int times)
public void setReturnValue(Object value, int times)
public void setVoidCallable(org.easymock.internal.Range range)
public void setThrowable(Throwable throwable, org.easymock.internal.Range range)
public void setReturnValue(boolean value, org.easymock.internal.Range range)
public void setReturnValue(double value, org.easymock.internal.Range range)
public void setReturnValue(float value, org.easymock.internal.Range range)
public void setReturnValue(long value, org.easymock.internal.Range range)
public void setReturnValue(Object value, org.easymock.internal.Range range)
public void setDefaultVoidCallable()
public void setDefaultThrowable(Throwable throwable)
public void setDefaultReturnValue(boolean value)
public void setDefaultReturnValue(long value)
public void setDefaultReturnValue(float value)
public void setDefaultReturnValue(double value)
public void setDefaultReturnValue(Object value)
public void setMatcher(org.easymock.ArgumentsMatcher matcher)
public void setVoidCallable(int minCount, int maxCount)
public void setThrowable(Throwable throwable, int minCount, int maxCount)
public void setReturnValue(boolean value, int minCount, int maxCount)
public void setReturnValue(long value, int minCount, int maxCount)
public void setReturnValue(float value, int minCount, int maxCount)
public void setReturnValue(double value, int minCount, int maxCount)
public void setReturnValue(Object value, int minCount, int maxCount)
public void setDefaultMatcher(org.easymock.ArgumentsMatcher matcher)
public void expectAndReturn(boolean ignored, boolean value)
public void expectAndReturn(long ignored, long value)
public void expectAndReturn(float ignored, float value)
public void expectAndReturn(double ignored, double value)
public void expectAndReturn(Object ignored, Object value)
public void expectAndReturn(boolean ignored, boolean value, org.easymock.internal.Range range)
public void expectAndReturn(long ignored, long value, org.easymock.internal.Range range)
public void expectAndReturn(float ignored, float value, org.easymock.internal.Range range)
public void expectAndReturn(double ignored, double value, org.easymock.internal.Range range)
public void expectAndReturn(Object ignored, Object value, org.easymock.internal.Range range)
public void expectAndReturn(boolean ignored, boolean value, int count)
public void expectAndReturn(long ignored, long value, int count)
public void expectAndReturn(float ignored, float value, int count)
public void expectAndReturn(double ignored, double value, int count)
public void expectAndReturn(Object ignored, Object value, int count)
public void expectAndReturn(boolean ignored, boolean value, int min, int max)
public void expectAndReturn(long ignored, long value, int min, int max)
public void expectAndReturn(float ignored, float value, int min, int max)
public void expectAndReturn(double ignored, double value, int min, int max)
public void expectAndReturn(Object ignored, Object value, int min, int max)
public void expectAndThrow(boolean ignored, Throwable throwable)
public void expectAndThrow(long ignored, Throwable throwable)
public void expectAndThrow(float ignored, Throwable throwable)
public void expectAndThrow(double ignored, Throwable throwable)
public void expectAndThrow(Object ignored, Throwable throwable)
public void expectAndThrow(boolean ignored, Throwable throwable, org.easymock.internal.Range range)
public void expectAndThrow(long ignored, Throwable throwable, org.easymock.internal.Range range)
public void expectAndThrow(float ignored, Throwable throwable, org.easymock.internal.Range range)
public void expectAndThrow(double ignored, Throwable throwable, org.easymock.internal.Range range)
public void expectAndThrow(Object ignored, Throwable throwable, org.easymock.internal.Range range)
public void expectAndThrow(boolean ignored, Throwable throwable, int count)
public void expectAndThrow(long ignored, Throwable throwable, int count)
public void expectAndThrow(float ignored, Throwable throwable, int count)
public void expectAndThrow(double ignored, Throwable throwable, int count)
public void expectAndThrow(Object ignored, Throwable throwable, int count)
public void expectAndThrow(boolean ignored, Throwable throwable, int min, int max)
public void expectAndThrow(long ignored, Throwable throwable, int min, int max)
public void expectAndThrow(float ignored, Throwable throwable, int min, int max)
public void expectAndThrow(double ignored, Throwable throwable, int min, int max)
public void expectAndThrow(Object ignored, Throwable throwable, int min, int max)
public void expectAndDefaultReturn(boolean ignored, boolean value)
public void expectAndDefaultReturn(long ignored, long value)
public void expectAndDefaultReturn(float ignored, float value)
public void expectAndDefaultReturn(double ignored, double value)
public void expectAndDefaultReturn(Object ignored, Object value)
public void expectAndDefaultThrow(boolean ignored, Throwable throwable)
public void expectAndDefaultThrow(long ignored, Throwable throwable)
public void expectAndDefaultThrow(float ignored, Throwable throwable)
public void expectAndDefaultThrow(double ignored, Throwable throwable)
public void expectAndDefaultThrow(Object ignored, Throwable throwable)

A Voir sur le même Sujet:

  • MAN 3JAR
  • class assert calcul

Leave a Reply

Your email address will not be published. Required fields are marked *