- same(T) - Static method in class org.jmock.AbstractExpectations
-
- schedule(Runnable, long, TimeUnit) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
-
- schedule(Callable<V>, long, TimeUnit) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
-
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
-
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
-
- ScriptedAction - Class in org.jmock.lib.script
-
- ScriptedAction(String) - Constructor for class org.jmock.lib.script.ScriptedAction
-
- SearchingClassLoader - Class in org.jmock.internal
-
- SearchingClassLoader(ClassLoader, ClassLoader) - Constructor for class org.jmock.internal.SearchingClassLoader
-
- sequence(String) - Method in class org.jmock.integration.junit3.MockObjectTestCase
-
Returns a new sequence that is used to constrain the order in which
expectations can occur.
- sequence(String) - Method in class org.jmock.Mockery
-
Returns a new sequence that is used to constrain the order in which
expectations can occur.
- Sequence - Interface in org.jmock
-
A sequence of expectations; invocations can be constrained to occur in a strict
order defined by a sequence.
- setAction(Action) - Method in class org.jmock.internal.InvocationExpectation
-
- setAction(Action) - Method in class org.jmock.internal.InvocationExpectationBuilder
-
- setCardinality(Cardinality) - Method in class org.jmock.internal.InvocationExpectation
-
- setCardinality(Cardinality) - Method in class org.jmock.internal.InvocationExpectationBuilder
-
- setDefaultAction(Action) - Method in class org.jmock.internal.InvocationExpectation
-
- setDefaultResultForType(Class<?>, Object) - Method in class org.jmock.integration.junit3.MockObjectTestCase
-
Sets the result returned for the given type when no return value has been explicitly
specified in the expectation.
- setDefaultResultForType(Class<?>, Object) - Method in class org.jmock.Mockery
-
Sets the result returned for the given type when no return value has been explicitly
specified in the expectation.
- setExpectationErrorTranslator(ExpectationErrorTranslator) - Method in class org.jmock.Mockery
-
Changes the expectation error translator used to translate expectation
errors into errors that report test failures.
- setImposteriser(Imposteriser) - Method in class org.jmock.integration.junit3.MockObjectTestCase
-
Changes the imposteriser used to adapt mock objects to the mocked type.
- setImposteriser(Imposteriser) - Method in class org.jmock.internal.ReturnDefaultValueAction
-
- setImposteriser(Imposteriser) - Method in class org.jmock.Mockery
-
Changes the imposteriser used to adapt mock objects to the mocked type.
- setMethod(Method) - Method in class org.jmock.internal.InvocationExpectation
-
- setMethodMatcher(Matcher<? super Method>) - Method in class org.jmock.internal.InvocationExpectation
-
- setNamingScheme(MockObjectNamingScheme) - Method in class org.jmock.integration.junit3.MockObjectTestCase
-
Changes the naming scheme used to generate names for mock objects that
have not been explicitly named in the test.
- setNamingScheme(MockObjectNamingScheme) - Method in class org.jmock.Mockery
-
Changes the naming scheme used to generate names for mock objects that
have not been explicitly named in the test.
- setObjectMatcher(Matcher<?>) - Method in class org.jmock.internal.InvocationExpectation
-
- setParametersMatcher(ParametersMatcher) - Method in class org.jmock.internal.InvocationExpectation
-
- setThreadingPolicy(ThreadingPolicy) - Method in class org.jmock.Mockery
-
Changes the policy by which the Mockery copes with multiple threads.
- setUp() - Method in class org.jmock.example.announcer.AnnouncerTests
-
- setUp() - Method in class org.jmock.example.qcon.DJTests
-
- shortIs(Matcher<?>) - Method in interface org.jmock.syntax.WithClause
-
- shouldReload(Date, Date) - Method in interface org.jmock.example.timedcache.ReloadPolicy
-
- shutdown() - Method in class org.jmock.lib.concurrent.Blitzer
-
- shutdown() - Method in class org.jmock.lib.concurrent.DeterministicScheduler
-
- shutdownNow() - Method in class org.jmock.lib.concurrent.DeterministicScheduler
-
- SideEffect - Interface in org.jmock.internal
-
An expectation has one
Action
but can have zero or more SideEffects
that are triggered before the Action.
- SingleThreadedPolicy - Class in org.jmock.internal
-
- SingleThreadedPolicy() - Constructor for class org.jmock.internal.SingleThreadedPolicy
-
- sniperBidFailed(AuctionSniper, AuctionException) - Method in interface org.jmock.example.sniper.AuctionSniperListener
-
- sniperFinished(AuctionSniper) - Method in interface org.jmock.example.sniper.AuctionSniperListener
-
- startsAs(String) - Method in class org.jmock.internal.StateMachine
-
- startsAs(String) - Method in interface org.jmock.States
-
Put the state machine into state initialState.
- State - Interface in org.jmock.internal
-
- StateMachine - Class in org.jmock.internal
-
- StateMachine(String) - Constructor for class org.jmock.internal.StateMachine
-
- StatePredicate - Interface in org.jmock.internal
-
- states(String) - Method in class org.jmock.integration.junit3.MockObjectTestCase
-
Returns a new state machine that is used to constrain the order in which
expectations can occur.
- states(String) - Method in class org.jmock.Mockery
-
Returns a new state machine that is used to constrain the order in which
expectations can occur.
- States - Interface in org.jmock
-
A state machine that is used to constrain the order of invocations.
- StatesClause - Interface in org.jmock.syntax
-
- submit(Callable<T>) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
-
- submit(Runnable) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
-
- submit(Runnable, T) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
-
- Subscriber - Interface in org.jmock.example.gettingstarted
-
- subtract(Money) - Method in class org.jmock.example.sniper.Money
-
- synchroniseAccessTo(Invokable) - Method in interface org.jmock.api.ThreadingPolicy
-
- synchroniseAccessTo(Invokable) - Method in class org.jmock.internal.SingleThreadedPolicy
-
- synchroniseAccessTo(Invokable) - Method in class org.jmock.lib.concurrent.Synchroniser
-
- Synchroniser - Class in org.jmock.lib.concurrent
-
A ThreadingPolicy that makes the Mockery thread-safe and
helps tests synchronise with background threads.
- Synchroniser() - Constructor for class org.jmock.lib.concurrent.Synchroniser
-