|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
null
and throws a HammockException if it is.
ATestDoubleHandler class is an
IInvocationHandler that can be extended to support mock and spy
objects.void, it doesn't make sense to set a value
that should be returned when the method is invoked.
- canWrite() -
Method in class com.hammingweight.hammock.mocks.microedition.io.file.MockFileConnection
-
- capacity() -
Method in class com.hammingweight.hammock.mocks.util.MockStack
-
- capacity() -
Method in class com.hammingweight.hammock.mocks.util.MockVector
-
- CHARACTER_CLASS -
Static variable in interface com.hammingweight.hammock.IClassDefinitions
-
- checkError() -
Method in class com.hammingweight.hammock.mocks.io.MockPrintStream
-
- CLASS_IS_NOT_THROWABLE -
Static variable in interface com.hammingweight.hammock.IHammockExceptionErrors
- An argument passed as an exception is not a subclass of Throwable.
- ClassArgumentMatcher - Class in com.hammingweight.hammock
- The ClassArgumentMatcher class checks that a method argument is an instance
of the expected class.
- ClassArgumentMatcher() -
Constructor for class com.hammingweight.hammock.ClassArgumentMatcher
-
- clear() -
Method in class com.hammingweight.hammock.mocks.util.MockHashtable
-
- close() -
Method in class com.hammingweight.hammock.mocks.io.MockByteArrayInputStream
-
- close() -
Method in class com.hammingweight.hammock.mocks.io.MockByteArrayOutputStream
-
- close() -
Method in class com.hammingweight.hammock.mocks.io.MockDataInputStream
-
- close() -
Method in class com.hammingweight.hammock.mocks.io.MockDataOutputStream
-
- close() -
Method in class com.hammingweight.hammock.mocks.io.MockInputStream
-
- close() -
Method in class com.hammingweight.hammock.mocks.io.MockInputStreamReader
-
- close() -
Method in class com.hammingweight.hammock.mocks.io.MockOutputStream
-
- close() -
Method in class com.hammingweight.hammock.mocks.io.MockOutputStreamWriter
-
- close() -
Method in class com.hammingweight.hammock.mocks.io.MockPrintStream
-
- close() -
Method in class com.hammingweight.hammock.mocks.io.MockReader
-
- close() -
Method in class com.hammingweight.hammock.mocks.io.MockWriter
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.file.MockFileConnection
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.MockCommConnection
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.MockConnection
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.MockContentConnection
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.MockHttpConnection
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.MockHttpsConnection
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.MockInputConnection
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.MockOutputConnection
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.MockSecureConnection
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.MockServerSocketConnection
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.MockSocketConnection
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.MockStreamConnection
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.MockStreamConnectionNotifier
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.io.MockUDPDatagramConnection
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.media.MockPlayer
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockContactList
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockEventList
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockPIMList
-
- close() -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockToDoList
-
- close() -
Method in class com.hammingweight.hammock.mocks.obex.MockClientSession
-
- close() -
Method in class com.hammingweight.hammock.mocks.obex.MockOperation
-
- close() -
Method in class com.hammingweight.hammock.mocks.obex.MockSessionNotifier
-
- close() -
Method in class com.hammingweight.hammock.mocks.wireless.messaging.MockMessageConnection
-
- com.hammingweight.hammock - package com.hammingweight.hammock
-
- com.hammingweight.hammock.mocks.io - package com.hammingweight.hammock.mocks.io
-
- com.hammingweight.hammock.mocks.ksoap2 - package com.hammingweight.hammock.mocks.ksoap2
-
- com.hammingweight.hammock.mocks.ksoap2.serialization - package com.hammingweight.hammock.mocks.ksoap2.serialization
-
- com.hammingweight.hammock.mocks.ksoap2.transport - package com.hammingweight.hammock.mocks.ksoap2.transport
-
- com.hammingweight.hammock.mocks.microedition.content - package com.hammingweight.hammock.mocks.microedition.content
-
- com.hammingweight.hammock.mocks.microedition.io - package com.hammingweight.hammock.mocks.microedition.io
-
- com.hammingweight.hammock.mocks.microedition.io.file - package com.hammingweight.hammock.mocks.microedition.io.file
-
- com.hammingweight.hammock.mocks.microedition.lcdui - package com.hammingweight.hammock.mocks.microedition.lcdui
-
- com.hammingweight.hammock.mocks.microedition.lcdui.game - package com.hammingweight.hammock.mocks.microedition.lcdui.game
-
- com.hammingweight.hammock.mocks.microedition.location - package com.hammingweight.hammock.mocks.microedition.location
-
- com.hammingweight.hammock.mocks.microedition.media - package com.hammingweight.hammock.mocks.microedition.media
-
- com.hammingweight.hammock.mocks.microedition.media.control - package com.hammingweight.hammock.mocks.microedition.media.control
-
- com.hammingweight.hammock.mocks.microedition.media.protocol - package com.hammingweight.hammock.mocks.microedition.media.protocol
-
- com.hammingweight.hammock.mocks.microedition.pim - package com.hammingweight.hammock.mocks.microedition.pim
-
- com.hammingweight.hammock.mocks.obex - package com.hammingweight.hammock.mocks.obex
-
- com.hammingweight.hammock.mocks.util - package com.hammingweight.hammock.mocks.util
-
- com.hammingweight.hammock.mocks.wireless.messaging - package com.hammingweight.hammock.mocks.wireless.messaging
-
- commandAction(Command, Displayable) -
Method in class com.hammingweight.hammock.mocks.microedition.lcdui.MockCommandListener
-
- commandAction(Command, Item) -
Method in class com.hammingweight.hammock.mocks.microedition.lcdui.MockItemCommandListener
-
- commit() -
Method in class com.hammingweight.hammock.mocks.microedition.media.control.MockRecordControl
-
- commit() -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockContact
-
- commit() -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockEvent
-
- commit() -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockPIMItem
-
- commit() -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockToDo
-
- computeFields() -
Method in class com.hammingweight.hammock.mocks.util.MockCalendar
-
- computeTime() -
Method in class com.hammingweight.hammock.mocks.util.MockCalendar
-
- connect() -
Method in class com.hammingweight.hammock.mocks.ksoap2.transport.MockServiceConnection
-
- connect() -
Method in class com.hammingweight.hammock.mocks.microedition.media.protocol.MockDataSource
-
- connect(HeaderSet) -
Method in class com.hammingweight.hammock.mocks.obex.MockClientSession
-
- contains(Object) -
Method in class com.hammingweight.hammock.mocks.util.MockHashtable
-
- contains(Object) -
Method in class com.hammingweight.hammock.mocks.util.MockStack
-
- contains(Object) -
Method in class com.hammingweight.hammock.mocks.util.MockVector
-
- containsKey(Object) -
Method in class com.hammingweight.hammock.mocks.util.MockHashtable
-
- copyInto(Object[]) -
Method in class com.hammingweight.hammock.mocks.util.MockStack
-
- copyInto(Object[]) -
Method in class com.hammingweight.hammock.mocks.util.MockVector
-
- countValues(int) -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockContact
-
- countValues(int) -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockEvent
-
- countValues(int) -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockPIMItem
-
- countValues(int) -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockToDo
-
- create() -
Method in class com.hammingweight.hammock.mocks.microedition.io.file.MockFileConnection
-
- createAnimatedTile(int) -
Method in class com.hammingweight.hammock.mocks.microedition.lcdui.game.MockTiledLayer
-
- createAuthenticationChallenge(String, boolean, boolean) -
Method in class com.hammingweight.hammock.mocks.obex.MockHeaderSet
-
- createContact() -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockContactList
-
- createEvent() -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockEventList
-
- createHeaderSet() -
Method in class com.hammingweight.hammock.mocks.obex.MockClientSession
-
- createRequestData(SoapEnvelope) -
Method in class com.hammingweight.hammock.mocks.ksoap2.transport.MockHttpTransport
-
- createRequestData(SoapEnvelope) -
Method in class com.hammingweight.hammock.mocks.ksoap2.transport.MockTransport
-
- createToDo() -
Method in class com.hammingweight.hammock.mocks.microedition.pim.MockToDoList
-
DefaultArgumentMatcher is used by default by the
MethodHandler class to determine whether a method was invoked
with the expected arguments.IMockObject interface.
Hammock class is an IInvocationHandler that
causes a test double associated with the handler to behave like a mock
object.Hamspy class is an IInvocationHandler that
causes a test double associated with the handler to behave like a spy object.Hamspy(false).
IMockObject interface defines the methods that a mock
object must implement to work with the Hammock framework.InvocationMatcher class is a helper class for
verifying that expected and actual method invocations are equal.InvocationVerifier class is a helper class for
verifying that methods were invoked as expected; in particular it is used
with spy objects.MethodInvocation class describes a method invocation.MockMethod class models a method associated with a mock
object (or another test double such as a spy or stub).