Uses of Class
spock.lang.Specification
-
Packages that use Specification Package Description org.spockframework.mock Spock's built-in mocking framework.org.spockframework.mock.runtime org.spockframework.runtime -
-
Uses of Specification in org.spockframework.mock
Methods in org.spockframework.mock that return Specification Modifier and Type Method Description Specification
IMockObject. getSpecification()
Returns the specification that this mock object is attached to.Methods in org.spockframework.mock with parameters of type Specification Modifier and Type Method Description java.lang.Object
IMockFactory. create(IMockConfiguration configuration, Specification specification)
-
Uses of Specification in org.spockframework.mock.runtime
Methods in org.spockframework.mock.runtime that return Specification Modifier and Type Method Description Specification
MockObject. getSpecification()
Methods in org.spockframework.mock.runtime with parameters of type Specification Modifier and Type Method Description java.lang.Object
CompositeMockFactory. create(IMockConfiguration configuration, Specification specification)
java.lang.Object
GroovyMockFactory. create(IMockConfiguration configuration, Specification specification)
java.lang.Object
JavaMockFactory. create(IMockConfiguration configuration, Specification specification)
Constructors in org.spockframework.mock.runtime with parameters of type Specification Constructor 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)
-
Uses of Specification in org.spockframework.runtime
Fields in org.spockframework.runtime declared as Specification Modifier and Type Field Description protected Specification
BaseSpecRunner. currentInstance
protected Specification
BaseSpecRunner. sharedInstance
Methods in org.spockframework.runtime that return Specification Modifier and Type Method Description Specification
SpecificationContext. getSharedInstance()
Methods in org.spockframework.runtime with parameters of type Specification Modifier and Type Method Description protected SpecificationContext
BaseSpecRunner. getSpecificationContext(Specification instance)
void
SpecificationContext. setSharedInstance(Specification sharedInstance)
-