A C I J M O R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
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'sAssertionFailedErrors. - JUnit3Mockery - Class in org.jmock.integration.junit3
-
A
Mockerythat reports expectation errors as JUnit 3 test failures. - JUnit3Mockery() - Constructor for class org.jmock.integration.junit3.JUnit3Mockery
M
- 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.
- mock(Class<T>, String) - Method in class org.jmock.integration.junit3.MockObjectTestCase
-
Create a mock object of type T with an explicit name.
- MockObjectTestCase - Class in org.jmock.integration.junit3
-
A
TestCasethat 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
TestCasethat 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
All Classes All Packages