All Classes
-
All Classes Interface Summary Class Summary Exception Summary Error Summary Annotation Types Summary Class Description AbstractExpectations Provides most of the syntax of jMock's "domain-specific language" API.Action An object that fakes the behaviour of anInvocationExpectation.ActionClause ActionSequence Returns the next of a sequence of elements each time it is invoked.AllDeclaredFields AllParametersMatcher ArgumentConstraintPhrases AssertionErrorTranslator TranslatesExpectationErrors intoAssertionErrors that several test frameworks, including JUnit 4 and TestNG, use to report errors.Auto Blitzer A class that "blitzes" an object by calling it many times, from multiple threads.CamelCaseNamingScheme A naming scheme in which the implicit name for a mock object is the mocked type's name with the first character in lower case.CaptureControl Cardinality The acceptable range of times an expectation may be invoked.CardinalityClause ChangeStateSideEffect ClassFromOtherClassLoader ClassImposteriser This class lets you imposterise abstract and concrete classes without calling the constructors of the mocked class.ClassImposteriser.ClassWithSuperclassToWorkAroundCglibBug CurrentStateMatcher CustomAction A partial implementation of theActioninterface that makes it convenient to implement application-specific actions with inline anonymous classes.DeltaQueue<T> DeterministicExecutor DeterministicScheduler AScheduledExecutorServicethat executes commands on the thread that callsrunNextPendingCommand,runUntilIdleortick.DoAllAction Performs multiple actions every time it is invoked.Expectation An object that matches, checks and fakes anInvocationExpectationBuilder ExpectationCapture ExpectationCollector ExpectationError An error thrown when an expectation is violated during a test.ExpectationErrorTranslator Translates expectation errors into error type used by a specific testing framework.Expectations Backward compatibility Methods added with ASMExpectationsCreator FakeObjectMethods FixedTimeout A Timeout of fixed duration from the time the FixedTimeout object is instantiated.Formatting IdentityExpectationErrorTranslator AnExpectationErrorTranslatorthat doesn't do any translation.Imposteriser An object that can creates a proxy of the given type to captureInvocations and pass them to anInvokableobject for mocking or stubbing.InfiniteTimeout A Timeout that never times out.InStateOrderingConstraint InterfaceFromOtherClassLoader Invocation The static details about a method and the run-time details of its invocation.InvocationDispatcher InvocationDiverter<T> InvocationExpectation An expectation of zero or more matching invocations.InvocationExpectationBuilder InvocationToExpectationTranslator Invokable An object that can receive anInvocation.JavaReflectionImposteriser AnImposteriserthat uses theProxyclass of the Java Reflection API.JMock Deprecated. For JUnit 4 useJUnitRuleMockeryJUnit3ErrorTranslator TranslatesExpectationErrors into JUnit'sAssertionFailedErrors.JUnit3Mockery AMockerythat reports expectation errors as JUnit 3 test failures.JUnit4Mockery AMockerythat reports expectation errors as JUnit 4 test failures.JUnitRuleMockery AJUnitRuleMockeryis a JUnit Rule that manages JMock expectations and allowances, and asserts that expectations have been met after each test has finished.LastWordNamingScheme A naming scheme in which the implicit name for a mock object is the last word of the mocked type's name in lower case.MethodClause MethodMatcher MethodNameMatcher Mock Mockery A Mockery represents the context, or neighbourhood, of the object(s) under test.MockObjectMatcher MockObjectNamingScheme Creates names for mock objects that have not explicitly been given a name.MockObjectTestCase ATestCasethat supports testing with mock objects.Mockomatic NamedSequence A sequence of expectations.ObjectMethodExpectationBouncer OrderingConstraint ParametersClause ParametersMatcher ParametersMatcher ProxiedObjectIdentity ReceiverClause RetroNamingScheme A naming scheme in which the implicit name for a mock object is the mocked type's name prepend with "mock".ReturnDefaultValueAction Returns a default value for the invoked method's result type.ReturnEnumerationAction Returns anEnumerationover a collection.ReturnIteratorAction Returns anIteratorover a collection.ReturnValueAction Returns a value.ScriptedAction SearchingClassLoader Sequence A sequence of expectations; invocations can be constrained to occur in a strict order defined by a sequence.SideEffect An expectation has oneActionbut can have zero or more SideEffects that are triggered before the Action.SingleThreadedPolicy State StateMachine StatePredicate States A state machine that is used to constrain the order of invocations.StatesClause Synchroniser A ThreadingPolicy that makes the Mockery thread-safe and helps tests synchronise with background threads.ThreadingPolicy ThrowAction Throws an exception.Timeout TypeInSignedJar Can't use the default package across shared and unshared jarsUnsupportedSynchronousOperationException Thrown to report that aDeterministicSchedulerhas been asked to perform a blocking wait, which is not supported.VerifyingTestCase ATestCasethat verifies postconditions after the test has run and before the fixture has been torn down.VoidAction Returns nothing from a void method.WithClause