com.hammingweight.hammock.mocks.microedition.media.control
Class MockTempoControl

java.lang.Object
  extended by com.hammingweight.hammock.AMockObject
      extended by com.hammingweight.hammock.mocks.microedition.media.control.MockTempoControl
All Implemented Interfaces:
IHammockExceptionErrors, IMockObject, javax.microedition.media.Control, javax.microedition.media.control.RateControl, javax.microedition.media.control.TempoControl

public class MockTempoControl
extends AMockObject
implements javax.microedition.media.control.TempoControl


Field Summary
static MockMethod MTHD_GET_MAX_RATE
           
static MockMethod MTHD_GET_MIN_RATE
           
static MockMethod MTHD_GET_RATE
           
static MockMethod MTHD_GET_TEMPO
           
static MockMethod MTHD_SET_RATE_$_INT
           
static MockMethod MTHD_SET_TEMPO_$_INT
           
 
Fields inherited from interface com.hammingweight.hammock.IHammockExceptionErrors
ARGUMENT_MATCHER_ALREADY_SET, CANT_SET_VOID_RETURN_VALUE, CLASS_IS_NOT_THROWABLE, DOES_NOT_SUBCLASS_MOCK_OBJECT, HANDLER_NOT_SET, INCORRECT_MOCK_OBJECT, INCORRECT_RETURN_CLASS, INCORRECT_THROWABLE_CLASS, METHOD_CANNOT_BE_EVALUATED, METHOD_INVOKED_OUT_OF_SEQUENCE, METHOD_INVOKED_TOO_MANY_TIMES, METHOD_INVOKED_UNEXPECTED_NUMBER_OF_TIMES, NO_RETURN_VALUE, NO_RETURN_VALUE_SET, NUM_INVOCATIONS_ALREADY_SET, RETURN_VALUE_ALREADY_SET, WRONG_ARGUMENT_CLASS, WRONG_NUMBER_OF_ARGS
 
Constructor Summary
MockTempoControl()
           
MockTempoControl(IInvocationHandler handler)
           
 
Method Summary
 int getMaxRate()
           
 int getMinRate()
           
 int getRate()
           
 int getTempo()
           
 int setRate(int arg0)
           
 int setTempo(int arg0)
           
 
Methods inherited from class com.hammingweight.hammock.AMockObject
assertReturnNotNull, getInvocationHandler, setInvocationHandler
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MTHD_GET_MAX_RATE

public static final MockMethod MTHD_GET_MAX_RATE

MTHD_GET_MIN_RATE

public static final MockMethod MTHD_GET_MIN_RATE

MTHD_GET_RATE

public static final MockMethod MTHD_GET_RATE

MTHD_GET_TEMPO

public static final MockMethod MTHD_GET_TEMPO

MTHD_SET_RATE_$_INT

public static final MockMethod MTHD_SET_RATE_$_INT

MTHD_SET_TEMPO_$_INT

public static final MockMethod MTHD_SET_TEMPO_$_INT
Constructor Detail

MockTempoControl

public MockTempoControl()

MockTempoControl

public MockTempoControl(IInvocationHandler handler)
Method Detail

getMaxRate

public int getMaxRate()
Specified by:
getMaxRate in interface javax.microedition.media.control.RateControl

getMinRate

public int getMinRate()
Specified by:
getMinRate in interface javax.microedition.media.control.RateControl

getRate

public int getRate()
Specified by:
getRate in interface javax.microedition.media.control.RateControl

getTempo

public int getTempo()
Specified by:
getTempo in interface javax.microedition.media.control.TempoControl

setRate

public int setRate(int arg0)
Specified by:
setRate in interface javax.microedition.media.control.RateControl

setTempo

public int setTempo(int arg0)
Specified by:
setTempo in interface javax.microedition.media.control.TempoControl