com.hammingweight.hammock.mocks.microedition.pim
Class MockContactList
java.lang.Object
com.hammingweight.hammock.AMockObject
com.hammingweight.hammock.mocks.microedition.pim.MockContactList
- All Implemented Interfaces:
- IHammockExceptionErrors, IMockObject, javax.microedition.pim.ContactList, javax.microedition.pim.PIMList
public class MockContactList
- extends AMockObject
- implements javax.microedition.pim.ContactList
Fields inherited from interface javax.microedition.pim.PIMList |
UNCATEGORIZED |
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_ADD_CATEGORY_$_STRING
public static final MockMethod MTHD_ADD_CATEGORY_$_STRING
MTHD_CLOSE
public static final MockMethod MTHD_CLOSE
MTHD_CREATE_CONTACT
public static final MockMethod MTHD_CREATE_CONTACT
MTHD_DELETE_CATEGORY_$_STRING_BOOLEAN
public static final MockMethod MTHD_DELETE_CATEGORY_$_STRING_BOOLEAN
MTHD_GET_ARRAY_ELEMENT_LABEL_$_INT_INT
public static final MockMethod MTHD_GET_ARRAY_ELEMENT_LABEL_$_INT_INT
MTHD_GET_ATTRIBUTE_LABEL_$_INT
public static final MockMethod MTHD_GET_ATTRIBUTE_LABEL_$_INT
MTHD_GET_CATEGORIES
public static final MockMethod MTHD_GET_CATEGORIES
MTHD_GET_FIELD_DATA_TYPE_$_INT
public static final MockMethod MTHD_GET_FIELD_DATA_TYPE_$_INT
MTHD_GET_FIELD_LABEL_$_INT
public static final MockMethod MTHD_GET_FIELD_LABEL_$_INT
MTHD_GET_NAME
public static final MockMethod MTHD_GET_NAME
MTHD_GET_SUPPORTED_ARRAY_ELEMENTS_$_INT
public static final MockMethod MTHD_GET_SUPPORTED_ARRAY_ELEMENTS_$_INT
MTHD_GET_SUPPORTED_ATTRIBUTES_$_INT
public static final MockMethod MTHD_GET_SUPPORTED_ATTRIBUTES_$_INT
MTHD_GET_SUPPORTED_FIELDS
public static final MockMethod MTHD_GET_SUPPORTED_FIELDS
MTHD_IMPORT_CONTACT_$_CONTACT
public static final MockMethod MTHD_IMPORT_CONTACT_$_CONTACT
MTHD_IS_CATEGORY_$_STRING
public static final MockMethod MTHD_IS_CATEGORY_$_STRING
MTHD_IS_SUPPORTED_ARRAY_ELEMENT_$_INT_INT
public static final MockMethod MTHD_IS_SUPPORTED_ARRAY_ELEMENT_$_INT_INT
MTHD_IS_SUPPORTED_ATTRIBUTE_$_INT_INT
public static final MockMethod MTHD_IS_SUPPORTED_ATTRIBUTE_$_INT_INT
MTHD_IS_SUPPORTED_FIELD_$_INT
public static final MockMethod MTHD_IS_SUPPORTED_FIELD_$_INT
MTHD_ITEMS
public static final MockMethod MTHD_ITEMS
MTHD_ITEMS_$_PIMITEM
public static final MockMethod MTHD_ITEMS_$_PIMITEM
MTHD_ITEMS_$_STRING
public static final MockMethod MTHD_ITEMS_$_STRING
MTHD_ITEMS_BY_CATEGORY_$_STRING
public static final MockMethod MTHD_ITEMS_BY_CATEGORY_$_STRING
MTHD_MAX_CATEGORIES
public static final MockMethod MTHD_MAX_CATEGORIES
MTHD_MAX_VALUES_$_INT
public static final MockMethod MTHD_MAX_VALUES_$_INT
MTHD_REMOVE_CONTACT_$_CONTACT
public static final MockMethod MTHD_REMOVE_CONTACT_$_CONTACT
MTHD_RENAME_CATEGORY_$_STRING_STRING
public static final MockMethod MTHD_RENAME_CATEGORY_$_STRING_STRING
MTHD_STRING_ARRAY_SIZE_$_INT
public static final MockMethod MTHD_STRING_ARRAY_SIZE_$_INT
MockContactList
public MockContactList()
MockContactList
public MockContactList(IInvocationHandler handler)
addCategory
public void addCategory(java.lang.String arg0)
throws javax.microedition.pim.PIMException
- Specified by:
addCategory
in interface javax.microedition.pim.PIMList
- Throws:
javax.microedition.pim.PIMException
close
public void close()
throws javax.microedition.pim.PIMException
- Specified by:
close
in interface javax.microedition.pim.PIMList
- Throws:
javax.microedition.pim.PIMException
createContact
public javax.microedition.pim.Contact createContact()
- Specified by:
createContact
in interface javax.microedition.pim.ContactList
deleteCategory
public void deleteCategory(java.lang.String arg0,
boolean arg1)
throws javax.microedition.pim.PIMException
- Specified by:
deleteCategory
in interface javax.microedition.pim.PIMList
- Throws:
javax.microedition.pim.PIMException
getArrayElementLabel
public java.lang.String getArrayElementLabel(int arg0,
int arg1)
- Specified by:
getArrayElementLabel
in interface javax.microedition.pim.PIMList
getAttributeLabel
public java.lang.String getAttributeLabel(int arg0)
- Specified by:
getAttributeLabel
in interface javax.microedition.pim.PIMList
getCategories
public java.lang.String[] getCategories()
throws javax.microedition.pim.PIMException
- Specified by:
getCategories
in interface javax.microedition.pim.PIMList
- Throws:
javax.microedition.pim.PIMException
getFieldDataType
public int getFieldDataType(int arg0)
- Specified by:
getFieldDataType
in interface javax.microedition.pim.PIMList
getFieldLabel
public java.lang.String getFieldLabel(int arg0)
- Specified by:
getFieldLabel
in interface javax.microedition.pim.PIMList
getName
public java.lang.String getName()
- Specified by:
getName
in interface javax.microedition.pim.PIMList
getSupportedArrayElements
public int[] getSupportedArrayElements(int arg0)
- Specified by:
getSupportedArrayElements
in interface javax.microedition.pim.PIMList
getSupportedAttributes
public int[] getSupportedAttributes(int arg0)
- Specified by:
getSupportedAttributes
in interface javax.microedition.pim.PIMList
getSupportedFields
public int[] getSupportedFields()
- Specified by:
getSupportedFields
in interface javax.microedition.pim.PIMList
importContact
public javax.microedition.pim.Contact importContact(javax.microedition.pim.Contact arg0)
- Specified by:
importContact
in interface javax.microedition.pim.ContactList
isCategory
public boolean isCategory(java.lang.String arg0)
throws javax.microedition.pim.PIMException
- Specified by:
isCategory
in interface javax.microedition.pim.PIMList
- Throws:
javax.microedition.pim.PIMException
isSupportedArrayElement
public boolean isSupportedArrayElement(int arg0,
int arg1)
- Specified by:
isSupportedArrayElement
in interface javax.microedition.pim.PIMList
isSupportedAttribute
public boolean isSupportedAttribute(int arg0,
int arg1)
- Specified by:
isSupportedAttribute
in interface javax.microedition.pim.PIMList
isSupportedField
public boolean isSupportedField(int arg0)
- Specified by:
isSupportedField
in interface javax.microedition.pim.PIMList
items
public java.util.Enumeration items()
throws javax.microedition.pim.PIMException
- Specified by:
items
in interface javax.microedition.pim.PIMList
- Throws:
javax.microedition.pim.PIMException
items
public java.util.Enumeration items(javax.microedition.pim.PIMItem arg0)
throws javax.microedition.pim.PIMException
- Specified by:
items
in interface javax.microedition.pim.PIMList
- Throws:
javax.microedition.pim.PIMException
items
public java.util.Enumeration items(java.lang.String arg0)
throws javax.microedition.pim.PIMException
- Specified by:
items
in interface javax.microedition.pim.PIMList
- Throws:
javax.microedition.pim.PIMException
itemsByCategory
public java.util.Enumeration itemsByCategory(java.lang.String arg0)
throws javax.microedition.pim.PIMException
- Specified by:
itemsByCategory
in interface javax.microedition.pim.PIMList
- Throws:
javax.microedition.pim.PIMException
maxCategories
public int maxCategories()
- Specified by:
maxCategories
in interface javax.microedition.pim.PIMList
maxValues
public int maxValues(int arg0)
- Specified by:
maxValues
in interface javax.microedition.pim.PIMList
removeContact
public void removeContact(javax.microedition.pim.Contact arg0)
throws javax.microedition.pim.PIMException
- Specified by:
removeContact
in interface javax.microedition.pim.ContactList
- Throws:
javax.microedition.pim.PIMException
renameCategory
public void renameCategory(java.lang.String arg0,
java.lang.String arg1)
throws javax.microedition.pim.PIMException
- Specified by:
renameCategory
in interface javax.microedition.pim.PIMList
- Throws:
javax.microedition.pim.PIMException
stringArraySize
public int stringArraySize(int arg0)
- Specified by:
stringArraySize
in interface javax.microedition.pim.PIMList