com.hammingweight.hammock.mocks.microedition.location
Class MockLocationListener

java.lang.Object
  extended by com.hammingweight.hammock.AMockObject
      extended by com.hammingweight.hammock.mocks.microedition.location.MockLocationListener
All Implemented Interfaces:
IHammockExceptionErrors, IMockObject, javax.microedition.location.LocationListener

public class MockLocationListener
extends AMockObject
implements javax.microedition.location.LocationListener


Field Summary
static MockMethod MTHD_LOCATION_UPDATED_$_LOCATIONPROVIDER_LOCATION
           
static MockMethod MTHD_PROVIDER_STATE_CHANGED_$_LOCATIONPROVIDER_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
MockLocationListener()
           
MockLocationListener(IInvocationHandler handler)
           
 
Method Summary
 void locationUpdated(javax.microedition.location.LocationProvider arg0, javax.microedition.location.Location arg1)
           
 void providerStateChanged(javax.microedition.location.LocationProvider arg0, int arg1)
           
 
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_LOCATION_UPDATED_$_LOCATIONPROVIDER_LOCATION

public static final MockMethod MTHD_LOCATION_UPDATED_$_LOCATIONPROVIDER_LOCATION

MTHD_PROVIDER_STATE_CHANGED_$_LOCATIONPROVIDER_INT

public static final MockMethod MTHD_PROVIDER_STATE_CHANGED_$_LOCATIONPROVIDER_INT
Constructor Detail

MockLocationListener

public MockLocationListener()

MockLocationListener

public MockLocationListener(IInvocationHandler handler)
Method Detail

locationUpdated

public void locationUpdated(javax.microedition.location.LocationProvider arg0,
                            javax.microedition.location.Location arg1)
Specified by:
locationUpdated in interface javax.microedition.location.LocationListener

providerStateChanged

public void providerStateChanged(javax.microedition.location.LocationProvider arg0,
                                 int arg1)
Specified by:
providerStateChanged in interface javax.microedition.location.LocationListener