|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.microedition.location.AddressInfo
com.hammingweight.hammock.mocks.microedition.location.MockAddressInfo
public class MockAddressInfo
| Field Summary | |
|---|---|
static MockMethod |
MTHD_GET_FIELD_$_INT
|
static MockMethod |
MTHD_SET_FIELD_$_INT_STRING
|
| Fields inherited from class javax.microedition.location.AddressInfo |
|---|
BUILDING_FLOOR, BUILDING_NAME, BUILDING_ROOM, BUILDING_ZONE, CITY, COUNTRY, COUNTRY_CODE, COUNTY, CROSSING1, CROSSING2, DISTRICT, EXTENSION, PHONE_NUMBER, POSTAL_CODE, STATE, STREET, URL |
| Constructor Summary | |
|---|---|
MockAddressInfo()
|
|
MockAddressInfo(IInvocationHandler handler)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getField(int arg0)
|
IInvocationHandler |
getInvocationHandler()
Gets the invocation handler that the mock object uses to evaluate method invocations. |
void |
setField(int arg0,
java.lang.String arg1)
|
void |
setInvocationHandler(IInvocationHandler handler)
Sets the invocation handler that the mock object should use to evaluate method invocations. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final MockMethod MTHD_GET_FIELD_$_INT
public static final MockMethod MTHD_SET_FIELD_$_INT_STRING
| Constructor Detail |
|---|
public MockAddressInfo()
public MockAddressInfo(IInvocationHandler handler)
| Method Detail |
|---|
public final void setInvocationHandler(IInvocationHandler handler)
IMockObject
setInvocationHandler in interface IMockObjecthandler - The invocation handler to be used by the mock object.public final IInvocationHandler getInvocationHandler()
IMockObject
getInvocationHandler in interface IMockObjectpublic java.lang.String getField(int arg0)
getField in class javax.microedition.location.AddressInfo
public void setField(int arg0,
java.lang.String arg1)
setField in class javax.microedition.location.AddressInfo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||