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

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

public class MockFramePositioningControl
extends AMockObject
implements javax.microedition.media.control.FramePositioningControl


Field Summary
static MockMethod MTHD_MAP_FRAME_TO_TIME_$_INT
           
static MockMethod MTHD_MAP_TIME_TO_FRAME_$_LONG
           
static MockMethod MTHD_SEEK_$_INT
           
static MockMethod MTHD_SKIP_$_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
MockFramePositioningControl()
           
MockFramePositioningControl(IInvocationHandler handler)
           
 
Method Summary
 long mapFrameToTime(int arg0)
           
 int mapTimeToFrame(long arg0)
           
 int seek(int arg0)
           
 int skip(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_MAP_FRAME_TO_TIME_$_INT

public static final MockMethod MTHD_MAP_FRAME_TO_TIME_$_INT

MTHD_MAP_TIME_TO_FRAME_$_LONG

public static final MockMethod MTHD_MAP_TIME_TO_FRAME_$_LONG

MTHD_SEEK_$_INT

public static final MockMethod MTHD_SEEK_$_INT

MTHD_SKIP_$_INT

public static final MockMethod MTHD_SKIP_$_INT
Constructor Detail

MockFramePositioningControl

public MockFramePositioningControl()

MockFramePositioningControl

public MockFramePositioningControl(IInvocationHandler handler)
Method Detail

mapFrameToTime

public long mapFrameToTime(int arg0)
Specified by:
mapFrameToTime in interface javax.microedition.media.control.FramePositioningControl

mapTimeToFrame

public int mapTimeToFrame(long arg0)
Specified by:
mapTimeToFrame in interface javax.microedition.media.control.FramePositioningControl

seek

public int seek(int arg0)
Specified by:
seek in interface javax.microedition.media.control.FramePositioningControl

skip

public int skip(int arg0)
Specified by:
skip in interface javax.microedition.media.control.FramePositioningControl