Uses of Class
spock.lang.Specification
Packages that use Specification
Package
Description
Spock's built-in mocking framework.
-
Uses of Specification in org.spockframework.mock
Methods in org.spockframework.mock that return SpecificationModifier and TypeMethodDescriptionIMockObject.getSpecification()
Returns the specification that this mock object is attached to.Methods in org.spockframework.mock with parameters of type SpecificationModifier and TypeMethodDescriptionIMockFactory.create
(IMockConfiguration configuration, Specification specification) -
Uses of Specification in org.spockframework.mock.runtime
Methods in org.spockframework.mock.runtime that return SpecificationMethods in org.spockframework.mock.runtime with parameters of type SpecificationModifier and TypeMethodDescriptionCompositeMockFactory.create
(IMockConfiguration configuration, Specification specification) GroovyMockFactory.create
(IMockConfiguration configuration, Specification specification) JavaMockFactory.create
(IMockConfiguration configuration, Specification specification) Constructors in org.spockframework.mock.runtime with parameters of type SpecificationModifierConstructorDescriptionGroovyMockInterceptor
(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
(String name, Class<?> type, Object instance, boolean verified, boolean global, IDefaultResponse defaultResponse, Specification specification) -
Uses of Specification in org.spockframework.runtime
Fields in org.spockframework.runtime declared as SpecificationModifier and TypeFieldDescriptionprotected Specification
BaseSpecRunner.currentInstance
protected Specification
BaseSpecRunner.sharedInstance
Methods in org.spockframework.runtime that return SpecificationMethods in org.spockframework.runtime with parameters of type SpecificationModifier and TypeMethodDescriptionprotected SpecificationContext
BaseSpecRunner.getSpecificationContext
(Specification instance) void
SpecificationContext.setSharedInstance
(Specification sharedInstance)