Package org.spockframework.runtime
Class SpecificationContext
java.lang.Object
org.spockframework.runtime.SpecificationContext
- All Implemented Interfaces:
ISpecificationContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setIterationInfo
(IterationInfo iterationInfo) void
setSharedInstance
(Specification sharedInstance) void
setThrownException
(Throwable exception)
-
Field Details
-
GET_SHARED_INSTANCE
- See Also:
-
SET_THROWN_EXCEPTION
-
GET_MOCK_CONTROLLER
-
-
Constructor Details
-
SpecificationContext
public SpecificationContext()
-
-
Method Details
-
getIterationInfo
- Specified by:
getIterationInfo
in interfaceISpecificationContext
-
setIterationInfo
-
getThrownException
- Specified by:
getThrownException
in interfaceISpecificationContext
-
setThrownException
-
getMockController
- Specified by:
getMockController
in interfaceISpecificationContext