Skip navigation links
A C I J M O R S T V 

A

addVerifier(Runnable) - Method in class org.jmock.integration.junit3.VerifyingTestCase
 

C

checking(ExpectationBuilder) - Method in class org.jmock.integration.junit3.MockObjectTestCase
Specify expectations upon the mock objects in the test.
context() - Method in class org.jmock.integration.junit3.MockObjectTestCase
 

I

INSTANCE - Static variable in class org.jmock.integration.junit3.JUnit3ErrorTranslator
 

J

JUnit3ErrorTranslator - Class in org.jmock.integration.junit3
Translates ExpectationErrors into JUnit's AssertionFailedErrors.
JUnit3Mockery - Class in org.jmock.integration.junit3
A Mockery that reports expectation errors as JUnit 3 test failures.
JUnit3Mockery() - Constructor for class org.jmock.integration.junit3.JUnit3Mockery
 

M

mock(Class<T>, String) - Method in class org.jmock.integration.junit3.MockObjectTestCase
Create a mock object of type T with an explicit name.
mock(Class<T>) - Method in class org.jmock.integration.junit3.MockObjectTestCase
Create a mock object of type T with a name derived from its type.
MockObjectTestCase - Class in org.jmock.integration.junit3
A TestCase that supports testing with mock objects.
MockObjectTestCase() - Constructor for class org.jmock.integration.junit3.MockObjectTestCase
 
MockObjectTestCase(String) - Constructor for class org.jmock.integration.junit3.MockObjectTestCase
 

O

org.jmock.integration.junit3 - package org.jmock.integration.junit3
Integrates jMock with JUnit 3.

R

runBare() - Method in class org.jmock.integration.junit3.VerifyingTestCase
 

S

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.
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.
setImposteriser(Imposteriser) - Method in class org.jmock.integration.junit3.MockObjectTestCase
Changes the imposteriser used to adapt mock objects to the mocked type.
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.
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.

T

translate(ExpectationError) - Method in class org.jmock.integration.junit3.JUnit3ErrorTranslator
 

V

verify() - Method in class org.jmock.integration.junit3.VerifyingTestCase
 
VerifyingTestCase - Class in org.jmock.integration.junit3
A TestCase that verifies postconditions after the test has run and before the fixture has been torn down.
VerifyingTestCase() - Constructor for class org.jmock.integration.junit3.VerifyingTestCase
 
VerifyingTestCase(String) - Constructor for class org.jmock.integration.junit3.VerifyingTestCase
 
A C I J M O R S T V 
Skip navigation links

Copyright © 2003–2016 jMock. All rights reserved.