com.hammingweight.hammock.mocks.microedition.content
Class MockContentHandler
java.lang.Object
com.hammingweight.hammock.AMockObject
com.hammingweight.hammock.mocks.microedition.content.MockContentHandler
- All Implemented Interfaces:
- IHammockExceptionErrors, IMockObject, javax.microedition.content.ContentHandler
public class MockContentHandler
- extends AMockObject
- implements javax.microedition.content.ContentHandler
Fields inherited from interface javax.microedition.content.ContentHandler |
ACTION_EDIT, ACTION_EXECUTE, ACTION_INSTALL, ACTION_NEW, ACTION_OPEN, ACTION_PRINT, ACTION_SAVE, ACTION_SELECT, ACTION_SEND, ACTION_STOP, UNIVERSAL_TYPE |
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MTHD_GET_ACTION_$_INT
public static final MockMethod MTHD_GET_ACTION_$_INT
MTHD_GET_ACTION_COUNT
public static final MockMethod MTHD_GET_ACTION_COUNT
MTHD_GET_ACTION_NAME_MAP
public static final MockMethod MTHD_GET_ACTION_NAME_MAP
MTHD_GET_ACTION_NAME_MAP_$_INT
public static final MockMethod MTHD_GET_ACTION_NAME_MAP_$_INT
MTHD_GET_ACTION_NAME_MAP_$_STRING
public static final MockMethod MTHD_GET_ACTION_NAME_MAP_$_STRING
MTHD_GET_ACTION_NAME_MAP_COUNT
public static final MockMethod MTHD_GET_ACTION_NAME_MAP_COUNT
MTHD_GET_APP_NAME
public static final MockMethod MTHD_GET_APP_NAME
MTHD_GET_AUTHORITY
public static final MockMethod MTHD_GET_AUTHORITY
MTHD_GET_ID
public static final MockMethod MTHD_GET_ID
MTHD_GET_SUFFIX_$_INT
public static final MockMethod MTHD_GET_SUFFIX_$_INT
MTHD_GET_SUFFIX_COUNT
public static final MockMethod MTHD_GET_SUFFIX_COUNT
MTHD_GET_TYPE_$_INT
public static final MockMethod MTHD_GET_TYPE_$_INT
MTHD_GET_TYPE_COUNT
public static final MockMethod MTHD_GET_TYPE_COUNT
MTHD_GET_VERSION
public static final MockMethod MTHD_GET_VERSION
MTHD_HAS_ACTION_$_STRING
public static final MockMethod MTHD_HAS_ACTION_$_STRING
MTHD_HAS_SUFFIX_$_STRING
public static final MockMethod MTHD_HAS_SUFFIX_$_STRING
MTHD_HAS_TYPE_$_STRING
public static final MockMethod MTHD_HAS_TYPE_$_STRING
MockContentHandler
public MockContentHandler()
MockContentHandler
public MockContentHandler(IInvocationHandler handler)
getAction
public java.lang.String getAction(int arg0)
- Specified by:
getAction
in interface javax.microedition.content.ContentHandler
getActionCount
public int getActionCount()
- Specified by:
getActionCount
in interface javax.microedition.content.ContentHandler
getActionNameMap
public javax.microedition.content.ActionNameMap getActionNameMap()
- Specified by:
getActionNameMap
in interface javax.microedition.content.ContentHandler
getActionNameMap
public javax.microedition.content.ActionNameMap getActionNameMap(int arg0)
- Specified by:
getActionNameMap
in interface javax.microedition.content.ContentHandler
getActionNameMap
public javax.microedition.content.ActionNameMap getActionNameMap(java.lang.String arg0)
- Specified by:
getActionNameMap
in interface javax.microedition.content.ContentHandler
getActionNameMapCount
public int getActionNameMapCount()
- Specified by:
getActionNameMapCount
in interface javax.microedition.content.ContentHandler
getAppName
public java.lang.String getAppName()
- Specified by:
getAppName
in interface javax.microedition.content.ContentHandler
getAuthority
public java.lang.String getAuthority()
- Specified by:
getAuthority
in interface javax.microedition.content.ContentHandler
getID
public java.lang.String getID()
- Specified by:
getID
in interface javax.microedition.content.ContentHandler
getSuffix
public java.lang.String getSuffix(int arg0)
- Specified by:
getSuffix
in interface javax.microedition.content.ContentHandler
getSuffixCount
public int getSuffixCount()
- Specified by:
getSuffixCount
in interface javax.microedition.content.ContentHandler
getType
public java.lang.String getType(int arg0)
- Specified by:
getType
in interface javax.microedition.content.ContentHandler
getTypeCount
public int getTypeCount()
- Specified by:
getTypeCount
in interface javax.microedition.content.ContentHandler
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interface javax.microedition.content.ContentHandler
hasAction
public boolean hasAction(java.lang.String arg0)
- Specified by:
hasAction
in interface javax.microedition.content.ContentHandler
hasSuffix
public boolean hasSuffix(java.lang.String arg0)
- Specified by:
hasSuffix
in interface javax.microedition.content.ContentHandler
hasType
public boolean hasType(java.lang.String arg0)
- Specified by:
hasType
in interface javax.microedition.content.ContentHandler