Package | Description |
---|---|
org.jmock |
The jMock "Domain-Specific Embedded Language" API.
|
org.jmock.integration.junit3 |
Integrates jMock with JUnit 3.
|
org.jmock.lib |
Implementations of the core interfaces that are used to adjust or extend jMock's basic
functionality.
|
Modifier and Type | Method and Description |
---|---|
void |
Mockery.setNamingScheme(MockObjectNamingScheme namingScheme)
Changes the naming scheme used to generate names for mock objects that
have not been explicitly named in the test.
|
Modifier and Type | Method and Description |
---|---|
void |
MockObjectTestCase.setNamingScheme(MockObjectNamingScheme namingScheme)
Changes the naming scheme used to generate names for mock objects that
have not been explicitly named in the test.
|
Modifier and Type | Class and Description |
---|---|
class |
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.
|
class |
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.
|
class |
RetroNamingScheme
A naming scheme in which the implicit name for a mock object is
the mocked type's name prepend with "mock".
|
Modifier and Type | Field and Description |
---|---|
static MockObjectNamingScheme |
LastWordNamingScheme.INSTANCE |
Copyright © 2003–2018 jMock. All rights reserved.