- GenericTypeReflector - Class in org.spockframework.gentyref
-
Utility class for doing reflection on types.
- GenericTypeReflector() - Constructor for class org.spockframework.gentyref.GenericTypeReflector
-
- GestaltBuilder - Class in org.spockframework.builder
-
- GestaltBuilder() - Constructor for class org.spockframework.builder.GestaltBuilder
-
- get(Class<T>) - Static method in class org.spockframework.gentyref.TypeToken
-
Gets type token for the given Class
instance.
- get(Type) - Static method in class org.spockframework.gentyref.TypeToken
-
Gets type token for the given Type
instance.
- get(int) - Method in class org.spockframework.lang.Wildcard
-
- get() - Static method in class org.spockframework.runtime.RunContext
-
- get() - Method in class spock.util.concurrent.BlockingVariable
-
Blocks until a value has been set for this variable, or a timeout expires.
- GET_MOCK_CONTROLLER - Static variable in class org.spockframework.runtime.SpecificationContext
-
- GET_SHARED_INSTANCE - Static variable in class org.spockframework.runtime.SpecificationContext
-
- GET_SPECIFICATION_CONTEXT - Static variable in class org.spockframework.util.Identifiers
-
- getAcceptedInvocations() - Method in interface org.spockframework.mock.IMockInteraction
-
- getAcceptedInvocations() - Method in class org.spockframework.mock.runtime.MockInteraction
-
- getAcceptedInvocations() - Method in class org.spockframework.mock.runtime.MockInteractionDecorator
-
- getAcceptedInvocations() - Method in error org.spockframework.mock.TooManyInvocationsError
-
- getActual() - Method in error org.spockframework.runtime.UnallowedExceptionThrownError
-
- getActual() - Method in error org.spockframework.runtime.WrongExceptionThrownError
-
- getAllFeatures() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getAllFeaturesInExecutionOrder() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getAllFields() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getAllFixtureMethods() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getAnchor() - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- getAnnotation(ASTNode, Class<?>) - Static method in class org.spockframework.compiler.AstUtil
-
- getAnnotation(Class<T>) - Method in class org.spockframework.runtime.model.FieldInfo
-
- getArgumentList(Expression) - Static method in class org.spockframework.compiler.AstUtil
-
- getArguments(Expression) - Static method in class org.spockframework.compiler.AstUtil
-
- getArguments() - Method in interface org.spockframework.mock.IMockInvocation
-
The arguments for the invocation.
- getArguments() - Method in class org.spockframework.mock.runtime.DelegatingMockInvocation
-
- getArguments() - Method in class org.spockframework.mock.runtime.MockInvocation
-
- getArguments() - Method in interface org.spockframework.runtime.extension.IMethodInvocation
-
Returns the arguments for this method invocation.
- getArguments() - Method in class org.spockframework.runtime.extension.MethodInvocation
-
- getArrayComponentType(Type) - Static method in class org.spockframework.gentyref.GenericTypeReflector
-
If type is an array type, returns the type of the component of the array.
- getArtifactPath() - Static method in class org.spockframework.util.GroovyReleaseInfo
-
- getArtifactPath() - Static method in class org.spockframework.util.SpockReleaseInfo
-
- getAssertionMessage(AssertStatement) - Static method in class org.spockframework.compiler.AstUtil
-
- getAst() - Method in class org.spockframework.compiler.model.Node
-
The Groovy AST representation of this node.
- getAstNodeCache() - Method in interface org.spockframework.compiler.IRewriteResources
-
- getAstNodeCache() - Method in class org.spockframework.compiler.SpecRewriter
-
- getAttribute(Object, String) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
Note: This method may throw checked exceptions although it doesn't say so.
- getBlocks() - Method in class org.spockframework.compiler.model.Method
-
- getBlocks() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- getBlueprint() - Method in interface org.spockframework.builder.IGestalt
-
- getBlueprint() - Method in class org.spockframework.builder.PojoGestalt
-
- getBlueprint() - Method in class org.spockframework.builder.SpockConfigurationGestalt
-
- getBottomSpec() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getChildren() - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- getClass(String) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the first class found with the specified
simple name.
- getClass(Object) - Static method in class org.spockframework.util.ObjectUtil
-
- getClassFile(Class<?>) - Static method in class org.spockframework.util.ReflectionUtil
-
Returns the class file for the given class (which has been verified to exist in the returned location),
or null if the class file could not be found (e.g.
- getCleanupMethod() - Method in class org.spockframework.compiler.model.Spec
-
- getCleanupMethod() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getCleanups() - Method in class org.spockframework.runtime.model.IterationInfo
-
- getCleanupSpecMethod() - Method in class org.spockframework.compiler.model.Spec
-
- getCleanupSpecMethod() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getClosureExpr() - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- getClosureExpr() - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- getClosureExpr() - Method in class org.spockframework.compiler.SpecialMethodCall
-
- getColumn() - Method in interface org.spockframework.mock.IMockInteraction
-
- getColumn() - Method in class org.spockframework.mock.runtime.MockInteraction
-
- getColumn() - Method in class org.spockframework.mock.runtime.MockInteractionDecorator
-
- getColumn() - Method in class org.spockframework.runtime.model.TextPosition
-
- getColumnIndex() - Method in class org.spockframework.runtime.model.TextPosition
-
- getCondition() - Method in error org.spockframework.runtime.ConditionNotSatisfiedError
-
- getCondition() - Method in error org.spockframework.runtime.SpockComparisonFailure
-
- getConfiguration(String) - Method in interface org.spockframework.builder.IConfigurationRegistry
-
- getConfiguration(Class<T>) - Method in class org.spockframework.runtime.RunContext
-
- getConfiguration(Class<T>) - Static method in class org.spockframework.runtime.SpecUtil
-
- getConstructor(String) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the first constructor found in the class with the specified simple name.
- getConstructorArgs() - Method in interface org.spockframework.mock.IMockConfiguration
-
Returns the constructor arguments to be used for creating the mock object.
- getConstructorArgs() - Method in class org.spockframework.mock.runtime.MockConfiguration
-
- getCurrentBlock() - Method in interface org.spockframework.compiler.IRewriteResources
-
- getCurrentBlock() - Method in class org.spockframework.compiler.SpecRewriter
-
- getCurrentMethod() - Method in interface org.spockframework.compiler.IRewriteResources
-
- getCurrentMethod() - Method in class org.spockframework.compiler.SpecRewriter
-
- getCurrentSpec() - Method in interface org.spockframework.compiler.IRewriteResources
-
- getCurrentSpec() - Method in class org.spockframework.compiler.SpecRewriter
-
- getDataProcessorMethod() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- getDataProcessorName(String) - Static method in class org.spockframework.util.InternalIdentifiers
-
- getDataProviderMethod() - Method in class org.spockframework.runtime.model.DataProviderInfo
-
- getDataProviderName(String, int) - Static method in class org.spockframework.util.InternalIdentifiers
-
- getDataProviders() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- getDataValues() - Method in class org.spockframework.runtime.model.IterationInfo
-
Return this iteration's data values for the ongoing execution of the
owning feature method.
- getDataVariables() - Method in class org.spockframework.runtime.model.DataProviderInfo
-
- getDataVariables() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- getDeclarationOrder() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- getDeclaredMethodByName(Class<?>, String) - Static method in class org.spockframework.util.ReflectionUtil
-
- getDeclaredMethodBySignature(Class<?>, String, Class<?>...) - Static method in class org.spockframework.util.ReflectionUtil
-
- getDefaultResponse() - Method in interface org.spockframework.mock.IMockConfiguration
-
Returns the default response strategy for the mock object.
- getDefaultResponse() - Method in interface org.spockframework.mock.IMockObject
-
Returns the default response strategy for this mock object.
- getDefaultResponse() - Method in enum org.spockframework.mock.MockNature
-
Returns the strategy for responding to unexpected method calls.
- getDefaultResponse() - Method in class org.spockframework.mock.runtime.MockConfiguration
-
- getDefaultResponse() - Method in class org.spockframework.mock.runtime.MockObject
-
- getDefaultValue(Class<?>) - Static method in class org.spockframework.util.ReflectionUtil
-
- getDelay() - Method in class spock.util.concurrent.PollingConditions
-
Returns the delay (in seconds) between successive evaluations of the conditions.
- getDescription() - Method in class org.spockframework.runtime.model.NodeInfo
-
- getDescription() - Method in class org.spockframework.runtime.Sputnik
-
- getDescriptions() - Method in class org.spockframework.compiler.model.Block
-
- getDistance() - Method in class org.spockframework.runtime.condition.EditDistance
-
- getEffectiveRenderedValue() - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- getEnd() - Method in class org.spockframework.runtime.model.TextRegion
-
- getErrorReporter() - Method in interface org.spockframework.compiler.IRewriteResources
-
- getErrorReporter() - Method in class org.spockframework.compiler.SpecRewriter
-
- getEstimatedNumIterations() - Method in class org.spockframework.runtime.model.IterationInfo
-
Returns the estimated total number of iterations for the ongoing execution
of the owning feature method.
- getExactFieldType(Field, Type) - Static method in class org.spockframework.gentyref.GenericTypeReflector
-
Returns the exact type of the given field in the given type.
- getExactParameterTypes(Method, Type) - Static method in class org.spockframework.gentyref.GenericTypeReflector
-
- getExactReturnType(Method, Type) - Static method in class org.spockframework.gentyref.GenericTypeReflector
-
Returns the exact return type of the given method in the given type.
- getExactSuperType(Type, Class<?>) - Static method in class org.spockframework.gentyref.GenericTypeReflector
-
With type a supertype of searchClass, returns the exact supertype of the given class, including type parameters.
- getException() - Method in class org.spockframework.runtime.model.ErrorInfo
-
- getExecutionOrder() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- getExpected() - Method in error org.spockframework.runtime.WrongExceptionThrownError
-
- getExpression(Statement, Class<T>) - Static method in class org.spockframework.compiler.AstUtil
-
- getExpression() - Method in class org.spockframework.runtime.Condition
-
- getExpression(String) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the first expression found that is
either immediately preceded by a label with the specified name, or is the
single argument in a method call of the form "inspect_name(expression)".
- getExpressions(MethodNode) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the top-level expressions in the specified method or constructor.
- getExpressions(ClosureExpression) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the top-level expressions in the specified closure definition.
- getExtensions() - Method in class org.spockframework.runtime.ExtensionRegistry
-
- getFactor() - Method in class spock.util.concurrent.PollingConditions
-
Returns the factor by which the delay grows (or shrinks) after each evaluation of the conditions.
- getFailureDescription(Object, Object, String) - Static method in class org.spockframework.runtime.HamcrestFacade
-
- getFeature() - Method in interface org.spockframework.runtime.extension.IMethodInvocation
-
Returns the feature which this method invocation belongs to (if any).
- getFeature() - Method in class org.spockframework.runtime.extension.MethodInvocation
-
- getFeature() - Method in class org.spockframework.runtime.model.MethodInfo
-
- getFeatureCount(Class<?>) - Static method in class org.spockframework.runtime.SpecUtil
-
Returns the number of features contained in the given specification.
- getFeatureMethod() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- getFeatures() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getField(String) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the first field found with the specified name.
- getFields() - Method in class org.spockframework.compiler.model.Spec
-
- getFields() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getFilename() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getFirstBlock() - Method in class org.spockframework.compiler.model.Method
-
- getFixtureMethods() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getFoundExceptionCondition() - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
-
- getImplementation() - Method in interface org.spockframework.mock.IMockConfiguration
-
Returns the implementation of the mock object.
- getImplementation() - Method in class org.spockframework.mock.runtime.MockConfiguration
-
- getImplicitParameterRef(ClosureExpression) - Static method in class org.spockframework.compiler.AstUtil
-
- getIndent(String) - Static method in class org.spockframework.util.TextUtil
-
- getIndent(List<String>) - Static method in class org.spockframework.util.TextUtil
-
- getInitialDelay() - Method in class spock.util.concurrent.PollingConditions
-
Returns the initial delay (in seconds) before first evaluating the conditions.
- getInitializerMethod() - Method in class org.spockframework.compiler.model.Spec
-
- getInitializerMethod() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getInstance() - Method in interface org.spockframework.mock.IMockObject
-
Returns the instance of this mock object.
- getInstance() - Method in class org.spockframework.mock.runtime.MockObject
-
- getInstance() - Method in interface org.spockframework.runtime.extension.IMethodInvocation
-
Returns the Specification instance for the current iteration.
- getInstance() - Method in class org.spockframework.runtime.extension.MethodInvocation
-
- getInteraction() - Method in error org.spockframework.mock.TooManyInvocationsError
-
- getInteraction() - Method in error org.spockframework.mock.WrongInvocationOrderError
-
- getInterceptors() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- getInterceptors() - Method in interface org.spockframework.runtime.model.IInterceptable
-
- getInterceptors() - Method in class org.spockframework.runtime.model.MethodInfo
-
- getInterceptors() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getInvocationTarget(Expression) - Static method in class org.spockframework.compiler.AstUtil
-
- getIteration() - Method in interface org.spockframework.runtime.extension.IMethodInvocation
-
Return the iteration which this method invocation belongs to (if any).
- getIteration() - Method in class org.spockframework.runtime.extension.MethodInvocation
-
- getIterationInfo() - Method in interface org.spockframework.lang.ISpecificationContext
-
- getIterationInfo() - Method in class org.spockframework.runtime.SpecificationContext
-
- getIterationInterceptors() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- getIterationNameProvider() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- getKind() - Method in class org.spockframework.runtime.condition.EditOperation
-
- getKind() - Method in class org.spockframework.runtime.model.BlockInfo
-
- getKind() - Method in class org.spockframework.runtime.model.MethodInfo
-
- getLastBlock() - Method in class org.spockframework.compiler.model.Method
-
- getLastElement(List<T>) - Static method in class org.spockframework.util.CollectionUtil
-
- getLastInvocation() - Method in error org.spockframework.mock.WrongInvocationOrderError
-
- getLength() - Method in class org.spockframework.runtime.condition.EditOperation
-
- getLine() - Method in interface org.spockframework.mock.IMockInteraction
-
- getLine() - Method in class org.spockframework.mock.runtime.MockInteraction
-
- getLine() - Method in class org.spockframework.mock.runtime.MockInteractionDecorator
-
- getLine() - Method in class org.spockframework.runtime.model.NodeInfo
-
- getLine() - Method in class org.spockframework.runtime.model.TextPosition
-
- getLineIndex() - Method in class org.spockframework.runtime.model.TextPosition
-
- getListeners() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getLowerBounds() - Method in interface org.spockframework.gentyref.CaptureType
-
Returns an array of Type objects representing the
lower bound(s) of this type variable.
- getMajor() - Method in class org.spockframework.util.VersionNumber
-
- getMarkedNode(String) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the first declaration found that
is marked with an @Inspect annotation with the specified name.
- getMatrix() - Method in class org.spockframework.runtime.condition.EditDistance
-
- getMessage() - Method in error org.spockframework.mock.TooFewInvocationsError
-
- getMessage() - Method in error org.spockframework.mock.TooManyInvocationsError
-
- getMessage() - Method in error org.spockframework.mock.WrongInvocationOrderError
-
- getMessage() - Method in class org.spockframework.runtime.Condition
-
- getMessage() - Method in error org.spockframework.runtime.ConditionNotSatisfiedError
-
- getMessage() - Method in exception org.spockframework.runtime.extension.ExtensionException
-
- getMessage() - Method in exception org.spockframework.runtime.InvalidSpecException
-
- getMessage() - Method in error org.spockframework.runtime.SpockComparisonFailure
-
- getMessage() - Method in exception org.spockframework.runtime.SpockExecutionException
-
- getMessage() - Method in error org.spockframework.runtime.UnallowedExceptionThrownError
-
- getMessage() - Method in error org.spockframework.runtime.WrongExceptionThrownError
-
- getMessage() - Method in error org.spockframework.util.InternalSpockError
-
- getMetaClass(Object) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
- getMetaClass(Class<?>) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
- getMetadata() - Method in class org.spockframework.runtime.model.NodeInfo
-
- getMethod() - Method in interface org.spockframework.mock.IMockInvocation
-
The invoked method.
- getMethod() - Method in class org.spockframework.mock.runtime.DelegatingMockInvocation
-
- getMethod() - Method in class org.spockframework.mock.runtime.MockInvocation
-
- getMethod() - Method in interface org.spockframework.runtime.extension.IMethodInvocation
-
Returns the method invoked by this method invocation.
- getMethod() - Method in class org.spockframework.runtime.extension.MethodInvocation
-
- getMethod() - Method in class org.spockframework.runtime.model.ErrorInfo
-
- getMethod(String) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the first method found with the specified name (including both
script and class methods).
- getMethodByName(Class<?>, String) - Static method in class org.spockframework.util.ReflectionUtil
-
Finds a public method with the given name declared in the given
class/interface or one of its super classes/interfaces.
- getMethodBySignature(Class<?>, String, Class<?>...) - Static method in class org.spockframework.util.ReflectionUtil
-
- getMethods() - Method in class org.spockframework.compiler.model.Spec
-
- getMicro() - Method in class org.spockframework.util.VersionNumber
-
- getMinor() - Method in class org.spockframework.util.VersionNumber
-
- getMockController() - Method in interface org.spockframework.lang.ISpecificationContext
-
- getMockController() - Method in class org.spockframework.runtime.SpecificationContext
-
- getMockInvocationMatcher() - Method in interface org.spockframework.compiler.IRewriteResources
-
- getMockInvocationMatcher() - Method in class org.spockframework.compiler.SpecRewriter
-
- getMockObject() - Method in interface org.spockframework.mock.IMockInvocation
-
The mock object that received the invocation.
- getMockObject() - Method in class org.spockframework.mock.runtime.DelegatingMockInvocation
-
- getMockObject() - Method in class org.spockframework.mock.runtime.MockInvocation
-
- getModule() - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the root of the inspected AST.
- getName() - Method in class org.spockframework.compiler.model.Node
-
- getName() - Method in interface org.spockframework.mock.IMockConfiguration
-
Returns the name of the mock object.
- getName() - Method in interface org.spockframework.mock.IMockMethod
-
Returns the name of the method.
- getName() - Method in interface org.spockframework.mock.IMockObject
-
Returns the name of this mock object, or null
if it has no name.
- getName() - Method in class org.spockframework.mock.runtime.DynamicMockMethod
-
- getName() - Method in class org.spockframework.mock.runtime.MockConfiguration
-
- getName() - Method in class org.spockframework.mock.runtime.MockObject
-
- getName() - Method in class org.spockframework.mock.runtime.StaticMockMethod
-
- getName(IterationInfo) - Method in class org.spockframework.runtime.extension.builtin.UnrollNameProvider
-
- getName() - Method in class org.spockframework.runtime.model.IterationInfo
-
Returns the name of this iteration.
- getName(T) - Method in interface org.spockframework.runtime.model.NameProvider
-
- getName() - Method in class org.spockframework.runtime.model.NodeInfo
-
- getName(IterationInfo) - Method in class org.spockframework.runtime.SafeIterationNameProvider
-
- getNature() - Method in interface org.spockframework.mock.IMockConfiguration
-
Returns the nature of the mock object.
- getNature() - Method in class org.spockframework.mock.runtime.MockConfiguration
-
- getNext() - Method in class org.spockframework.compiler.model.Block
-
- getNext(Class<T>) - Method in class org.spockframework.compiler.model.Block
-
- getNext() - Method in class org.spockframework.compiler.model.WhenBlock
-
- getOperation() - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- getOrdinal() - Method in class org.spockframework.compiler.model.FeatureMethod
-
- getOrdinal() - Method in class org.spockframework.compiler.model.Field
-
- getOrdinal() - Method in class org.spockframework.runtime.model.FieldInfo
-
- getOrginalExpression() - Method in class org.spockframework.compiler.OldValueExpression
-
- getOwner() - Method in class org.spockframework.compiler.model.Field
-
- getParameterNames() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- getParameterTypes() - Method in interface org.spockframework.mock.IMockMethod
-
Returns the parameter types of the method.
- getParameterTypes() - Method in class org.spockframework.mock.runtime.DynamicMockMethod
-
- getParameterTypes() - Method in class org.spockframework.mock.runtime.StaticMockMethod
-
- getParent() - Method in class org.spockframework.compiler.model.Node
-
The parent of this node.
- getParent() - Method in class org.spockframework.runtime.model.NodeInfo
-
- getParseInfo() - Method in class org.spockframework.compiler.model.AnonymousBlock
-
- getParseInfo() - Method in class org.spockframework.compiler.model.Block
-
- getParseInfo() - Method in class org.spockframework.compiler.model.CleanupBlock
-
- getParseInfo() - Method in class org.spockframework.compiler.model.ExpectBlock
-
- getParseInfo() - Method in class org.spockframework.compiler.model.SetupBlock
-
- getParseInfo() - Method in class org.spockframework.compiler.model.ThenBlock
-
- getParseInfo() - Method in class org.spockframework.compiler.model.WhenBlock
-
- getParseInfo() - Method in class org.spockframework.compiler.model.WhereBlock
-
- getPosition() - Method in class org.spockframework.runtime.Condition
-
- getPrevious() - Method in class org.spockframework.compiler.model.Block
-
- getPrevious(Class<T>) - Method in class org.spockframework.compiler.model.Block
-
- getProperty(String) - Method in class org.spockframework.builder.DelegatingScript
-
- getProperty(String) - Method in interface org.spockframework.builder.IGestalt
-
- getProperty(String) - Method in class org.spockframework.builder.PojoGestalt
-
- getProperty(String) - Method in class org.spockframework.builder.Sculpturer
-
- getProperty(String) - Method in class org.spockframework.builder.SpockConfigurationGestalt
-
- getProperty(Object, String) - Method in class org.spockframework.mock.runtime.GroovyMockMetaClass
-
- getProperty(Object, String) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
Note: This method may throw checked exceptions although it doesn't say so.
- getProperty(String) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the first property found with the specified name.
- getQualifier() - Method in class org.spockframework.util.VersionNumber
-
- getReflection() - Method in class org.spockframework.runtime.model.DataProviderInfo
-
- getReflection() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- getReflection() - Method in class org.spockframework.runtime.model.IterationInfo
-
- getReflection() - Method in class org.spockframework.runtime.model.NodeInfo
-
- getRegion() - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- getRenderedValue() - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- getRendering() - Method in class org.spockframework.runtime.Condition
-
- getReturnType() - Method in interface org.spockframework.mock.IMockMethod
-
Returns the return type of the method.
- getReturnType() - Method in class org.spockframework.mock.runtime.DynamicMockMethod
-
- getReturnType() - Method in class org.spockframework.mock.runtime.StaticMockMethod
-
- getRuleInstance(FieldInfo, Object) - Method in class org.spockframework.runtime.extension.builtin.AbstractRuleInterceptor
-
- getScriptExpressions() - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the top-level expressions in a script.
- getScriptStatements() - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the top-level statements in a script.
- getSetupMethod() - Method in class org.spockframework.compiler.model.Spec
-
- getSetupMethod() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getSetupSpecMethod() - Method in class org.spockframework.compiler.model.Spec
-
- getSetupSpecMethod() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getSharedFieldName(String) - Static method in class org.spockframework.util.InternalIdentifiers
-
- getSharedInitializerMethod() - Method in class org.spockframework.compiler.model.Spec
-
- getSharedInitializerMethod() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getSharedInstance() - Method in class org.spockframework.compiler.SpecRewriter
-
- getSharedInstance() - Method in interface org.spockframework.runtime.extension.IMethodInvocation
-
Returns the Specification instance for @Shared fields.
- getSharedInstance() - Method in class org.spockframework.runtime.extension.MethodInvocation
-
- getSharedInstance() - Method in class org.spockframework.runtime.SpecificationContext
-
- getSimilarityInPercent() - Method in class org.spockframework.runtime.condition.EditDistance
-
- getSourceText(ASTNode) - Method in interface org.spockframework.compiler.IRewriteResources
-
- getSourceText(ASTNode) - Method in class org.spockframework.compiler.SpecRewriter
-
- getSourceUnit() - Method in class org.spockframework.compiler.InstanceFieldAccessChecker
-
- getSourceUnit() - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
-
- getSpec() - Method in interface org.spockframework.runtime.extension.IMethodInvocation
-
Returns the specification which this method invocation belongs to.
- getSpec() - Method in class org.spockframework.runtime.extension.MethodInvocation
-
- getSpecification() - Method in interface org.spockframework.mock.IMockObject
-
Returns the specification that this mock object is attached to.
- getSpecification() - Method in class org.spockframework.mock.runtime.MockObject
-
- getSpecificationContext() - Method in class org.spockframework.compiler.SpecRewriter
-
- getSpecificationContext() - Method in class org.spockframework.lang.SpecInternals
-
- getSpecificationContext(Specification) - Method in class org.spockframework.runtime.BaseSpecRunner
-
- getSpecName() - Method in class org.spockframework.runtime.SpecRunHistory
-
- getSpecsBottomToTop() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getSpecsTopToBottom() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getStart() - Method in class org.spockframework.runtime.model.TextRegion
-
- getStatement(String) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the first statement found immediately preceded by a label with the
specified name.
- getStatements(MethodNode) - Static method in class org.spockframework.compiler.AstUtil
-
Returns a list of statements of the given method.
- getStatements(ClosureExpression) - Static method in class org.spockframework.compiler.AstUtil
-
- getStatements() - Method in class org.spockframework.compiler.model.Method
-
- getStatements(MethodNode) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the top-level statements in the specified method or constructor.
- getStatements(ClosureExpression) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the top-level statements in the specified closure definition.
- getSubject() - Method in class org.spockframework.builder.PojoGestalt
-
- getSubSpec() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getSuccessors(Method) - Method in enum org.spockframework.compiler.model.BlockParseInfo
-
- getSuperSpec() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getTarget() - Method in interface org.spockframework.runtime.extension.IMethodInvocation
-
Returns the target (receiver) of this method invocation.
- getTarget() - Method in class org.spockframework.runtime.extension.MethodInvocation
-
- getterFor(MetaProperty) - Static method in class org.spockframework.util.MopUtil
-
- getterMethodToPropertyName(String, List<Class<?>>, Class<?>) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
Checks if the given method is a getter method according
to Groovy rules.
- getText() - Method in interface org.spockframework.mock.IMockInteraction
-
- getText() - Method in class org.spockframework.mock.runtime.MockInteraction
-
- getText() - Method in class org.spockframework.mock.runtime.MockInteractionDecorator
-
- getText() - Method in class org.spockframework.runtime.Condition
-
- getText() - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- getText(Reader) - Static method in class org.spockframework.util.IoUtil
-
Returns the text read from the given reader as a String.
- getText(File) - Static method in class org.spockframework.util.IoUtil
-
Returns the text read from the given file as a String.
- getText(InputStream) - Static method in class org.spockframework.util.IoUtil
-
Returns the text read from the given stream as a String.
- getTexts() - Method in class org.spockframework.runtime.model.BlockInfo
-
- getThenBlockInteractionStats() - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
-
- getThisObject() - Method in class org.spockframework.builder.ClosureBlueprint
-
- getThisObject() - Method in class org.spockframework.builder.DelegatingScriptBlueprint
-
- getThisObject() - Method in interface org.spockframework.builder.IBlueprint
-
- getThrownException() - Method in interface org.spockframework.lang.ISpecificationContext
-
- getThrownException() - Method in class org.spockframework.runtime.SpecificationContext
-
- getTimeout() - Method in error org.spockframework.runtime.SpockTimeoutError
-
Returns the timeout (in seconds).
- getTimeout() - Method in class spock.util.concurrent.BlockingVariable
-
Returns the timeout (in seconds).
- getTimeout() - Method in class spock.util.concurrent.PollingConditions
-
Returns the timeout (in seconds) until which the conditions have to be satisfied.
- getTopSpec() - Method in class org.spockframework.runtime.model.SpecInfo
-
- getTrailingWhitespace(String) - Static method in class org.spockframework.util.TextUtil
-
Returns the number of whitespace characters at the end of the given line.
- getType() - Method in class org.spockframework.builder.CollectionSlot
-
- getType() - Method in interface org.spockframework.builder.ISlot
-
- getType() - Method in class org.spockframework.builder.PropertySlot
-
- getType() - Method in class org.spockframework.builder.SetterLikeSlot
-
- getType() - Method in class org.spockframework.gentyref.TypeToken
-
- getType() - Method in interface org.spockframework.mock.IMockConfiguration
-
Returns the interface or class type of the mock object.
- getType() - Method in interface org.spockframework.mock.IMockObject
-
Returns the declared type of this mock object.
- getType() - Method in class org.spockframework.mock.runtime.MockConfiguration
-
- getType() - Method in class org.spockframework.mock.runtime.MockObject
-
- getType() - Method in class org.spockframework.runtime.model.FieldInfo
-
- getTypeName(Type) - Static method in class org.spockframework.gentyref.GenericTypeReflector
-
Returns the display name of a Type.
- getTypeParameter(Type, TypeVariable<? extends Class<?>>) - Static method in class org.spockframework.gentyref.GenericTypeReflector
-
Gets the type parameter for a given type that is the value for a given type variable.
- getTypes(Object...) - Static method in class org.spockframework.util.ReflectionUtil
-
- getUnallowed() - Method in error org.spockframework.runtime.UnallowedExceptionThrownError
-
- getUpperBoundClassAndInterfaces(Type) - Static method in class org.spockframework.gentyref.GenericTypeReflector
-
Returns list of classes and interfaces that are supertypes of the given type.
- getUpperBounds() - Method in interface org.spockframework.gentyref.CaptureType
-
Returns an array of Type objects representing the upper
bound(s) of this capture.
- getValue() - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- getValues() - Method in class org.spockframework.runtime.Condition
-
- getValues() - Method in class org.spockframework.runtime.ValueRecorder
-
- getVariableName(BinaryExpression) - Static method in class org.spockframework.compiler.AstUtil
-
- getVariableType(BinaryExpression) - Static method in class org.spockframework.compiler.AstUtil
-
- getVersion() - Static method in class org.spockframework.util.GroovyReleaseInfo
-
- getVersion() - Static method in class org.spockframework.util.SpockReleaseInfo
-
- getVisibility(FieldNode) - Static method in class org.spockframework.compiler.AstUtil
-
- GIVEN - Static variable in class org.spockframework.util.Identifiers
-
- GROOVY_MOCK - Static variable in class org.spockframework.util.Identifiers
-
- GROOVY_SPY - Static variable in class org.spockframework.util.Identifiers
-
- GROOVY_STUB - Static variable in class org.spockframework.util.Identifiers
-
- GroovyMock() - Method in class spock.lang.MockingApi
-
Creates a Groovy mock whose type and name are inferred from the left-hand side of the enclosing variable assignment.
- GroovyMock(Map<String, Object>) - Method in class spock.lang.MockingApi
-
Creates a Groovy mock with the specified options whose type and name are inferred from the left-hand side of the
enclosing variable assignment.
- GroovyMock(Class<T>) - Method in class spock.lang.MockingApi
-
Creates a Groovy mock with the specified type.
- GroovyMock(Map<String, Object>, Class<T>) - Method in class spock.lang.MockingApi
-
Creates a Groovy mock with the specified options and type.
- GroovyMock(Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy mock with the specified interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
- GroovyMock(Map<String, Object>, Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy mock with the specified options and interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
- GroovyMock(Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy mock with the specified type and interactions.
- GroovyMock(Map<String, Object>, Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy mock with the specified options, type, and interactions.
- GroovyMockFactory - Class in org.spockframework.mock.runtime
-
- GroovyMockFactory() - Constructor for class org.spockframework.mock.runtime.GroovyMockFactory
-
- GroovyMockInterceptor - Class in org.spockframework.mock.runtime
-
- GroovyMockInterceptor(IMockConfiguration, Specification, MetaClass) - Constructor for class org.spockframework.mock.runtime.GroovyMockInterceptor
-
- GroovyMockMetaClass - Class in org.spockframework.mock.runtime
-
- GroovyMockMetaClass(IMockConfiguration, Specification, MetaClass) - Constructor for class org.spockframework.mock.runtime.GroovyMockMetaClass
-
- GroovyRealMethodInvoker - Class in org.spockframework.mock.runtime
-
- GroovyRealMethodInvoker(MetaClass) - Constructor for class org.spockframework.mock.runtime.GroovyRealMethodInvoker
-
- GroovyReleaseInfo - Class in org.spockframework.util
-
- GroovyReleaseInfo() - Constructor for class org.spockframework.util.GroovyReleaseInfo
-
- GroovyRuntimeUtil - Class in org.spockframework.runtime
-
Provides convenient access to Groovy language and runtime features.
- GroovyRuntimeUtil() - Constructor for class org.spockframework.runtime.GroovyRuntimeUtil
-
- GroovySpy() - Method in class spock.lang.MockingApi
-
Creates a Groovy spy whose type and name are inferred from the left-hand side of the enclosing variable assignment.
- GroovySpy(Map<String, Object>) - Method in class spock.lang.MockingApi
-
Creates a Groovy spy with the specified options whose type and name are inferred from the left-hand side of the
enclosing variable assignment.
- GroovySpy(Class<T>) - Method in class spock.lang.MockingApi
-
Creates a Groovy spy with the specified type.
- GroovySpy(Map<String, Object>, Class<T>) - Method in class spock.lang.MockingApi
-
Creates a Groovy spy with the specified options and type.
- GroovySpy(Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy spy with the specified interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
- GroovySpy(Map<String, Object>, Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy spy with the specified options and interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
- GroovySpy(Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy spy with the specified type and interactions.
- GroovySpy(Map<String, Object>, Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy spy with the specified options, type, and interactions.
- GroovyStub() - Method in class spock.lang.MockingApi
-
Creates a Groovy stub whose type and name are inferred from the left-hand side of the enclosing variable assignment.
- GroovyStub(Map<String, Object>) - Method in class spock.lang.MockingApi
-
Creates a Groovy stub with the specified options whose type and name are inferred from the left-hand side of the
enclosing variable assignment.
- GroovyStub(Class<T>) - Method in class spock.lang.MockingApi
-
Creates a Groovy stub with the specified type.
- GroovyStub(Map<String, Object>, Class<T>) - Method in class spock.lang.MockingApi
-
Creates a Groovy stub with the specified options and type.
- GroovyStub(Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy stub with the specified interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
- GroovyStub(Map<String, Object>, Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy stub with the specified options and interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
- GroovyStub(Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy stub with the specified type and interactions.
- GroovyStub(Map<String, Object>, Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy stub with the specified options, type, and interactions.
- GuiceExtension - Class in org.spockframework.guice
-
- GuiceExtension() - Constructor for class org.spockframework.guice.GuiceExtension
-
- GuiceExtensionException - Exception in org.spockframework.guice
-
- GuiceExtensionException(String) - Constructor for exception org.spockframework.guice.GuiceExtensionException
-
- GuiceExtensionException(String, Throwable) - Constructor for exception org.spockframework.guice.GuiceExtensionException
-
- GuiceInterceptor - Class in org.spockframework.guice
-
Creates a Guice injector, and injects Guice-provided objects into specifications.
- GuiceInterceptor(SpecInfo, Set<Class<? extends Module>>) - Constructor for class org.spockframework.guice.GuiceInterceptor
-
- IAnnotationDrivenExtension<T extends java.lang.annotation.Annotation> - Interface in org.spockframework.runtime.extension
-
- IArgumentConstraint - Interface in org.spockframework.mock
-
A constraint on an invocation argument.
- IBlueprint - Interface in org.spockframework.builder
-
- IChainableResponseGenerator - Interface in org.spockframework.mock
-
Generates return values for invocations on mock objects.
- IConfigurationRegistry - Interface in org.spockframework.builder
-
- IDefaultResponse - Interface in org.spockframework.mock
-
A strategy for responding to unexpected method calls.
- Identifiers - Class in org.spockframework.util
-
Identifiers used throughout the core.
- Identifiers() - Constructor for class org.spockframework.util.Identifiers
-
- IExcludable - Interface in org.spockframework.runtime.model
-
- IFeatureFilter - Interface in org.spockframework.runtime
-
- IFeatureSortOrder - Interface in org.spockframework.runtime
-
- IFunction<D,C> - Interface in org.spockframework.util
-
A function from domain D to co-domain C.
- IGestalt - Interface in org.spockframework.builder
-
- IGlobalExtension - Interface in org.spockframework.runtime.extension
-
- Ignore - Annotation Type in spock.lang
-
Indicates that a specification or feature method should not be run.
- IgnoreExtension - Class in org.spockframework.runtime.extension.builtin
-
- IgnoreExtension() - Constructor for class org.spockframework.runtime.extension.builtin.IgnoreExtension
-
- IgnoreIf - Annotation Type in spock.lang
-
Ignores the annotated spec/feature if the given condition holds.
- IgnoreIfExtension - Class in org.spockframework.runtime.extension.builtin
-
- IgnoreIfExtension() - Constructor for class org.spockframework.runtime.extension.builtin.IgnoreIfExtension
-
- IgnoreRest - Annotation Type in spock.lang
-
Indicates that all feature methods except the ones carrying this annotation
should be ignored.
- IgnoreRestExtension - Class in org.spockframework.runtime.extension.builtin
-
- IgnoreRestExtension() - Constructor for class org.spockframework.runtime.extension.builtin.IgnoreRestExtension
-
- IInteractionAware - Interface in org.spockframework.mock
-
- IInteractionScope - Interface in org.spockframework.mock
-
An interaction scope holds a group of interactions that will be verified,
and thereafter removed, at the same time.
- IInterceptable - Interface in org.spockframework.runtime.model
-
- IInvocationConstraint - Interface in org.spockframework.mock
-
- IMatcher<T> - Interface in org.spockframework.util
-
- IMethodInterceptor - Interface in org.spockframework.runtime.extension
-
- IMethodInvocation - Interface in org.spockframework.runtime.extension
-
- IMethodNameMapper - Interface in org.spockframework.runtime
-
Maps method names in bytecode to their logical names.
- Immutable - Annotation Type in org.spockframework.util
-
- IMockConfiguration - Interface in org.spockframework.mock
-
Configuration options for mock objects.
- IMockController - Interface in org.spockframework.mock
-
- IMockFactory - Interface in org.spockframework.mock
-
- IMockInteraction - Interface in org.spockframework.mock
-
An anticipated interaction between the SUT and one or more mock objects.
- IMockInvocation - Interface in org.spockframework.mock
-
A method invocation on a mock object.
- IMockMethod - Interface in org.spockframework.mock
-
Represents a method that can be mocked.
- IMockObject - Interface in org.spockframework.mock
-
- IMultiset<E> - Interface in org.spockframework.util
-
Set-like data structure where each element has a cardinality.
- incLength(int) - Method in class org.spockframework.runtime.condition.EditOperation
-
- include - Variable in class spock.config.RunnerConfiguration
-
- IncludeExcludeCriteria - Class in spock.config
-
Configuration indicating which specs and methods should be
included/excluded from a spec run.
- IncludeExcludeCriteria(Class<?>...) - Constructor for class spock.config.IncludeExcludeCriteria
-
- IncludeExcludeExtension - Class in org.spockframework.runtime.extension.builtin
-
- IncludeExcludeExtension() - Constructor for class org.spockframework.runtime.extension.builtin.IncludeExcludeExtension
-
- IncompatibleGroovyVersionException - Exception in org.spockframework.util
-
- IncompatibleGroovyVersionException(String) - Constructor for exception org.spockframework.util.IncompatibleGroovyVersionException
-
- inCustomOrder(boolean, Comparator<ExpressionInfo>) - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- initializeAndRunIteration(Object[], int) - Method in class org.spockframework.runtime.BaseSpecRunner
-
- INITIALIZER_AND_FIXTURE_METHODS - Static variable in class org.spockframework.util.InternalIdentifiers
-
- INITIALIZER_METHOD - Static variable in class org.spockframework.util.InternalIdentifiers
-
- INITIALIZER_METHODS - Static variable in class org.spockframework.util.InternalIdentifiers
-
- inPostfixOrder(boolean) - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- inPrefixOrder(boolean) - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- Inspect - Annotation Type in org.spockframework.util.inspector
-
Marks a declaration in Groovy code so that it can be easily accessed using
AstInspector.
- install(MethodInfo) - Method in class org.spockframework.runtime.extension.builtin.AutoCleanupInterceptor
-
- INSTANCE - Static variable in class org.spockframework.compiler.NoSpecialMethodCall
-
- INSTANCE - Static variable in class org.spockframework.lang.SpreadWildcard
-
- INSTANCE - Static variable in class org.spockframework.lang.Wildcard
-
- INSTANCE - Static variable in class org.spockframework.mock.CallRealMethodResponse
-
- INSTANCE - Static variable in class org.spockframework.mock.constraint.SpreadWildcardArgumentConstraint
-
- INSTANCE - Static variable in class org.spockframework.mock.constraint.WildcardArgumentConstraint
-
- INSTANCE - Static variable in class org.spockframework.mock.constraint.WildcardMethodNameConstraint
-
- INSTANCE - Static variable in class org.spockframework.mock.DefaultEqualsHashCodeToStringInteractions
-
- INSTANCE - Static variable in class org.spockframework.mock.EmptyOrDummyResponse
-
- INSTANCE - Static variable in class org.spockframework.mock.runtime.CompositeMockFactory
-
- INSTANCE - Static variable in class org.spockframework.mock.runtime.GroovyMockFactory
-
- INSTANCE - Static variable in class org.spockframework.mock.runtime.JavaMockFactory
-
- INSTANCE - Static variable in class org.spockframework.mock.runtime.ProxyBasedMockFactory
-
- INSTANCE - Static variable in class org.spockframework.mock.ZeroOrNullResponse
-
- InstanceFieldAccessChecker - Class in org.spockframework.compiler
-
- InstanceFieldAccessChecker(IRewriteResources) - Constructor for class org.spockframework.compiler.InstanceFieldAccessChecker
-
- instantiate(Class<?>, Class<?>, List<Object>, boolean) - Static method in class org.spockframework.mock.runtime.MockInstantiator
-
- INTERACTION - Static variable in class org.spockframework.util.Identifiers
-
- interaction(Closure) - Method in class spock.lang.MockingApi
-
Encloses one or more interaction definitions in a then block.
- InteractionBuilder - Variable in class org.spockframework.compiler.AstNodeCache
-
- InteractionBuilder - Class in org.spockframework.mock.runtime
-
- InteractionBuilder(int, int, String) - Constructor for class org.spockframework.mock.runtime.InteractionBuilder
-
- interactionFound - Variable in class org.spockframework.compiler.AbstractDeepBlockRewriter
-
- InteractionNotSatisfiedError - Error in org.spockframework.mock
-
Base class for exceptions thrown to indicate that one or more interactions
were not satisfied.
- InteractionNotSatisfiedError() - Constructor for error org.spockframework.mock.InteractionNotSatisfiedError
-
- InteractionRewriter - Class in org.spockframework.compiler
-
Creates the AST representation of an InteractionBuilder build sequence.
- InteractionRewriter(IRewriteResources, ClosureExpression) - Constructor for class org.spockframework.compiler.InteractionRewriter
-
- InteractionScope - Class in org.spockframework.mock.runtime
-
A scope for interactions defined outside a then-block
- InteractionScope() - Constructor for class org.spockframework.mock.runtime.InteractionScope
-
- intercept(Object, Method, Object[], MethodProxy) - Method in class org.spockframework.mock.runtime.CglibMockInterceptorAdapter
-
- intercept(Object, Method, Object[], IResponseGenerator) - Method in class org.spockframework.mock.runtime.GroovyMockInterceptor
-
- intercept(Object, Method, Object[], IResponseGenerator) - Method in interface org.spockframework.mock.runtime.IProxyBasedMockInterceptor
-
- intercept(Object, Method, Object[], IResponseGenerator) - Method in class org.spockframework.mock.runtime.JavaMockInterceptor
-
- intercept(IMethodInvocation) - Method in class org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- intercept(IMethodInvocation) - Method in class org.spockframework.runtime.extension.builtin.AutoCleanupInterceptor
-
- intercept(IMethodInvocation) - Method in class org.spockframework.runtime.extension.builtin.ClassRuleInterceptor
-
- intercept(IMethodInvocation) - Method in class org.spockframework.runtime.extension.builtin.ConfineMetaClassChangesInterceptor
-
- intercept(IMethodInvocation) - Method in class org.spockframework.runtime.extension.builtin.FailsWithInterceptor
-
- intercept(IMethodInvocation) - Method in class org.spockframework.runtime.extension.builtin.MethodRuleInterceptor
-
- intercept(IMethodInvocation) - Method in class org.spockframework.runtime.extension.builtin.TestRuleInterceptor
-
- intercept(IMethodInvocation) - Method in class org.spockframework.runtime.extension.builtin.TimeoutInterceptor
-
- intercept(IMethodInvocation) - Method in class org.spockframework.runtime.extension.builtin.UseInterceptor
-
- intercept(IMethodInvocation) - Method in interface org.spockframework.runtime.extension.IMethodInterceptor
-
- interceptCleanupMethod(IMethodInvocation) - Method in class org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- interceptCleanupSpecMethod(IMethodInvocation) - Method in class org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- interceptDataProcessorMethod(IMethodInvocation) - Method in class org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- interceptDataProviderMethod(IMethodInvocation) - Method in class org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- interceptFeatureExecution(IMethodInvocation) - Method in class org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- interceptFeatureMethod(IMethodInvocation) - Method in class org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- interceptInitializerMethod(IMethodInvocation) - Method in class org.spockframework.guice.GuiceInterceptor
-
- interceptInitializerMethod(IMethodInvocation) - Method in class org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- interceptIterationExecution(IMethodInvocation) - Method in class org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- interceptSetupMethod(IMethodInvocation) - Method in class org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- interceptSetupSpecMethod(IMethodInvocation) - Method in class org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- interceptSharedInitializerMethod(IMethodInvocation) - Method in class org.spockframework.guice.GuiceInterceptor
-
- interceptSharedInitializerMethod(IMethodInvocation) - Method in class org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- interceptSpecExecution(IMethodInvocation) - Method in class org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- InternalIdentifiers - Class in org.spockframework.util
-
Internal identifiers in generated byte code.
- InternalIdentifiers() - Constructor for class org.spockframework.util.InternalIdentifiers
-
- InternalSpockError - Error in org.spockframework.util
-
- InternalSpockError() - Constructor for error org.spockframework.util.InternalSpockError
-
- InternalSpockError(Throwable) - Constructor for error org.spockframework.util.InternalSpockError
-
- InternalSpockError(String) - Constructor for error org.spockframework.util.InternalSpockError
-
- InternalSpockError(String, Throwable) - Constructor for error org.spockframework.util.InternalSpockError
-
- invalidFieldType(FieldInfo) - Method in class org.spockframework.runtime.extension.builtin.AbstractRuleExtension
-
- InvalidSpecCompileException - Exception in org.spockframework.compiler
-
Indicates that a spec was found to contain a (syntactic or semantic)
error during compilation.
- InvalidSpecCompileException(int, int, String, Object...) - Constructor for exception org.spockframework.compiler.InvalidSpecCompileException
-
- InvalidSpecCompileException(ASTNode, String, Object...) - Constructor for exception org.spockframework.compiler.InvalidSpecCompileException
-
- InvalidSpecException - Exception in org.spockframework.runtime
-
Indicates that a Spec has done something it is not supposed to do.
- InvalidSpecException(String) - Constructor for exception org.spockframework.runtime.InvalidSpecException
-
- InvalidSpecException(String, Throwable) - Constructor for exception org.spockframework.runtime.InvalidSpecException
-
- invoke(Object, Method, Object[]) - Method in class org.spockframework.mock.runtime.DynamicProxyMockInterceptorAdapter
-
- invokeClosure(Closure, Object...) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
Note: This method may throw checked exceptions although it doesn't say so.
- invokeConstructor(Object[]) - Method in class org.spockframework.mock.runtime.GroovyMockMetaClass
-
- invokeConstructor(Class<?>, Object...) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
Note: This method may throw checked exceptions although it doesn't say so.
- invokeMethod(String, Object) - Method in class org.spockframework.builder.DelegatingScript
-
- invokeMethod(String, Object[]) - Method in interface org.spockframework.builder.IGestalt
-
- invokeMethod(String, Object[]) - Method in class org.spockframework.builder.PojoGestalt
-
- invokeMethod(String, Object) - Method in class org.spockframework.builder.Sculpturer
-
- invokeMethod(String, Object[]) - Method in class org.spockframework.builder.SpockConfigurationGestalt
-
- invokeMethod(Object, String, Object[]) - Method in class org.spockframework.mock.runtime.GroovyMockMetaClass
-
- invokeMethod(Object, String, Object...) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
Note: This method may throw checked exceptions although it doesn't say so.
- invokeMethod(Object, Method, Object...) - Static method in class org.spockframework.util.ReflectionUtil
-
- invokeMethodNullSafe(Object, String, Object...) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
- invokeMethodQuietly(Object, String, Object...) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
- invokeRaw(Object, MethodInfo, Object...) - Method in class org.spockframework.runtime.BaseSpecRunner
-
- invokeStaticMethod(Object, String, Object[]) - Method in class org.spockframework.mock.runtime.GroovyMockMetaClass
-
- invokeTargetMethod() - Method in class org.spockframework.runtime.extension.MethodInvocation
-
- IObjectRenderer<T> - Interface in org.spockframework.runtime.condition
-
- IObjectRendererService - Interface in org.spockframework.runtime.condition
-
- IoUtil - Class in org.spockframework.util
-
- IoUtil() - Constructor for class org.spockframework.util.IoUtil
-
- IProxyBasedMockInterceptor - Interface in org.spockframework.mock.runtime
-
- IResponseGenerator - Interface in org.spockframework.mock
-
Generates responses to mock invocations.
- IRewriteResources - Interface in org.spockframework.compiler
-
- IRunListener - Interface in org.spockframework.runtime
-
Listens to a spec run.
- IRunSupervisor - Interface in org.spockframework.runtime
-
- isAnnotationPresent(Class<? extends Annotation>) - Method in class org.spockframework.runtime.model.FieldInfo
-
- isAnnotationPresent(AnnotatedElement, String) - Static method in class org.spockframework.util.ReflectionUtil
-
- isAtEndOfCycle() - Method in interface org.spockframework.mock.IChainableResponseGenerator
-
- isAtEndOfCycle() - Method in class org.spockframework.mock.response.IterableResponseGenerator
-
- isAtEndOfCycle() - Method in class org.spockframework.mock.response.SingleResponseGenerator
-
- isBottomSpec() - Method in class org.spockframework.runtime.model.SpecInfo
-
- isClassAvailable(String) - Static method in class org.spockframework.util.ReflectionUtil
-
- isCleanupMethod() - Method in enum org.spockframework.runtime.model.MethodKind
-
- isCompatibleGroovyVersion(VersionNumber) - Static method in class org.spockframework.util.SpockReleaseInfo
-
- isConditionBlock() - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isConditionBlock() - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isConditionBlock() - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isConditionBlock(MethodCallExpression) - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isConditionFound() - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
-
- isEmpty() - Method in class org.spockframework.mock.response.ResponseGeneratorChain
-
- isEmpty() - Method in class org.spockframework.util.AbstractMultiset
-
- isEmpty() - Method in class spock.config.IncludeExcludeCriteria
-
- isEqualityComparison() - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- isEqualityComparison(Class<?>...) - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- isExceptionCondition() - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isExceptionCondition(MethodCallExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isExceptionCondition() - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isExceptionCondition(MethodCallExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isExceptionCondition() - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isExceptionCondition(MethodCallExpression) - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isExceptionConditionFound() - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
-
- isExcluded() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- isExcluded() - Method in interface org.spockframework.runtime.model.IExcludable
-
- isExcluded() - Method in class org.spockframework.runtime.model.SpecInfo
-
- isExhausted() - Method in interface org.spockframework.mock.IMockInteraction
-
- isExhausted() - Method in class org.spockframework.mock.runtime.MockInteraction
-
- isExhausted() - Method in class org.spockframework.mock.runtime.MockInteractionDecorator
-
- isFeatureMethodName(String) - Static method in class org.spockframework.util.InternalIdentifiers
-
- isFeatureScopedFixtureMethod() - Method in enum org.spockframework.runtime.model.MethodKind
-
- isFirst() - Method in class org.spockframework.compiler.model.Block
-
- isFirstInChain() - Method in class org.spockframework.compiler.model.Block
-
- isFixtureMethod() - Method in enum org.spockframework.runtime.model.MethodKind
-
- isGlobal() - Method in interface org.spockframework.mock.IMockConfiguration
-
Tells whether a mock object stands in for all objects of the mocked type, or just for itself.
- isGlobal() - Method in class org.spockframework.mock.runtime.MockConfiguration
-
- isImplicitCondition(Statement) - Static method in class org.spockframework.compiler.DeepBlockRewriter
-
- isInitializerOrFixtureMethod(String, String) - Method in interface org.spockframework.runtime.IMethodNameMapper
-
- isInitializerOrFixtureMethod(String, String) - Method in class org.spockframework.runtime.model.SpecInfo
-
- isInteractionCall() - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isInteractionCall(MethodCallExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isInteractionCall() - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isInteractionCall(MethodCallExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isInteractionCall() - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isInteractionCall(MethodCallExpression) - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isInvocationWithImplicitThis(Expression) - Static method in class org.spockframework.compiler.AstUtil
-
- isJavaIdentifier(String) - Static method in class org.spockframework.compiler.AstUtil
-
- isJointCompiled(ClassNode) - Static method in class org.spockframework.compiler.AstUtil
-
- ISkippable - Interface in org.spockframework.runtime.model
-
- isLast() - Method in class org.spockframework.compiler.model.Block
-
- ISlot - Interface in org.spockframework.builder
-
- ISlotFactory - Interface in org.spockframework.builder
-
- isMatch(Statement) - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isMatch(ClosureExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isMatch(Statement) - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isMatch(ClosureExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isMatch(Statement) - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isMatch(ClosureExpression) - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isMatcher(Object) - Static method in class org.spockframework.runtime.HamcrestFacade
-
- isMethodAvailable(String, String) - Static method in class org.spockframework.util.ReflectionUtil
-
- isMethodName(String) - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isMethodName(String) - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isMethodName(String) - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isMock(Object) - Method in class org.spockframework.mock.MockDetector
-
Tells whether the given object is a (Spock) mock object.
- isOldCall() - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isOldCall(MethodCallExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isOldCall() - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isOldCall(MethodCallExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isOldCall() - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isOldCall(MethodCallExpression) - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isOneOfMethodNames(Collection<String>) - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isOneOfMethodNames(Collection<String>) - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isOneOfMethodNames(Collection<String>) - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isParameterized() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- ISpecialMethodCall - Interface in org.spockframework.compiler
-
- ISpecificationContext - Interface in org.spockframework.lang
-
- ISpecVisitor - Interface in org.spockframework.compiler.model
-
- isPhysicalMethod(MetaMethod, Class<?>) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
Tells whether the specified method is declared (in byte code) in the specified target class
or one of its superclasses.
- ISpockMockObject - Interface in org.spockframework.mock
-
Marker-like interface implemented by all mock objects that allows
MockDetector
to detect mock objects.
- isReadable(MetaProperty) - Static method in class org.spockframework.util.MopUtil
-
- isRelevant() - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- isReportIterations() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- isRequired() - Method in interface org.spockframework.mock.IMockInteraction
-
- isRequired() - Method in class org.spockframework.mock.runtime.MockInteraction
-
- isRequired() - Method in class org.spockframework.mock.runtime.MockInteractionDecorator
-
- isRunnableSpec(File) - Method in class org.spockframework.buildsupport.SpecClassFileFinder
-
- isRunnableSpec(Class<?>) - Static method in class org.spockframework.runtime.SpecUtil
-
- isSatisfied() - Method in interface org.spockframework.mock.IMockInteraction
-
- isSatisfied() - Method in class org.spockframework.mock.runtime.MockInteraction
-
- isSatisfied() - Method in class org.spockframework.mock.runtime.MockInteractionDecorator
-
- isSatisfiedBy(Object) - Method in class org.spockframework.mock.constraint.CodeArgumentConstraint
-
- isSatisfiedBy(Object) - Method in class org.spockframework.mock.constraint.EqualArgumentConstraint
-
- isSatisfiedBy(IMockInvocation) - Method in class org.spockframework.mock.constraint.EqualMethodNameConstraint
-
- isSatisfiedBy(IMockInvocation) - Method in class org.spockframework.mock.constraint.EqualPropertyNameConstraint
-
- isSatisfiedBy(IMockInvocation) - Method in class org.spockframework.mock.constraint.NamedArgumentListConstraint
-
- isSatisfiedBy(Object) - Method in class org.spockframework.mock.constraint.NegatingArgumentConstraint
-
- isSatisfiedBy(IMockInvocation) - Method in class org.spockframework.mock.constraint.PositionalArgumentListConstraint
-
- isSatisfiedBy(IMockInvocation) - Method in class org.spockframework.mock.constraint.RegexMethodNameConstraint
-
- isSatisfiedBy(IMockInvocation) - Method in class org.spockframework.mock.constraint.RegexPropertyNameConstraint
-
- isSatisfiedBy(Object) - Method in class org.spockframework.mock.constraint.SpreadWildcardArgumentConstraint
-
- isSatisfiedBy(IMockInvocation) - Method in class org.spockframework.mock.constraint.TargetConstraint
-
- isSatisfiedBy(Object) - Method in class org.spockframework.mock.constraint.TypeArgumentConstraint
-
- isSatisfiedBy(Object) - Method in class org.spockframework.mock.constraint.WildcardArgumentConstraint
-
- isSatisfiedBy(IMockInvocation) - Method in class org.spockframework.mock.constraint.WildcardMethodNameConstraint
-
- isSatisfiedBy(Object) - Method in interface org.spockframework.mock.IArgumentConstraint
-
- isSatisfiedBy(IMockInvocation) - Method in interface org.spockframework.mock.IInvocationConstraint
-
- isSelected(File, String, File) - Method in class org.spockframework.buildsupport.ant.SpecClassFileSelector
-
- isSetupMethod() - Method in enum org.spockframework.runtime.model.MethodKind
-
- isShared() - Method in class org.spockframework.compiler.model.Field
-
- isShared() - Method in class org.spockframework.runtime.model.FieldInfo
-
- isSkipped() - Method in class org.spockframework.runtime.model.FeatureInfo
-
- isSkipped() - Method in interface org.spockframework.runtime.model.ISkippable
-
- isSkipped() - Method in class org.spockframework.runtime.model.SpecInfo
-
- isSpec(Class<?>) - Static method in class org.spockframework.runtime.SpecUtil
-
Tells if the given class is a Spock specification.
- isSpecScopedFixtureMethod() - Method in enum org.spockframework.runtime.model.MethodKind
-
- isStatic() - Method in interface org.spockframework.mock.IMockMethod
-
Tells whether the method is static or an instance method.
- isStatic() - Method in class org.spockframework.mock.runtime.DynamicMockMethod
-
- isStatic() - Method in class org.spockframework.mock.runtime.StaticMockMethod
-
- isStatic() - Method in class org.spockframework.runtime.model.FieldInfo
-
- isStub() - Method in class org.spockframework.runtime.model.NodeInfo
-
- Issue - Annotation Type in spock.lang
-
Indicates that a feature method or specification relates to one or more
issues in an external issue tracking system.
- isSuperExpression(Expression) - Static method in class org.spockframework.compiler.AstUtil
-
- isSuperType(Type, Type) - Static method in class org.spockframework.gentyref.GenericTypeReflector
-
Checks if the capture of subType is a subtype of superType
- isSynthetic(MethodNode) - Static method in class org.spockframework.compiler.AstUtil
-
- IStackTraceFilter - Interface in org.spockframework.runtime
-
- isTestDouble() - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isTestDouble(MethodCallExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isTestDouble() - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isTestDouble(MethodCallExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isTestDouble() - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isTestDouble(MethodCallExpression) - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isThisExpression(Expression) - Static method in class org.spockframework.compiler.AstUtil
-
- isThisOrSuperExpression(Expression) - Static method in class org.spockframework.compiler.AstUtil
-
- isThrownCall() - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isThrownCall(MethodCallExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isThrownCall() - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isThrownCall(MethodCallExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isThrownCall() - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isThrownCall(MethodCallExpression) - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isTopSpec() - Method in class org.spockframework.runtime.model.SpecInfo
-
- isTruthy(Object) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
- isUseObjenesis() - Method in interface org.spockframework.mock.IMockConfiguration
-
Tells whether the Objenesis library, if available on the class path, should be used for constructing
the mock object, rather than calling a constructor.
- isUseObjenesis() - Method in enum org.spockframework.mock.MockNature
-
Tells whether class-based mock objects should be instantiated with the Objenesis library (if available),
or by calling a real constructor.
- isUseObjenesis() - Method in class org.spockframework.mock.runtime.MockConfiguration
-
- isVerified() - Method in interface org.spockframework.mock.IMockConfiguration
-
Tells whether invocations on the mock object should be verified.
- isVerified() - Method in interface org.spockframework.mock.IMockObject
-
Tells whether this mock object supports verification of invocations.
- isVerified() - Method in enum org.spockframework.mock.MockNature
-
Tells whether method calls should be verified.
- isVerified() - Method in class org.spockframework.mock.runtime.MockConfiguration
-
- isVerified() - Method in class org.spockframework.mock.runtime.MockObject
-
- isVoidMethod(Object, String, Object...) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
- isWildcardRef(Expression) - Static method in class org.spockframework.compiler.AstUtil
-
- isWithCall() - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isWithCall(MethodCallExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
-
- isWithCall() - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isWithCall(MethodCallExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
-
- isWithCall() - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isWithCall(MethodCallExpression) - Method in class org.spockframework.compiler.SpecialMethodCall
-
- isWriteable(MetaProperty) - Static method in class org.spockframework.util.MopUtil
-
- IterableResponseGenerator - Class in org.spockframework.mock.response
-
Generates result values from an iterable object.
- IterableResponseGenerator(Object) - Constructor for class org.spockframework.mock.response.IterableResponseGenerator
-
- ITERATION - Static variable in class org.spockframework.runtime.RunStatus
-
- IterationInfo - Class in org.spockframework.runtime.model
-
Runtime information about an iteration of a feature method.
- IterationInfo(FeatureInfo, Object[], int) - Constructor for class org.spockframework.runtime.model.IterationInfo
-
- iterator() - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- iterator() - Method in class org.spockframework.util.AbstractMultiset
-
- IThrowableFunction<D,C,T extends java.lang.Throwable> - Interface in org.spockframework.util
-
A function from domain D to co-domain C that may throw a checked exception.
- SafeIterationNameProvider - Class in org.spockframework.runtime
-
- SafeIterationNameProvider(NameProvider<IterationInfo>) - Constructor for class org.spockframework.runtime.SafeIterationNameProvider
-
- saveToDisk() - Method in class org.spockframework.runtime.SpecRunHistory
-
- scope(int) - Static method in class org.spockframework.runtime.RunStatus
-
- Sculpturer - Class in org.spockframework.builder
-
Forms a gestalt from its blueprint.
- Sculpturer() - Constructor for class org.spockframework.builder.Sculpturer
-
- second() - Method in class org.spockframework.util.Pair
-
- See - Annotation Type in spock.lang
-
One or more references to external information related to a specification or feature.
- set(T) - Method in class spock.util.concurrent.BlockingVariable
-
Sets a value for this variable.
- SET_ARG_LIST_KIND - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
-
- SET_FIXED_COUNT - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
-
- SET_RANGE_COUNT - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
-
- SET_THROWN_EXCEPTION - Static variable in class org.spockframework.runtime.SpecificationContext
-
- setArgListKind(boolean) - Method in class org.spockframework.mock.runtime.InteractionBuilder
-
- setAst(A) - Method in class org.spockframework.compiler.model.Node
-
- setCleanupMethod(FixtureMethod) - Method in class org.spockframework.compiler.model.Spec
-
- setCleanupMethod(MethodInfo) - Method in class org.spockframework.runtime.model.SpecInfo
-
- setCleanupSpecMethod(FixtureMethod) - Method in class org.spockframework.compiler.model.Spec
-
- setCleanupSpecMethod(MethodInfo) - Method in class org.spockframework.runtime.model.SpecInfo
-
- setCompilePhase(CompilePhase) - Method in class org.spockframework.util.inspector.AstInspector
-
Sets the compile phase up to which compilation should proceed.
- setDataProcessorMethod(MethodInfo) - Method in class org.spockframework.runtime.model.FeatureInfo
-
- setDataProviderMethod(MethodInfo) - Method in class org.spockframework.runtime.model.DataProviderInfo
-
- setDataVariables(List<String>) - Method in class org.spockframework.runtime.model.DataProviderInfo
-
- setDeclarationOrder(int) - Method in class org.spockframework.runtime.model.FeatureInfo
-
- setDelay(double) - Method in class spock.util.concurrent.PollingConditions
-
Sets the delay (in seconds) between successive evaluations of the conditions.
- setDelegate(Object) - Method in class org.spockframework.builder.ClosureBlueprint
-
- setDelegate(Object) - Method in class org.spockframework.builder.DelegatingScriptBlueprint
-
- setDelegate(Object) - Method in interface org.spockframework.builder.IBlueprint
-
- setDescription(Description) - Method in class org.spockframework.runtime.model.NodeInfo
-
- setExcluded(boolean) - Method in class org.spockframework.runtime.model.FeatureInfo
-
- setExcluded(boolean) - Method in interface org.spockframework.runtime.model.IExcludable
-
- setExcluded(boolean) - Method in class org.spockframework.runtime.model.SpecInfo
-
- setExecutionOrder(int) - Method in class org.spockframework.runtime.model.FeatureInfo
-
- setFactor(double) - Method in class spock.util.concurrent.PollingConditions
-
Sets the factor by which the delay grows (or shrinks) after each evaluation of the conditions.
- setFeature(FeatureInfo) - Method in class org.spockframework.runtime.model.MethodInfo
-
- setFeatureMethod(MethodInfo) - Method in class org.spockframework.runtime.model.FeatureInfo
-
- setFilename(String) - Method in class org.spockframework.runtime.model.SpecInfo
-
- setFixedCount(Object) - Method in class org.spockframework.mock.runtime.InteractionBuilder
-
- setInitialDelay(double) - Method in class spock.util.concurrent.PollingConditions
-
Sets the initial delay (in seconds) before first evaluating the conditions.
- setInitializerMethod(FixtureMethod) - Method in class org.spockframework.compiler.model.Spec
-
- setInitializerMethod(MethodInfo) - Method in class org.spockframework.runtime.model.SpecInfo
-
- setInteraction(IMockInteraction) - Method in class org.spockframework.mock.constraint.TargetConstraint
-
- setInteraction(IMockInteraction) - Method in interface org.spockframework.mock.IInteractionAware
-
- setIterationInfo(IterationInfo) - Method in class org.spockframework.runtime.SpecificationContext
-
- setIterationNameProvider(NameProvider<IterationInfo>) - Method in class org.spockframework.runtime.model.FeatureInfo
-
- setKind(BlockKind) - Method in class org.spockframework.runtime.model.BlockInfo
-
- setKind(MethodKind) - Method in class org.spockframework.runtime.model.MethodInfo
-
- setLastElement(List<T>, T) - Static method in class org.spockframework.util.CollectionUtil
-
- setLine(int) - Method in class org.spockframework.runtime.model.NodeInfo
-
- setMetaClass(Object, MetaClass) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
- setMetaClass(Class<?>, MetaClass) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
- setMetadata(Object) - Method in class org.spockframework.runtime.model.NodeInfo
-
- setName(String) - Method in class org.spockframework.compiler.model.Node
-
- setName(String) - Method in class org.spockframework.runtime.model.NodeInfo
-
- setNext(Block) - Method in class org.spockframework.compiler.model.Block
-
- setOrdinal(int) - Method in class org.spockframework.runtime.model.FieldInfo
-
- setOwner(PropertyNode) - Method in class org.spockframework.compiler.model.Field
-
- setParent(P) - Method in class org.spockframework.runtime.model.NodeInfo
-
- setPrevious(Block) - Method in class org.spockframework.compiler.model.Block
-
- setProperty(String, Object) - Method in class org.spockframework.builder.DelegatingScript
-
- setProperty(String, Object) - Method in interface org.spockframework.builder.IGestalt
-
- setProperty(String, Object) - Method in class org.spockframework.builder.PojoGestalt
-
- setProperty(String, Object) - Method in class org.spockframework.builder.Sculpturer
-
- setProperty(String, Object) - Method in class org.spockframework.builder.SpockConfigurationGestalt
-
- setProperty(Object, String, Object) - Method in class org.spockframework.mock.runtime.GroovyMockMetaClass
-
- setProperty(Object, String, Object) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
Note: This method may throw checked exceptions although it doesn't say so.
- setRangeCount(Object, Object, boolean) - Method in class org.spockframework.mock.runtime.InteractionBuilder
-
- setReflection(R) - Method in class org.spockframework.runtime.model.NodeInfo
-
- setRelevant(boolean) - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- setRenderedValue(String) - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- setReportIterations(boolean) - Method in class org.spockframework.runtime.model.FeatureInfo
-
- setSetupMethod(FixtureMethod) - Method in class org.spockframework.compiler.model.Spec
-
- setSetupMethod(MethodInfo) - Method in class org.spockframework.runtime.model.SpecInfo
-
- setSetupSpecMethod(FixtureMethod) - Method in class org.spockframework.compiler.model.Spec
-
- setSetupSpecMethod(MethodInfo) - Method in class org.spockframework.runtime.model.SpecInfo
-
- setShared(boolean) - Method in class org.spockframework.compiler.model.Field
-
- setSharedInitializerMethod(FixtureMethod) - Method in class org.spockframework.compiler.model.Spec
-
- setSharedInitializerMethod(MethodInfo) - Method in class org.spockframework.runtime.model.SpecInfo
-
- setSharedInstance(Specification) - Method in class org.spockframework.runtime.SpecificationContext
-
- setSkipped(boolean) - Method in class org.spockframework.runtime.model.FeatureInfo
-
- setSkipped(boolean) - Method in interface org.spockframework.runtime.model.ISkippable
-
- setSkipped(boolean) - Method in class org.spockframework.runtime.model.SpecInfo
-
- setSubSpec(SpecInfo) - Method in class org.spockframework.runtime.model.SpecInfo
-
- setSuperSpec(SpecInfo) - Method in class org.spockframework.runtime.model.SpecInfo
-
- setterFor(MetaProperty) - Static method in class org.spockframework.util.MopUtil
-
- SetterLikeSlot - Class in org.spockframework.builder
-
- SetterLikeSlot(Object, Type, MetaMethod) - Constructor for class org.spockframework.builder.SetterLikeSlot
-
- SetterSlotFactory - Class in org.spockframework.builder
-
- SetterSlotFactory() - Constructor for class org.spockframework.builder.SetterSlotFactory
-
- setText(String) - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- setTexts(List<String>) - Method in class org.spockframework.runtime.model.BlockInfo
-
- setThrownException(Expression) - Method in class org.spockframework.compiler.SpecRewriter
-
- setThrownException(Throwable) - Method in class org.spockframework.runtime.SpecificationContext
-
- setThrowOnNodeNotFound(boolean) - Method in class org.spockframework.util.inspector.AstInspector
-
Controls whether to throw an AstInspectorException or to return null
when a getXXX() method cannot find a matching AST node.
- setTimeout(double) - Method in class spock.util.concurrent.PollingConditions
-
Sets the timeout (in seconds) until which the conditions have to be satisfied.
- SETUP - Static variable in class org.spockframework.util.Identifiers
-
- SETUP_METHOD - Static variable in class org.spockframework.util.Identifiers
-
- SETUP_SPEC_METHOD - Static variable in class org.spockframework.util.Identifiers
-
Method name identifying a fixture method that is executed before each spec.
- SetupBlock - Class in org.spockframework.compiler.model
-
AST node representing a setup-block in a feature method.
- SetupBlock(Method) - Constructor for class org.spockframework.compiler.model.SetupBlock
-
- setValue(Object) - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- setVisibility(MethodNode, int) - Static method in class org.spockframework.compiler.AstUtil
-
- setVisibility(FieldNode, int) - Static method in class org.spockframework.compiler.AstUtil
-
- Shared - Annotation Type in spock.lang
-
Indicates that a field is shared among all feature methods in a
specification.
- SHARED_INITIALIZER_METHOD - Static variable in class org.spockframework.util.InternalIdentifiers
-
- sharedInstance - Variable in class org.spockframework.runtime.BaseSpecRunner
-
- shiftVertically(int) - Method in class org.spockframework.runtime.model.ExpressionInfo
-
- shiftVertically(int) - Method in class org.spockframework.runtime.model.TextPosition
-
- shiftVertically(int) - Method in class org.spockframework.runtime.model.TextRegion
-
- SingleResponseGenerator - Class in org.spockframework.mock.response
-
- SingleResponseGenerator() - Constructor for class org.spockframework.mock.response.SingleResponseGenerator
-
- size() - Method in class org.spockframework.lang.Wildcard
-
- size() - Method in class org.spockframework.util.AbstractMultiset
-
- sneakyThrow(Throwable) - Static method in class org.spockframework.util.ExceptionUtil
-
Allows to throw an unchecked exception without declaring it in a throws clause.
- sort() - Method in class org.spockframework.runtime.condition.LineBuilder
-
- sort(Sorter) - Method in class org.spockframework.runtime.Sputnik
-
- sortFeatures(IFeatureSortOrder) - Method in class org.spockframework.runtime.model.SpecInfo
-
- sortFeatures(SpecInfo) - Method in class org.spockframework.runtime.SpecRunHistory
-
- SourceLookup - Class in org.spockframework.compiler
-
- SourceLookup(SourceUnit) - Constructor for class org.spockframework.compiler.SourceLookup
-
- Spec - Class in org.spockframework.compiler.model
-
AST node representing a Spock specification.
- Spec(ClassNode) - Constructor for class org.spockframework.compiler.model.Spec
-
- spec - Variable in class org.spockframework.runtime.BaseSpecRunner
-
- SPEC - Static variable in class org.spockframework.runtime.RunStatus
-
- SpecAnnotator - Class in org.spockframework.compiler
-
Puts all spec information required at runtime into annotations
attached to class members.
- SpecAnnotator(AstNodeCache) - Constructor for class org.spockframework.compiler.SpecAnnotator
-
- SpecClassFileFinder - Class in org.spockframework.buildsupport
-
Finds all class files below a base directory that contain a runnable spec.
- SpecClassFileFinder() - Constructor for class org.spockframework.buildsupport.SpecClassFileFinder
-
- SpecClassFileSelector - Class in org.spockframework.buildsupport.ant
-
Ant selector that selects class files containing Spock specifications.
- SpecClassFileSelector() - Constructor for class org.spockframework.buildsupport.ant.SpecClassFileSelector
-
- SpecialMethodCall - Class in org.spockframework.compiler
-
- SpecialMethodCall(String, Expression, Expression, MethodCallExpression, BinaryExpression, ClosureExpression, boolean) - Constructor for class org.spockframework.compiler.SpecialMethodCall
-
- Specification - Variable in class org.spockframework.compiler.AstNodeCache
-
- Specification - Class in spock.lang
-
Base class for Spock specifications.
- Specification() - Constructor for class spock.lang.Specification
-
- SpecificationContext - Class in org.spockframework.runtime
-
- SpecificationContext() - Constructor for class org.spockframework.runtime.SpecificationContext
-
- SpecInfo - Class in org.spockframework.runtime.model
-
Runtime information about a Spock specification.
- SpecInfo() - Constructor for class org.spockframework.runtime.model.SpecInfo
-
- SpecInfoBuilder - Class in org.spockframework.runtime
-
Builds a SpecInfo from a Class instance.
- SpecInfoBuilder(Class<?>) - Constructor for class org.spockframework.runtime.SpecInfoBuilder
-
- SpecInternals - Variable in class org.spockframework.compiler.AstNodeCache
-
- SpecInternals - Class in org.spockframework.lang
-
- SpecInternals() - Constructor for class org.spockframework.lang.SpecInternals
-
- SpecInternals_GetSpecificationContext - Variable in class org.spockframework.compiler.AstNodeCache
-
- SpecMetadata - Variable in class org.spockframework.compiler.AstNodeCache
-
- SpecMetadata - Annotation Type in org.spockframework.runtime.model
-
Internal specification metadata generated by the compiler for consumption
by the runtime.
- SpecParser - Class in org.spockframework.compiler
-
Given the abstract syntax tree of a Groovy class representing a Spock
specification, builds an object model of the specification.
- SpecParser(ErrorReporter) - Constructor for class org.spockframework.compiler.SpecParser
-
- SpecRewriter - Class in org.spockframework.compiler
-
A Spec visitor responsible for most of the rewriting of a Spec's AST.
- SpecRewriter(AstNodeCache, SourceLookup, ErrorReporter) - Constructor for class org.spockframework.compiler.SpecRewriter
-
- SpecRunHistory - Class in org.spockframework.runtime
-
- SpecRunHistory(String) - Constructor for class org.spockframework.runtime.SpecRunHistory
-
- specSkipped(SpecInfo) - Method in class org.spockframework.runtime.AbstractRunListener
-
- specSkipped(SpecInfo) - Method in interface org.spockframework.runtime.IRunListener
-
Called if a spec is skipped, for example because it is marked
with @Ignore.
- specSkipped(SpecInfo) - Method in interface org.spockframework.runtime.IRunSupervisor
-
- specSkipped(SpecInfo) - Method in class org.spockframework.runtime.JUnitSupervisor
-
- specSkipped(SpecInfo) - Method in class org.spockframework.runtime.MasterRunListener
-
- SpecUtil - Class in org.spockframework.runtime
-
Utility methods related to specifications.
- spock.config - package spock.config
-
Classes modeling Spock's configuration options.
- spock.guice - package spock.guice
-
Integration with
Guice 2/3.
- spock.lang - package spock.lang
-
The core specification language.
- spock.util.concurrent - package spock.util.concurrent
-
Utilities for testing concurrent code.
- spock.util.matcher - package spock.util.matcher
-
Utilities for using (
Hamcrest) matchers.
- spock.util.mop - package spock.util.mop
-
Utilities related to Groovy meta programming.
- SpockAssertionError - Error in org.spockframework.runtime
-
- SpockAssertionError() - Constructor for error org.spockframework.runtime.SpockAssertionError
-
- SpockAssertionError(String) - Constructor for error org.spockframework.runtime.SpockAssertionError
-
- SpockAssertionError(Throwable) - Constructor for error org.spockframework.runtime.SpockAssertionError
-
- SpockAssertionError(String, Throwable) - Constructor for error org.spockframework.runtime.SpockAssertionError
-
- SpockComparisonFailure - Error in org.spockframework.runtime
-
Thrown when a condition of the form 'expr1 == expr2' fails.
- SpockComparisonFailure(Condition, String, String) - Constructor for error org.spockframework.runtime.SpockComparisonFailure
-
- SpockConfigurationGestalt - Class in org.spockframework.builder
-
- SpockConfigurationGestalt(List<Object>, IBlueprint, List<ISlotFactory>) - Constructor for class org.spockframework.builder.SpockConfigurationGestalt
-
- SpockExecutionException - Exception in org.spockframework.runtime
-
Indicates that a problem occurred during Spec execution.
- SpockExecutionException(String) - Constructor for exception org.spockframework.runtime.SpockExecutionException
-
- SpockExecutionException(String, Throwable) - Constructor for exception org.spockframework.runtime.SpockExecutionException
-
- SpockReleaseInfo - Class in org.spockframework.util
-
- SpockReleaseInfo() - Constructor for class org.spockframework.util.SpockReleaseInfo
-
- SpockRuntime - Variable in class org.spockframework.compiler.AstNodeCache
-
- SpockRuntime - Class in org.spockframework.runtime
-
- SpockRuntime() - Constructor for class org.spockframework.runtime.SpockRuntime
-
- SpockRuntime_VerifyCondition - Variable in class org.spockframework.compiler.AstNodeCache
-
- SpockRuntime_VerifyMethodCondition - Variable in class org.spockframework.compiler.AstNodeCache
-
- SpockTimeoutError - Error in org.spockframework.runtime
-
Indicates that an operation timed out.
- SpockTimeoutError(double, String) - Constructor for error org.spockframework.runtime.SpockTimeoutError
-
- SpockTimeoutError(double, String, Throwable) - Constructor for error org.spockframework.runtime.SpockTimeoutError
-
- SpockTransform - Class in org.spockframework.compiler
-
AST transformation for rewriting Spock specifications.
- SpockTransform() - Constructor for class org.spockframework.compiler.SpockTransform
-
- SpreadWildcard - Class in org.spockframework.lang
-
- SpreadWildcardArgumentConstraint - Class in org.spockframework.mock.constraint
-
- Sputnik - Class in org.spockframework.runtime
-
A JUnit runner for Spock specifications.
- Sputnik(Class<?>) - Constructor for class org.spockframework.runtime.Sputnik
-
- SPY - Static variable in class org.spockframework.util.Identifiers
-
- Spy() - Method in class spock.lang.MockingApi
-
Creates a spy whose type and name are inferred from the left-hand side of the enclosing variable assignment.
- Spy(Map<String, Object>) - Method in class spock.lang.MockingApi
-
Creates a spy with the specified options whose type and name are inferred from the left-hand side of the
enclosing variable assignment.
- Spy(Class<T>) - Method in class spock.lang.MockingApi
-
Creates a spy with the specified type.
- Spy(Map<String, Object>, Class<T>) - Method in class spock.lang.MockingApi
-
Creates a spy with the specified options and type.
- Spy(Closure) - Method in class spock.lang.MockingApi
-
Creates a spy with the specified interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
- Spy(Map<String, Object>, Closure) - Method in class spock.lang.MockingApi
-
Creates a spy with the specified options and interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
- Spy(Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a spy with the specified type and interactions.
- Spy(Map<String, Object>, Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a spy with the specified options, type, and interactions.
- StackTraceFilter - Class in org.spockframework.runtime
-
Filters an exception's stack trace.
- StackTraceFilter(IMethodNameMapper) - Constructor for class org.spockframework.runtime.StackTraceFilter
-
- startOf(Token) - Static method in class org.spockframework.runtime.model.TextPosition
-
- startOf(ASTNode) - Static method in class org.spockframework.runtime.model.TextPosition
-
- StatementReplacingVisitorSupport - Class in org.spockframework.compiler
-
Adds the ability to replace statements.
- StatementReplacingVisitorSupport() - Constructor for class org.spockframework.compiler.StatementReplacingVisitorSupport
-
- StaticMockMethod - Class in org.spockframework.mock.runtime
-
- StaticMockMethod(Method) - Constructor for class org.spockframework.mock.runtime.StaticMockMethod
-
- Stepwise - Annotation Type in spock.lang
-
Indicates that a spec's feature methods should be run sequentially
in their declared order (even in the presence of a parallel spec runner),
always starting from the first method.
- StepwiseExtension - Class in org.spockframework.runtime.extension.builtin
-
- StepwiseExtension() - Constructor for class org.spockframework.runtime.extension.builtin.StepwiseExtension
-
- STUB - Static variable in class org.spockframework.util.Identifiers
-
- Stub() - Method in class spock.lang.MockingApi
-
Creates a stub whose type and name are inferred from the left-hand side of the enclosing variable assignment.
- Stub(Map<String, Object>) - Method in class spock.lang.MockingApi
-
Creates a stub with the specified options whose type and name are inferred from the left-hand side of the
enclosing variable assignment.
- Stub(Class<T>) - Method in class spock.lang.MockingApi
-
Creates a stub with the specified type.
- Stub(Map<String, Object>, Class<T>) - Method in class spock.lang.MockingApi
-
Creates a stub with the specified options and type.
- Stub(Closure) - Method in class spock.lang.MockingApi
-
Creates a stub with the specified interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
- Stub(Map<String, Object>, Closure) - Method in class spock.lang.MockingApi
-
Creates a stub with the specified options and interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
- Stub(Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a stub with the specified type and interactions.
- Stub(Map<String, Object>, Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a stub with the specified options, type, and interactions.
- Subject - Annotation Type in spock.lang
-
Indicates which objects/classes are the subjects of a specification.
- supervisor - Variable in class org.spockframework.runtime.BaseSpecRunner
-