Package | Description |
---|---|
org.spockframework.mock |
Spock's built-in mocking framework.
|
org.spockframework.mock.runtime | |
org.spockframework.runtime |
Modifier and Type | Method and Description |
---|---|
Specification |
IMockObject.getSpecification()
Returns the specification that this mock object is attached to.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
IMockFactory.create(IMockConfiguration configuration,
Specification specification) |
Modifier and Type | Method and Description |
---|---|
Specification |
MockObject.getSpecification() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
JavaMockFactory.create(IMockConfiguration configuration,
Specification specification) |
java.lang.Object |
GroovyMockFactory.create(IMockConfiguration configuration,
Specification specification) |
java.lang.Object |
CompositeMockFactory.create(IMockConfiguration configuration,
Specification specification) |
Constructor and Description |
---|
GroovyMockInterceptor(IMockConfiguration mockConfiguration,
Specification specification,
groovy.lang.MetaClass mockMetaClass) |
GroovyMockMetaClass(IMockConfiguration configuration,
Specification specification,
groovy.lang.MetaClass oldMetaClass) |
JavaMockInterceptor(IMockConfiguration mockConfiguration,
Specification specification,
groovy.lang.MetaClass mockMetaClass) |
MockObject(java.lang.String name,
java.lang.Class<?> type,
java.lang.Object instance,
boolean verified,
boolean global,
IDefaultResponse defaultResponse,
Specification specification) |
Modifier and Type | Field and Description |
---|---|
protected Specification |
BaseSpecRunner.currentInstance |
protected Specification |
BaseSpecRunner.sharedInstance |
Modifier and Type | Method and Description |
---|---|
Specification |
SpecificationContext.getSharedInstance() |
Modifier and Type | Method and Description |
---|---|
protected SpecificationContext |
BaseSpecRunner.getSpecificationContext(Specification instance) |
void |
SpecificationContext.setSharedInstance(Specification sharedInstance) |
Copyright © 2017. All rights reserved