Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
$
- $form(IGestalt) - Method in class org.spockframework.builder.Sculpturer
- $setDelegate(Object) - Method in class org.spockframework.builder.DelegatingScript
- $spock_get() - Method in interface org.spockframework.mock.ISpockMockObject
A
- ABORT - Static variable in class org.spockframework.runtime.RunStatus
- ABORT_ALL - Static variable in class org.spockframework.runtime.RunStatus
- ABORT_FEATURE - Static variable in class org.spockframework.runtime.RunStatus
- ABORT_ITERATION - Static variable in class org.spockframework.runtime.RunStatus
- ABORT_SPEC - Static variable in class org.spockframework.runtime.RunStatus
- AbstractAnnotationDrivenExtension<T> - Class in org.spockframework.runtime.extension
- AbstractAnnotationDrivenExtension() - Constructor for class org.spockframework.runtime.extension.AbstractAnnotationDrivenExtension
- AbstractDeepBlockRewriter - Class in org.spockframework.compiler
- AbstractDeepBlockRewriter(Block) - Constructor for class org.spockframework.compiler.AbstractDeepBlockRewriter
- AbstractExpressionConverter<T> - Class in org.spockframework.util
- AbstractExpressionConverter() - Constructor for class org.spockframework.util.AbstractExpressionConverter
- AbstractGlobalExtension - Class in org.spockframework.runtime.extension
-
Convenience base class for global extensions that allows to implement methods selectively.
- AbstractGlobalExtension() - Constructor for class org.spockframework.runtime.extension.AbstractGlobalExtension
- AbstractMethodInterceptor - Class in org.spockframework.runtime.extension
- AbstractMethodInterceptor() - Constructor for class org.spockframework.runtime.extension.AbstractMethodInterceptor
- AbstractMultiset<E> - Class in org.spockframework.util
- AbstractMultiset(Map<E, Integer>) - Constructor for class org.spockframework.util.AbstractMultiset
- AbstractRuleExtension - Class in org.spockframework.runtime.extension.builtin
- AbstractRuleExtension() - Constructor for class org.spockframework.runtime.extension.builtin.AbstractRuleExtension
- AbstractRuleInterceptor - Class in org.spockframework.runtime.extension.builtin
- AbstractRuleInterceptor(List<FieldInfo>) - Constructor for class org.spockframework.runtime.extension.builtin.AbstractRuleInterceptor
- AbstractRunListener - Class in org.spockframework.runtime
- AbstractRunListener() - Constructor for class org.spockframework.runtime.AbstractRunListener
- AbstractSpecVisitor - Class in org.spockframework.compiler
- AbstractSpecVisitor() - Constructor for class org.spockframework.compiler.AbstractSpecVisitor
- accept(ISpecVisitor) - Method in class org.spockframework.compiler.model.AnonymousBlock
- accept(ISpecVisitor) - Method in class org.spockframework.compiler.model.CleanupBlock
- accept(ISpecVisitor) - Method in class org.spockframework.compiler.model.ExpectBlock
- accept(ISpecVisitor) - Method in class org.spockframework.compiler.model.Field
- accept(ISpecVisitor) - Method in class org.spockframework.compiler.model.Method
- accept(ISpecVisitor) - Method in class org.spockframework.compiler.model.Node
- accept(ISpecVisitor) - Method in class org.spockframework.compiler.model.SetupBlock
- accept(ISpecVisitor) - Method in class org.spockframework.compiler.model.Spec
- accept(ISpecVisitor) - Method in class org.spockframework.compiler.model.ThenBlock
- accept(ISpecVisitor) - Method in class org.spockframework.compiler.model.WhenBlock
- accept(ISpecVisitor) - Method in class org.spockframework.compiler.model.WhereBlock
- accept(IMockInvocation) - Method in class org.spockframework.mock.DefaultFinalizeInteraction
- accept(IMockInvocation) - Method in interface org.spockframework.mock.IMockInteraction
- accept(IMockInvocation) - Method in class org.spockframework.mock.runtime.MockInteraction
- accept(IMockInvocation) - Method in class org.spockframework.mock.runtime.MockInteractionDecorator
- action(int) - Static method in class org.spockframework.runtime.RunStatus
- add(E) - Method in class org.spockframework.util.AbstractMultiset
- add(FieldInfo) - Method in class org.spockframework.runtime.extension.builtin.AutoCleanupInterceptor
- ADD_ARG_NAME - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- ADD_BARRIER - Static variable in class org.spockframework.mock.runtime.MockController
- ADD_CODE_ARG - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- ADD_CODE_RESPONSE - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- ADD_CONSTANT_RESPONSE - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- ADD_EQUAL_ARG - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- ADD_EQUAL_METHOD_NAME - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- ADD_EQUAL_PROPERTY_NAME - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- ADD_EQUAL_TARGET - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- ADD_INTERACTION - Static variable in class org.spockframework.mock.runtime.MockController
- ADD_ITERABLE_RESPONSE - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- ADD_REGEX_METHOD_NAME - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- ADD_REGEX_PROPERTY_NAME - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- ADD_WILDCARD_TARGET - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- addAll(Collection<? extends E>) - Method in class org.spockframework.util.AbstractMultiset
- addArgName(String) - Method in class org.spockframework.mock.runtime.InteractionBuilder
- addAttachment(Attachment) - Method in interface org.spockframework.runtime.model.IAttachmentContainer
- addAttachment(Attachment) - Method in class org.spockframework.runtime.model.SpecElementInfo
- addBarrier() - Method in class org.spockframework.mock.runtime.MockController
- addBlock(Block) - Method in class org.spockframework.compiler.model.Method
- addBlock(BlockInfo) - Method in class org.spockframework.runtime.model.FeatureInfo
- addCleanup(Runnable) - Method in class org.spockframework.runtime.model.IterationInfo
- addCleanupInterceptor(IMethodInterceptor) - Method in class org.spockframework.runtime.model.SpecInfo
- addCleanupMethod(MethodInfo) - Method in class org.spockframework.runtime.model.SpecInfo
- addCleanupSpecInterceptor(IMethodInterceptor) - Method in class org.spockframework.runtime.model.SpecInfo
- addCleanupSpecMethod(MethodInfo) - Method in class org.spockframework.runtime.model.SpecInfo
- addCodeArg(Closure) - Method in class org.spockframework.mock.runtime.InteractionBuilder
- addCodeResponse(Closure) - Method in class org.spockframework.mock.runtime.InteractionBuilder
- addConstantResponse(Object) - Method in class org.spockframework.mock.runtime.InteractionBuilder
- addDataProvider(DataProviderInfo) - Method in class org.spockframework.runtime.model.FeatureInfo
- addEqualArg(Object) - Method in class org.spockframework.mock.runtime.InteractionBuilder
- addEqualMethodName(String) - Method in class org.spockframework.mock.runtime.InteractionBuilder
- addEqualPropertyName(String) - Method in class org.spockframework.mock.runtime.InteractionBuilder
- addEqualTarget(Object) - Method in class org.spockframework.mock.runtime.InteractionBuilder
- addEvent(Runnable) - Method in class org.spockframework.runtime.AsyncRunListener
- addFeature(FeatureInfo) - Method in class org.spockframework.runtime.model.SpecInfo
- addField(FieldInfo) - Method in class org.spockframework.runtime.model.SpecInfo
- addFirst(IChainableResponseGenerator) - Method in class org.spockframework.mock.response.ResponseGeneratorChain
- addInitializerInterceptor(IMethodInterceptor) - Method in class org.spockframework.runtime.model.SpecInfo
- addInteraction(IMockInteraction) - Method in class org.spockframework.mock.DefaultJavaLangObjectInteractions
- addInteraction(IMockInteraction) - Method in interface org.spockframework.mock.IInteractionScope
- addInteraction(IMockInteraction) - Method in class org.spockframework.mock.runtime.InteractionScope
- addInteraction(IMockInteraction) - Method in class org.spockframework.mock.runtime.MockController
- addInterceptor(IMethodInterceptor) - Method in interface org.spockframework.runtime.model.IInterceptable
- addInterceptor(IMethodInterceptor) - Method in class org.spockframework.runtime.model.MethodInfo
- addInterceptor(IMethodInterceptor) - Method in class org.spockframework.runtime.model.SpecElementInfo
- addIterableResponse(Object) - Method in class org.spockframework.mock.runtime.InteractionBuilder
- addIterationInterceptor(IMethodInterceptor) - Method in class org.spockframework.runtime.model.FeatureInfo
- addLastElement(List<T>, T) - Static method in class org.spockframework.util.CollectionUtil
- addLine(Object) - Method in class org.spockframework.runtime.condition.LineBuilder
- addListener(IRunListener) - Method in class org.spockframework.runtime.model.SpecInfo
- addNewBlock(Method) - Method in enum org.spockframework.compiler.model.BlockParseInfo
- addOrderingBarrier() - Method in class org.spockframework.mock.DefaultJavaLangObjectInteractions
- addOrderingBarrier() - Method in interface org.spockframework.mock.IInteractionScope
- addOrderingBarrier() - Method in class org.spockframework.mock.runtime.InteractionScope
- addParameterName(String) - Method in class org.spockframework.runtime.model.FeatureInfo
- addRegexMethodName(String) - Method in class org.spockframework.mock.runtime.InteractionBuilder
- addRegexPropertyName(String) - Method in class org.spockframework.mock.runtime.InteractionBuilder
- addRenderer(Class<T>, IObjectRenderer<? super T>) - Method in interface org.spockframework.runtime.condition.IObjectRendererService
- addRenderer(Class<T>, IObjectRenderer<? super T>) - Method in class org.spockframework.runtime.condition.ObjectRendererService
- addSetupInterceptor(IMethodInterceptor) - Method in class org.spockframework.runtime.model.SpecInfo
- addSetupMethod(MethodInfo) - Method in class org.spockframework.runtime.model.SpecInfo
- addSetupSpecInterceptor(IMethodInterceptor) - Method in class org.spockframework.runtime.model.SpecInfo
- addSetupSpecMethod(MethodInfo) - Method in class org.spockframework.runtime.model.SpecInfo
- addSharedInitializerInterceptor(IMethodInterceptor) - Method in class org.spockframework.runtime.model.SpecInfo
- AddSlotFactory - Class in org.spockframework.builder
- AddSlotFactory() - Constructor for class org.spockframework.builder.AddSlotFactory
- addStandardStreamsListener(IStandardStreamsListener) - Method in class org.spockframework.runtime.StandardStreamsCapturer
- addTag(Tag) - Method in interface org.spockframework.runtime.model.ITaggable
-
Adds a tag to the element.
- addTag(Tag) - Method in class org.spockframework.runtime.model.SpecElementInfo
- addUnmatchedInvocation(IMockInvocation) - Method in class org.spockframework.mock.DefaultJavaLangObjectInteractions
- addUnmatchedInvocation(IMockInvocation) - Method in interface org.spockframework.mock.IInteractionScope
- addUnmatchedInvocation(IMockInvocation) - Method in class org.spockframework.mock.runtime.InteractionScope
- addWildcardParameters(Class<?>) - Static method in class org.spockframework.gentyref.GenericTypeReflector
-
Returns a type representing the class, with all type parameters the unbound wildcard ("?").
- addWildcardTarget() - Method in class org.spockframework.mock.runtime.InteractionBuilder
- afterFeature(FeatureInfo) - Method in class org.spockframework.runtime.AbstractRunListener
- afterFeature(FeatureInfo) - Method in class org.spockframework.runtime.AsyncRunListener
- afterFeature(FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.RevertMetaClassRunListener
- afterFeature(FeatureInfo) - Method in interface org.spockframework.runtime.IRunListener
-
Called after each feature of a spec.
- afterFeature(FeatureInfo) - Method in interface org.spockframework.runtime.IRunSupervisor
- afterFeature(FeatureInfo) - Method in class org.spockframework.runtime.JUnitSupervisor
- afterFeature(FeatureInfo) - Method in class org.spockframework.runtime.MasterRunListener
- afterIteration(IterationInfo) - Method in class org.spockframework.runtime.AbstractRunListener
- afterIteration(IterationInfo) - Method in class org.spockframework.runtime.AsyncRunListener
- afterIteration(IterationInfo) - Method in class org.spockframework.runtime.extension.builtin.RevertMetaClassRunListener
- afterIteration(IterationInfo) - Method in interface org.spockframework.runtime.IRunListener
-
Called after each iteration of a data-driven feature.
- afterIteration(IterationInfo) - Method in interface org.spockframework.runtime.IRunSupervisor
- afterIteration(IterationInfo) - Method in class org.spockframework.runtime.JUnitSupervisor
- afterIteration(IterationInfo) - Method in class org.spockframework.runtime.MasterRunListener
- afterSpec(SpecInfo) - Method in class org.spockframework.runtime.AbstractRunListener
- afterSpec(SpecInfo) - Method in class org.spockframework.runtime.AsyncRunListener
- afterSpec(SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.RevertMetaClassRunListener
- afterSpec(SpecInfo) - Method in interface org.spockframework.runtime.IRunListener
-
Called after a spec.
- afterSpec(SpecInfo) - Method in interface org.spockframework.runtime.IRunSupervisor
- afterSpec(SpecInfo) - Method in class org.spockframework.runtime.JUnitSupervisor
- afterSpec(SpecInfo) - Method in class org.spockframework.runtime.MasterRunListener
- ALL - Static variable in class org.spockframework.runtime.RunStatus
- and(IMatcher<? super T>...) - Static method in class org.spockframework.util.Matchers
- AND - Enum constant in enum org.spockframework.compiler.model.BlockParseInfo
- AND - Static variable in class org.spockframework.util.Identifiers
- annotations - Variable in class spock.config.IncludeExcludeCriteria
- ANONYMOUS - Enum constant in enum org.spockframework.compiler.model.BlockParseInfo
- AnonymousBlock - Class in org.spockframework.compiler.model
-
A block without a label at the beginning of a method.
- AnonymousBlock(Method) - Constructor for class org.spockframework.compiler.model.AnonymousBlock
- append(char) - Method in class org.spockframework.util.StringMessagePrintStream
- append(char) - Method in class org.spockframework.util.TeePrintStream
- append(CharSequence) - Method in class org.spockframework.util.StringMessagePrintStream
- append(CharSequence) - Method in class org.spockframework.util.TeePrintStream
- append(CharSequence, int, int) - Method in class org.spockframework.util.StringMessagePrintStream
- append(CharSequence, int, int) - Method in class org.spockframework.util.TeePrintStream
- apply(D) - Method in interface org.spockframework.util.IFunction
- apply(D) - Method in interface org.spockframework.util.IThrowableFunction
- arrayToList(Object) - Static method in class org.spockframework.util.CollectionUtil
- asArgumentArray(Object) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
Need to be careful because this converts null to an empty array.
- asArgumentList(Object) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
- asClickableFileUrl(File) - Static method in class org.spockframework.util.ConsoleUtil
- asInstance(Object, Class<T>) - Static method in class org.spockframework.util.ObjectUtil
- asIterator(Object) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
Note: This method may throw checked exceptions although it doesn't say so.
- asMock(Object) - Method in class org.spockframework.mock.MockDetector
-
Returns information about a mock object.
- Assert - Class in org.spockframework.util
-
Assertions for use within Spock code.
- Assert() - Constructor for class org.spockframework.util.Assert
- asSet(T[]) - Static method in class org.spockframework.util.CollectionUtil
- AstInspector - Class in org.spockframework.util.inspector
-
Utility class for inspecting the abstract syntax tree (AST) produced by the Groovy compiler.
- AstInspector() - Constructor for class org.spockframework.util.inspector.AstInspector
-
Constructs an AstInspector, configuring the GroovyClassLoader used underneath with default values.
- AstInspector(ClassLoader, CompilerConfiguration) - Constructor for class org.spockframework.util.inspector.AstInspector
-
Constructs an AstInspector, configuring the GroovyClassLoader used underneath with the specified parent class loader and compiler configuration.
- AstInspector(CompilePhase) - Constructor for class org.spockframework.util.inspector.AstInspector
-
Convenience constructor that calls the default constructor and additionally sets the specified compile phase.
- AstInspectorException - Exception Class in org.spockframework.util.inspector
-
Unchecked exception thrown by AstInspector when: an IOException occurs when loading a file a declaration with the specified name cannot be found an internal error occurs
- AstInspectorException(String) - Constructor for exception class org.spockframework.util.inspector.AstInspectorException
- AstInspectorException(String, Exception) - Constructor for exception class org.spockframework.util.inspector.AstInspectorException
- AstNodeCache - Class in org.spockframework.compiler
-
Provides access to frequently used AST nodes.
- AstNodeCache() - Constructor for class org.spockframework.compiler.AstNodeCache
- AstUtil - Class in org.spockframework.compiler
-
Utility methods for AST processing.
- AstUtil() - Constructor for class org.spockframework.compiler.AstUtil
- asUnwrappedArgumentArray(Object) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
- AsyncConditions - Class in spock.util.concurrent
-
Alternative to class BlockingVariable(s) that allows to evaluate conditions in a thread other than the spec runner's thread(s).
- AsyncConditions() - Constructor for class spock.util.concurrent.AsyncConditions
-
Same as AsyncConditions(1).
- AsyncConditions(int) - Constructor for class spock.util.concurrent.AsyncConditions
-
Instantiates an AsyncConditions instance with the specified number of evaluate blocks.
- AsyncRunListener - Class in org.spockframework.runtime
- AsyncRunListener(String, IRunListener) - Constructor for class org.spockframework.runtime.AsyncRunListener
- AsyncStandardStreamsListener - Class in org.spockframework.runtime
- AsyncStandardStreamsListener(String, IRunListener, IStandardStreamsListener) - Constructor for class org.spockframework.runtime.AsyncStandardStreamsListener
- Attachment - Class in org.spockframework.runtime.model
- Attachment(String, String) - Constructor for class org.spockframework.runtime.model.Attachment
- AutoCleanup - Annotation Type in spock.lang
-
Automatically cleans up the object stored in the annotated field or property at the end of its life time.
- AutoCleanupExtension - Class in org.spockframework.runtime.extension.builtin
- AutoCleanupExtension() - Constructor for class org.spockframework.runtime.extension.builtin.AutoCleanupExtension
- AutoCleanupInterceptor - Class in org.spockframework.runtime.extension.builtin
- AutoCleanupInterceptor() - Constructor for class org.spockframework.runtime.extension.builtin.AutoCleanupInterceptor
- await() - Method in class spock.util.concurrent.AsyncConditions
-
Same as
await(1). - await(double) - Method in class spock.util.concurrent.AsyncConditions
-
Waits until all evaluate blocks have completed or the specified timeout (in seconds) expires.
- await(int, TimeUnit) - Method in class spock.util.concurrent.AsyncConditions
-
Deprecated.
B
- baseClasses - Variable in class spock.config.IncludeExcludeCriteria
- BaseSpecRunner - Class in org.spockframework.runtime
-
Executes a single Spec.
- BaseSpecRunner(SpecInfo, IRunSupervisor) - Constructor for class org.spockframework.runtime.BaseSpecRunner
- beforeFeature(FeatureInfo) - Method in class org.spockframework.runtime.AbstractRunListener
- beforeFeature(FeatureInfo) - Method in class org.spockframework.runtime.AsyncRunListener
- beforeFeature(FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.RevertMetaClassRunListener
- beforeFeature(FeatureInfo) - Method in interface org.spockframework.runtime.IRunListener
-
Called before each feature of a spec.
- beforeFeature(FeatureInfo) - Method in interface org.spockframework.runtime.IRunSupervisor
- beforeFeature(FeatureInfo) - Method in class org.spockframework.runtime.JUnitSupervisor
- beforeFeature(FeatureInfo) - Method in class org.spockframework.runtime.MasterRunListener
- beforeIteration(IterationInfo) - Method in class org.spockframework.runtime.AbstractRunListener
- beforeIteration(IterationInfo) - Method in class org.spockframework.runtime.AsyncRunListener
- beforeIteration(IterationInfo) - Method in class org.spockframework.runtime.extension.builtin.RevertMetaClassRunListener
- beforeIteration(IterationInfo) - Method in interface org.spockframework.runtime.IRunListener
-
Called before each iteration of a data-driven feature.
- beforeIteration(IterationInfo) - Method in interface org.spockframework.runtime.IRunSupervisor
- beforeIteration(IterationInfo) - Method in class org.spockframework.runtime.JUnitSupervisor
- beforeIteration(IterationInfo) - Method in class org.spockframework.runtime.MasterRunListener
- beforeSpec(SpecInfo) - Method in class org.spockframework.runtime.AbstractRunListener
- beforeSpec(SpecInfo) - Method in class org.spockframework.runtime.AsyncRunListener
- beforeSpec(SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.RevertMetaClassRunListener
- beforeSpec(SpecInfo) - Method in interface org.spockframework.runtime.IRunListener
-
Called before a spec.
- beforeSpec(SpecInfo) - Method in interface org.spockframework.runtime.IRunSupervisor
- beforeSpec(SpecInfo) - Method in class org.spockframework.runtime.JUnitSupervisor
- beforeSpec(SpecInfo) - Method in class org.spockframework.runtime.MasterRunListener
- Beta - Annotation Type in org.spockframework.util
-
Indicates that the annotated element, a member of Spock's public API, is in a trial phase.
- block - Variable in class org.spockframework.compiler.AbstractDeepBlockRewriter
- Block - Class in org.spockframework.compiler.model
-
AST node representing a block in a feature method.
- Block(Method) - Constructor for class org.spockframework.compiler.model.Block
- BLOCK_LABELS - Static variable in class org.spockframework.util.Identifiers
- BlockInfo - Class in org.spockframework.runtime.model
-
Runtime information about a block in a method of a Spock specification.
- BlockInfo() - Constructor for class org.spockframework.runtime.model.BlockInfo
- BlockingVariable<T> - Class in spock.util.concurrent
-
A statically typed variable whose get() method will block until some other thread has set a value with the set() method, or a timeout expires.
- BlockingVariable() - Constructor for class spock.util.concurrent.BlockingVariable
-
Same as BlockingVariable(1).
- BlockingVariable(double) - Constructor for class spock.util.concurrent.BlockingVariable
-
Instantiates a BlockingVariable with the specified timeout in seconds.
- BlockingVariable(int, TimeUnit) - Constructor for class spock.util.concurrent.BlockingVariable
-
Deprecated.use
BlockingVariable(double)instead - BlockKind - Enum in org.spockframework.runtime.model
-
The different kind of blocks that a BlockInfo instance can represent.
- BlockKind - Variable in class org.spockframework.compiler.AstNodeCache
- BlockMetadata - Annotation Type in org.spockframework.runtime.model
-
Internal block metadata generated by the compiler for consumption by the runtime.
- BlockMetadata - Variable in class org.spockframework.compiler.AstNodeCache
- BlockParseInfo - Enum in org.spockframework.compiler.model
- blocks() - Element in annotation type org.spockframework.runtime.model.FeatureMetadata
- BLOCKS - Static variable in annotation type org.spockframework.runtime.model.FeatureMetadata
- build() - Method in class org.spockframework.mock.runtime.InteractionBuilder
- build() - Method in class org.spockframework.runtime.ExpressionInfoBuilder
- build() - Method in class org.spockframework.runtime.SpecInfoBuilder
- build(Object, Closure) - Method in class org.spockframework.builder.PojoBuilder
- build(Object, IBlueprint) - Method in class org.spockframework.builder.PojoBuilder
- build(ClassNode) - Method in class org.spockframework.compiler.SpecParser
- build(IGestalt) - Method in class org.spockframework.builder.GestaltBuilder
- build(IConfigurationRegistry, DelegatingScript) - Method in class org.spockframework.runtime.ConfigurationBuilder
- BUILD - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- BuilderHelper - Class in org.spockframework.builder
- BuilderHelper() - Constructor for class org.spockframework.builder.BuilderHelper
- BUILT_IN_METHODS - Static variable in class org.spockframework.util.Identifiers
C
- calculatePath() - Method in class org.spockframework.runtime.condition.EditDistance
- call(double, Closure<?>) - Method in class spock.util.concurrent.PollingConditions
- call(Closure<?>) - Method in class spock.util.concurrent.PollingConditions
- callRealMethod() - Method in interface org.spockframework.mock.IMockInvocation
-
Delegates this method invocation to the real object underlying this mock object, including any method arguments.
- callRealMethod() - Method in class org.spockframework.mock.runtime.DelegatingMockInvocation
- callRealMethod() - Method in class org.spockframework.mock.runtime.MockInvocation
- CallRealMethodResponse - Class in org.spockframework.mock
-
A response strategy that delegates method calls to the real object underlying the mock (if any).
- callRealMethodWithArgs(Object...) - Method in interface org.spockframework.mock.IMockInvocation
-
Delegates this method invocation to the real object underlying this mock object, replacing the original method arguments with the specified arguments.
- callRealMethodWithArgs(Object...) - Method in class org.spockframework.mock.runtime.DelegatingMockInvocation
- callRealMethodWithArgs(Object...) - Method in class org.spockframework.mock.runtime.MockInvocation
- camelCaseToConstantCase(String) - Static method in class org.spockframework.util.TextUtil
- canCreate(IMockConfiguration) - Method in interface org.spockframework.mock.IMockFactory
- canCreate(IMockConfiguration) - Method in class org.spockframework.mock.runtime.CompositeMockFactory
- canCreate(IMockConfiguration) - Method in class org.spockframework.mock.runtime.GroovyMockFactory
- canCreate(IMockConfiguration) - Method in class org.spockframework.mock.runtime.JavaMockFactory
- CannotCreateMockException - Exception Class in org.spockframework.mock
-
Thrown to indicate a problem when creating a mock object.
- CannotCreateMockException(Class<?>, String) - Constructor for exception class org.spockframework.mock.CannotCreateMockException
- CannotCreateMockException(Class<?>, String, Throwable) - Constructor for exception class org.spockframework.mock.CannotCreateMockException
- CannotCreateMockException(Class<?>, Throwable) - Constructor for exception class org.spockframework.mock.CannotCreateMockException
- CannotInvokeRealMethodException - Exception Class in org.spockframework.mock
-
Thrown to indicate that an attempt was made to delegate a method call to a real object underlying a mock, although no such underlying object exists.
- CannotInvokeRealMethodException(String) - Constructor for exception class org.spockframework.mock.CannotInvokeRealMethodException
- capitalize(String) - Static method in class org.spockframework.util.TextUtil
- capture(Type) - Static method in class org.spockframework.gentyref.GenericTypeReflector
-
Applies capture conversion to the given type.
- captureOldValue(Expression) - Method in interface org.spockframework.compiler.IRewriteResources
- captureOldValue(Expression) - Method in class org.spockframework.compiler.SpecRewriter
- CaptureType - Interface in org.spockframework.gentyref
-
CaptureType represents a wildcard that has gone through capture conversion.
- CglibMockInterceptorAdapter - Class in org.spockframework.mock.runtime
- CglibMockInterceptorAdapter(IProxyBasedMockInterceptor) - Constructor for class org.spockframework.mock.runtime.CglibMockInterceptorAdapter
- CglibRealMethodInvoker - Class in org.spockframework.mock.runtime
- CglibRealMethodInvoker(MethodProxy) - Constructor for class org.spockframework.mock.runtime.CglibRealMethodInvoker
- changeIndent(String, int) - Static method in class org.spockframework.util.TextUtil
- changeIndent(List<String>, int) - Static method in class org.spockframework.util.TextUtil
- check(Expression) - Method in class org.spockframework.compiler.InstanceFieldAccessChecker
- check(Method) - Method in class org.spockframework.compiler.InstanceFieldAccessChecker
- checkError() - Method in class org.spockframework.util.TeePrintStream
- checkGroovyVersion(String) - Static method in class org.spockframework.util.VersionChecker
- checkIsInstanceField(FieldInfo) - Method in class org.spockframework.runtime.extension.builtin.AbstractRuleExtension
- checkIsRunnableSpec(Class<?>) - Static method in class org.spockframework.runtime.SpecUtil
- checkIsSharedField(FieldInfo) - Method in class org.spockframework.runtime.extension.builtin.AbstractRuleExtension
- checkIsSpec(Class<?>) - Static method in class org.spockframework.runtime.SpecUtil
-
Checks if the given class is a Spock specification (according to isSpec()), and throws an InvalidSpecException with a detailed explanation if it is not.
- classRuleClass - Static variable in class org.spockframework.runtime.extension.builtin.AbstractRuleExtension
- ClassRuleExtension - Class in org.spockframework.runtime.extension.builtin
- ClassRuleExtension() - Constructor for class org.spockframework.runtime.extension.builtin.ClassRuleExtension
- ClassRuleInterceptor - Class in org.spockframework.runtime.extension.builtin
- ClassRuleInterceptor(List<FieldInfo>) - Constructor for class org.spockframework.runtime.extension.builtin.ClassRuleInterceptor
- Cleaning up multiple objects - Search tag in annotation type spock.lang.AutoCleanup
- Section
- CLEANUP - Enum constant in enum org.spockframework.compiler.model.BlockParseInfo
- CLEANUP - Enum constant in enum org.spockframework.runtime.model.BlockKind
- CLEANUP - Enum constant in enum org.spockframework.runtime.model.MethodKind
- CLEANUP - Static variable in class org.spockframework.util.Identifiers
-
Label name identifying a cleanup-block.
- CLEANUP_METHOD - Static variable in class org.spockframework.util.Identifiers
- CLEANUP_SPEC - Enum constant in enum org.spockframework.runtime.model.MethodKind
- CLEANUP_SPEC_METHOD - Static variable in class org.spockframework.util.Identifiers
-
Method name identifying a fixture method that is executed after each spec.
- CleanupBlock - Class in org.spockframework.compiler.model
-
AST node representing a cleanup-block in a feature method.
- CleanupBlock(Method) - Constructor for class org.spockframework.compiler.model.CleanupBlock
- clear() - Method in class org.spockframework.util.AbstractMultiset
- clearError() - Method in class org.spockframework.util.TeePrintStream
- close() - Method in class org.spockframework.compiler.SourceLookup
- close() - Method in class org.spockframework.util.TeePrintStream
- closeQuietly(Closeable...) - Static method in class org.spockframework.util.IoUtil
- closeQuietly(Socket...) - Static method in class org.spockframework.util.IoUtil
- ClosureBlueprint - Class in org.spockframework.builder
- ClosureBlueprint(Closure, Object) - Constructor for class org.spockframework.builder.ClosureBlueprint
- CodeArgumentConstraint - Class in org.spockframework.mock.constraint
- CodeArgumentConstraint(Closure) - Constructor for class org.spockframework.mock.constraint.CodeArgumentConstraint
- CodeResponseGenerator - Class in org.spockframework.mock.response
- CodeResponseGenerator(Closure) - Constructor for class org.spockframework.mock.response.CodeResponseGenerator
- coerce(Object, Class<? extends T>...) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
- coerce(Object, Class<T>) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
- collectFeatureData(FeatureInfo, long, boolean) - Method in class org.spockframework.runtime.SpecRunHistory
- CollectionSlot - Class in org.spockframework.builder
- CollectionSlotFactory - Class in org.spockframework.builder
- CollectionSlotFactory() - Constructor for class org.spockframework.builder.CollectionSlotFactory
- CollectionUtil - Class in org.spockframework.util
- CollectionUtil() - Constructor for class org.spockframework.util.CollectionUtil
- collectSpecData(SpecInfo, long) - Method in class org.spockframework.runtime.SpecRunHistory
- combine(int, int) - Static method in class org.spockframework.runtime.RunStatus
-
Combines status1 and status2 by individually maximizing action and scope.
- compare(FeatureInfo, FeatureInfo) - Method in class org.spockframework.runtime.JUnitSorterAdapter
- compare(T, T) - Static method in class org.spockframework.util.ObjectUtil
- compareTo(TextPosition) - Method in class org.spockframework.runtime.model.TextPosition
- compareTo(SpecRunHistory) - Method in class org.spockframework.runtime.SpecRunHistory
- compareTo(VersionNumber) - Method in class org.spockframework.util.VersionNumber
- CompositeMockFactory - Class in org.spockframework.mock.runtime
- CompositeMockFactory(List<IMockFactory>) - Constructor for class org.spockframework.mock.runtime.CompositeMockFactory
- computeSimilarityScore(IMockInvocation) - Method in class org.spockframework.mock.DefaultFinalizeInteraction
- computeSimilarityScore(IMockInvocation) - Method in interface org.spockframework.mock.IMockInteraction
- computeSimilarityScore(IMockInvocation) - Method in class org.spockframework.mock.runtime.MockInteraction
- computeSimilarityScore(IMockInvocation) - Method in class org.spockframework.mock.runtime.MockInteractionDecorator
- concat(Iterable<? extends T>...) - Static method in class org.spockframework.util.CollectionUtil
- concat(List<Iterable<? extends T>>) - Static method in class org.spockframework.util.CollectionUtil
- Condition - Class in org.spockframework.runtime
-
Runtime representation of an evaluated condition.
- Condition(Iterable<Object>, String, TextPosition, String) - Constructor for class org.spockframework.runtime.Condition
- ConditionBlock - Annotation Type in org.spockframework.lang
-
Indicates that the closure argument(s) of the annotated method are code blocks containing conditions, allowing to leave off the assert keyword.
- conditionFound - Variable in class org.spockframework.compiler.AbstractDeepBlockRewriter
- ConditionNotSatisfiedError - Exception Class in org.spockframework.runtime
- ConditionNotSatisfiedError(Condition) - Constructor for exception class org.spockframework.runtime.ConditionNotSatisfiedError
- ConditionRewriter - Class in org.spockframework.compiler
-
Rewrites explicit ("assert x > 3") and implicit ("x > 3") condition statements.
- ConfigurationBuilder - Class in org.spockframework.runtime
- ConfigurationBuilder() - Constructor for class org.spockframework.runtime.ConfigurationBuilder
- ConfigurationException - Exception Class in spock.config
-
Thrown to indicate that there is a problem with Spock's configuration (file).
- ConfigurationException(String, Object...) - Constructor for exception class spock.config.ConfigurationException
- ConfigurationException(String, Throwable, Object...) - Constructor for exception class spock.config.ConfigurationException
- ConfigurationObject - Annotation Type in spock.config
- ConfigurationScriptLoader - Class in org.spockframework.runtime
- ConfigurationScriptLoader(File) - Constructor for class org.spockframework.runtime.ConfigurationScriptLoader
- configureExtension(Object) - Method in class org.spockframework.runtime.GlobalExtensionRegistry
- configureExtension(Object) - Method in interface org.spockframework.runtime.IConfigurationRegistry
- ConfineMetaClassChanges - Annotation Type in spock.util.mop
-
Confines any changes made to the meta classes of the specified classes to the annotated scope.
- ConfineMetaClassChangesExtension - Class in org.spockframework.runtime.extension.builtin
- ConfineMetaClassChangesExtension() - Constructor for class org.spockframework.runtime.extension.builtin.ConfineMetaClassChangesExtension
- ConfineMetaClassChangesInterceptor - Class in org.spockframework.runtime.extension.builtin
- ConfineMetaClassChangesInterceptor(Collection<Class<?>>) - Constructor for class org.spockframework.runtime.extension.builtin.ConfineMetaClassChangesInterceptor
- ConsoleUtil - Class in org.spockframework.util
- ConsoleUtil() - Constructor for class org.spockframework.util.ConsoleUtil
- ConstantResponseGenerator - Class in org.spockframework.mock.response
- ConstantResponseGenerator(Object) - Constructor for class org.spockframework.mock.response.ConstantResponseGenerator
- contains(Object) - Method in class org.spockframework.util.AbstractMultiset
- contains(TextPosition) - Method in class org.spockframework.runtime.model.TextRegion
- containsAll(Collection<?>) - Method in class org.spockframework.util.AbstractMultiset
- containsAny(Iterable<?>, Object...) - Static method in class org.spockframework.util.CollectionUtil
- convert(Expression) - Method in class org.spockframework.util.AbstractExpressionConverter
- convertAll(List<? extends Expression>) - Method in class org.spockframework.util.AbstractExpressionConverter
- copyArray(Object[], int, int) - Static method in class org.spockframework.util.CollectionUtil
-
(Partial) replacement for Arrays.copyOfRange, which is only available in JDK6.
- copyFile(File, File) - Static method in class org.spockframework.util.IoUtil
- copySourcePosition(ASTNode, ASTNode) - Static method in class org.spockframework.compiler.AstUtil
- copyStream(InputStream, OutputStream) - Static method in class org.spockframework.util.IoUtil
- count(E) - Method in class org.spockframework.util.AbstractMultiset
- count(E) - Method in interface org.spockframework.util.IMultiset
- countOccurrences(String, char) - Static method in class org.spockframework.util.TextUtil
- create(int, int) - Static method in class org.spockframework.runtime.model.TextPosition
- create(Class<?>, List<Class<?>>, List<Object>, IProxyBasedMockInterceptor, ClassLoader, boolean) - Method in class org.spockframework.mock.runtime.ProxyBasedMockFactory
- create(Object, Type, String) - Method in class org.spockframework.builder.AddSlotFactory
- create(Object, Type, String) - Method in class org.spockframework.builder.CollectionSlotFactory
- create(Object, Type, String) - Method in interface org.spockframework.builder.ISlotFactory
- create(Object, Type, String) - Method in class org.spockframework.builder.SetterSlotFactory
- create(IMockConfiguration, Specification) - Method in interface org.spockframework.mock.IMockFactory
- create(IMockConfiguration, Specification) - Method in class org.spockframework.mock.runtime.CompositeMockFactory
- create(IMockConfiguration, Specification) - Method in class org.spockframework.mock.runtime.GroovyMockFactory
- create(IMockConfiguration, Specification) - Method in class org.spockframework.mock.runtime.JavaMockFactory
- create(TextPosition, TextPosition) - Static method in class org.spockframework.runtime.model.TextRegion
- create(IMatcher<T>) - Static method in class org.spockframework.util.Filter
- createBaseStatement(IMethodInvocation) - Method in class org.spockframework.runtime.extension.builtin.AbstractRuleInterceptor
- createDirectMethodCall(Expression, MethodNode, Expression) - Static method in class org.spockframework.compiler.AstUtil
- createDirectory(File) - Static method in class org.spockframework.util.IoUtil
- createExtensionRunner(SpecInfo) - Method in class org.spockframework.runtime.RunContext
- createInstance(Class, Object...) - Static method in class org.spockframework.builder.BuilderHelper
- createMock(String, Type, MockNature, MockImplementation, Map<String, Object>, Closure) - Method in class org.spockframework.lang.SpecInternals
- createSpecRunner(SpecInfo, RunNotifier) - Method in class org.spockframework.runtime.RunContext
- currBinaryExpr - Variable in class org.spockframework.compiler.AbstractDeepBlockRewriter
- currClosure - Variable in class org.spockframework.compiler.AbstractDeepBlockRewriter
- currentFeature - Variable in class org.spockframework.runtime.BaseSpecRunner
- currentInstance - Variable in class org.spockframework.runtime.BaseSpecRunner
- currentIteration - Variable in class org.spockframework.runtime.BaseSpecRunner
- currExprStat - Variable in class org.spockframework.compiler.AbstractDeepBlockRewriter
- currMethodCallExpr - Variable in class org.spockframework.compiler.AbstractDeepBlockRewriter
- currSpecialMethodCall - Variable in class org.spockframework.compiler.AbstractDeepBlockRewriter
- currTopLevelStat - Variable in class org.spockframework.compiler.AbstractDeepBlockRewriter
- Customizing how cleanup is performed - Search tag in annotation type spock.lang.AutoCleanup
- Section
D
- DATA_PROCESSOR - Enum constant in enum org.spockframework.runtime.model.MethodKind
- DATA_PROVIDER - Enum constant in enum org.spockframework.runtime.model.MethodKind
- DATA_VARIABLES - Static variable in annotation type org.spockframework.runtime.model.DataProviderMetadata
- DataProviderInfo - Class in org.spockframework.runtime.model
-
Internal metadata about a data provider from which the runtime model is built.
- DataProviderInfo() - Constructor for class org.spockframework.runtime.model.DataProviderInfo
- DataProviderMetadata - Annotation Type in org.spockframework.runtime.model
- DataProviderMetadata - Variable in class org.spockframework.compiler.AstNodeCache
- dataVariables() - Element in annotation type org.spockframework.runtime.model.DataProviderMetadata
- decorated - Variable in class org.spockframework.mock.runtime.MockInteractionDecorator
- DeepBlockRewriter - Class in org.spockframework.compiler
-
Walks the statement and expression tree to: - rewrite explicit conditions, - rewrite interactions, - rewrite core language primitives (members of class Specification) - Forbid Also records whether conditions and interactions were found.
- DeepBlockRewriter(IRewriteResources) - Constructor for class org.spockframework.compiler.DeepBlockRewriter
- DefaultFinalizeInteraction - Class in org.spockframework.mock
- DefaultJavaLangObjectInteractions - Class in org.spockframework.mock
- DefaultResponseGenerator - Class in org.spockframework.mock.response
- DefaultResponseGenerator() - Constructor for class org.spockframework.mock.response.DefaultResponseGenerator
- defineValueRecorder(List<Statement>) - Method in interface org.spockframework.compiler.IRewriteResources
- defineValueRecorder(List<Statement>) - Method in class org.spockframework.compiler.SpecRewriter
- DelegatingMockInvocation - Class in org.spockframework.mock.runtime
- DelegatingMockInvocation(IMockInvocation) - Constructor for class org.spockframework.mock.runtime.DelegatingMockInvocation
- DelegatingScript - Class in org.spockframework.builder
- DelegatingScript() - Constructor for class org.spockframework.builder.DelegatingScript
- DelegatingScriptBlueprint - Class in org.spockframework.builder
- DelegatingScriptBlueprint(DelegatingScript) - Constructor for class org.spockframework.builder.DelegatingScriptBlueprint
- DELETE - Enum constant in enum org.spockframework.runtime.condition.EditOperation.Kind
- deleteMethod(ClassNode, MethodNode) - Static method in class org.spockframework.compiler.AstUtil
- describeSpec() - Method in class org.spockframework.runtime.JUnitDescriptionGenerator
- describeSpecMethods() - Method in class org.spockframework.runtime.JUnitDescriptionGenerator
- DESPREAD_LIST - Static variable in class org.spockframework.runtime.SpockRuntime
- despreadList(Object[], Object[], int[]) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
- despreadList(Object[], Object[], int[]) - Static method in class org.spockframework.runtime.SpockRuntime
- DiffedArrayRenderer - Class in org.spockframework.runtime.condition
- DiffedArrayRenderer() - Constructor for class org.spockframework.runtime.condition.DiffedArrayRenderer
- DiffedCollectionRenderer - Class in org.spockframework.runtime.condition
- DiffedCollectionRenderer() - Constructor for class org.spockframework.runtime.condition.DiffedCollectionRenderer
- DiffedMapRenderer - Class in org.spockframework.runtime.condition
- DiffedMapRenderer(boolean) - Constructor for class org.spockframework.runtime.condition.DiffedMapRenderer
- DiffedObjectAsBeanRenderer - Class in org.spockframework.runtime.condition
- DiffedObjectAsBeanRenderer() - Constructor for class org.spockframework.runtime.condition.DiffedObjectAsBeanRenderer
- DiffedObjectAsStringRenderer - Class in org.spockframework.runtime.condition
- DiffedObjectAsStringRenderer() - Constructor for class org.spockframework.runtime.condition.DiffedObjectAsStringRenderer
- DiffedSetRenderer - Class in org.spockframework.runtime.condition
- DiffedSetRenderer(boolean) - Constructor for class org.spockframework.runtime.condition.DiffedSetRenderer
- doRespond(IMockInvocation) - Method in class org.spockframework.mock.response.CodeResponseGenerator
- doRespond(IMockInvocation) - Method in class org.spockframework.mock.response.ConstantResponseGenerator
- doRespond(IMockInvocation) - Method in class org.spockframework.mock.response.SingleResponseGenerator
- doRespond(IMockInvocation) - Method in class org.spockframework.mock.response.WildcardResponseGenerator
- doRunCleanup(SpecInfo) - Method in class org.spockframework.runtime.BaseSpecRunner
- doRunCleanupSpec(SpecInfo) - Method in class org.spockframework.runtime.BaseSpecRunner
- doRunFeature() - Method in class org.spockframework.runtime.BaseSpecRunner
- doRunInitializer(SpecInfo) - Method in class org.spockframework.runtime.BaseSpecRunner
- doRunIteration() - Method in class org.spockframework.runtime.BaseSpecRunner
- doRunSetup(SpecInfo) - Method in class org.spockframework.runtime.BaseSpecRunner
- doRunSetupSpec(SpecInfo) - Method in class org.spockframework.runtime.BaseSpecRunner
- doRunSharedInitializer(SpecInfo) - Method in class org.spockframework.runtime.BaseSpecRunner
- doRunSpec() - Method in class org.spockframework.runtime.BaseSpecRunner
- doVisitBinaryExpression(BinaryExpression) - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
- doVisitClosureExpression(ClosureExpression) - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
- doVisitClosureExpression(ClosureExpression) - Method in class org.spockframework.compiler.DeepBlockRewriter
- doVisitExpressionStatement(ExpressionStatement) - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
- doVisitExpressionStatement(ExpressionStatement) - Method in class org.spockframework.compiler.DeepBlockRewriter
- doVisitMethodCallExpression(MethodCallExpression) - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
- doVisitMethodCallExpression(MethodCallExpression) - Method in class org.spockframework.compiler.DeepBlockRewriter
- DummyStackTraceFilter - Class in org.spockframework.runtime
- DummyStackTraceFilter() - Constructor for class org.spockframework.runtime.DummyStackTraceFilter
- DynamicMockMethod - Class in org.spockframework.mock.runtime
- DynamicMockMethod(String, int, boolean) - Constructor for class org.spockframework.mock.runtime.DynamicMockMethod
- DynamicMockMethod(String, List<Type>, Type, boolean) - Constructor for class org.spockframework.mock.runtime.DynamicMockMethod
- DynamicProxyMockInterceptorAdapter - Class in org.spockframework.mock.runtime
- DynamicProxyMockInterceptorAdapter(IProxyBasedMockInterceptor) - Constructor for class org.spockframework.mock.runtime.DynamicProxyMockInterceptorAdapter
E
- EditDistance - Class in org.spockframework.runtime.condition
-
Calculates Levenshtein distance and corresponding edit path between two character sequences.
- EditDistance(CharSequence, CharSequence) - Constructor for class org.spockframework.runtime.condition.EditDistance
- EditOperation - Class in org.spockframework.runtime.condition
- EditOperation.Kind - Enum in org.spockframework.runtime.condition
- EditPathRenderer - Class in org.spockframework.runtime.condition
- EditPathRenderer() - Constructor for class org.spockframework.runtime.condition.EditPathRenderer
- eitherNull(Object...) - Static method in class org.spockframework.util.ObjectUtil
- emitted(Map<String, Object>) - Method in interface org.spockframework.report.log.IReportLogListener
- emitted(Map<String, Object>) - Method in class org.spockframework.report.log.ReportLogClient
- emitted(Map<String, Object>) - Method in class org.spockframework.report.log.ReportLogWriter
- EMPTY_ARGS - Static variable in class org.spockframework.runtime.BaseSpecRunner
- EMPTY_ARGUMENTS - Static variable in class org.spockframework.runtime.GroovyRuntimeUtil
- EmptyOrDummyResponse - Class in org.spockframework.mock
-
A response strategy that returns zero, an "empty" object, or a "dummy" object, depending on the method's declared return type.
- enabled - Variable in class org.spockframework.report.log.ReportLogConfiguration
- END - Static variable in class org.spockframework.runtime.RunStatus
- END_ALL - Static variable in class org.spockframework.runtime.RunStatus
- END_FEATURE - Static variable in class org.spockframework.runtime.RunStatus
- END_ITERATION - Static variable in class org.spockframework.runtime.RunStatus
- END_SPEC - Static variable in class org.spockframework.runtime.RunStatus
- endOf(ASTNode) - Static method in class org.spockframework.runtime.model.TextPosition
- ENTER_SCOPE - Static variable in class org.spockframework.mock.runtime.MockController
- enterScope() - Method in class org.spockframework.mock.runtime.MockController
- entrySet() - Method in class org.spockframework.util.AbstractMultiset
- entrySet() - Method in interface org.spockframework.util.IMultiset
- EqualArgumentConstraint - Class in org.spockframework.mock.constraint
- EqualArgumentConstraint(Object) - Constructor for class org.spockframework.mock.constraint.EqualArgumentConstraint
- EqualMethodNameConstraint - Class in org.spockframework.mock.constraint
- EqualMethodNameConstraint(String) - Constructor for class org.spockframework.mock.constraint.EqualMethodNameConstraint
- EqualPropertyNameConstraint - Class in org.spockframework.mock.constraint
- EqualPropertyNameConstraint(String) - Constructor for class org.spockframework.mock.constraint.EqualPropertyNameConstraint
- equals(Object) - Method in class org.spockframework.gentyref.TypeToken
- equals(Object) - Method in class org.spockframework.mock.runtime.MockInvocation
- equals(Object) - Method in class org.spockframework.runtime.condition.EditOperation
- equals(Object) - Method in class org.spockframework.runtime.model.TextPosition
- equals(Object) - Method in class org.spockframework.runtime.model.TextRegion
- equals(Object) - Method in class org.spockframework.util.Pair
- equals(Object) - Method in class org.spockframework.util.VersionNumber
- equals(Object, Object) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
- equals(Object, Object) - Static method in class org.spockframework.util.ObjectUtil
- erase(Type) - Static method in class org.spockframework.gentyref.GenericTypeReflector
-
Returns the erasure of the given type.
- erase(String, int) - Static method in class org.spockframework.util.TextUtil
- erase(String, int, int) - Static method in class org.spockframework.util.TextUtil
- eraseTypes(List<Type>) - Static method in class org.spockframework.util.ReflectionUtil
- error(int, int, String, Object...) - Method in class org.spockframework.compiler.ErrorReporter
- error(String, Object...) - Method in class org.spockframework.compiler.ErrorReporter
- error(String, Throwable, Object...) - Method in class org.spockframework.compiler.ErrorReporter
- error(ASTNode, String, Object...) - Method in class org.spockframework.compiler.ErrorReporter
- error(InvalidSpecCompileException) - Method in class org.spockframework.compiler.ErrorReporter
- error(ErrorInfo) - Method in class org.spockframework.runtime.AbstractRunListener
- error(ErrorInfo) - Method in class org.spockframework.runtime.AsyncRunListener
- error(ErrorInfo) - Method in interface org.spockframework.runtime.IRunListener
-
Called for every error that occurs during a spec run.
- error(ErrorInfo) - Method in interface org.spockframework.runtime.IRunSupervisor
- error(ErrorInfo) - Method in class org.spockframework.runtime.JUnitSupervisor
- error(ErrorInfo) - Method in class org.spockframework.runtime.MasterRunListener
- ErrorInfo - Class in org.spockframework.runtime.model
- ErrorInfo(MethodInfo, Throwable) - Constructor for class org.spockframework.runtime.model.ErrorInfo
- ErrorReporter - Class in org.spockframework.compiler
-
Reporting facility for problems found during compilation.
- ErrorReporter(SourceUnit) - Constructor for class org.spockframework.compiler.ErrorReporter
- escape(char) - Static method in class org.spockframework.util.TextUtil
- escape(CharSequence) - Static method in class org.spockframework.util.TextUtil
- evaluate() - Method in class org.spockframework.builder.ClosureBlueprint
- evaluate() - Method in class org.spockframework.builder.DelegatingScriptBlueprint
- evaluate() - Method in interface org.spockframework.builder.IBlueprint
- evaluate(Runnable) - Method in class spock.util.concurrent.AsyncConditions
-
Evaluates the specified block, which is expected to contain one or more explicit conditions (i.e.
- eventually(Closure<?>) - Method in class spock.util.concurrent.PollingConditions
-
Repeatedly evaluates the specified conditions until they are satisfied or the timeout has elapsed.
- EXCEPTION_CONDITION_METHODS - Static variable in class org.spockframework.util.Identifiers
- ExceptionUtil - Class in org.spockframework.util
- ExceptionUtil() - Constructor for class org.spockframework.util.ExceptionUtil
- exclude - Variable in class spock.config.RunnerConfiguration
- expand() - Method in interface org.spockframework.compiler.ISpecialMethodCall
- expand() - Method in class org.spockframework.compiler.NoSpecialMethodCall
- expand() - Method in class org.spockframework.compiler.SpecialMethodCall
- expect(T, Matcher<? super T>) - Static method in class spock.util.matcher.HamcrestSupport
-
Alias for
HamcrestSupport.that(Object, org.hamcrest.Matcher)intended for use in then-blocks. - EXPECT - Enum constant in enum org.spockframework.compiler.model.BlockParseInfo
- EXPECT - Enum constant in enum org.spockframework.runtime.model.BlockKind
- EXPECT - Static variable in class org.spockframework.util.Identifiers
- ExpectBlock - Class in org.spockframework.compiler.model
- ExpectBlock(Method) - Constructor for class org.spockframework.compiler.model.ExpectBlock
- ExpressionInfo - Class in org.spockframework.runtime.model
- ExpressionInfo(TextRegion, TextPosition, String, List<ExpressionInfo>) - Constructor for class org.spockframework.runtime.model.ExpressionInfo
- ExpressionInfo(TextRegion, TextPosition, String, ExpressionInfo...) - Constructor for class org.spockframework.runtime.model.ExpressionInfo
- ExpressionInfoBuilder - Class in org.spockframework.runtime
- ExpressionInfoBuilder(String, TextPosition, Iterable<Object>) - Constructor for class org.spockframework.runtime.ExpressionInfoBuilder
- ExpressionInfoConverter - Class in org.spockframework.runtime
- ExpressionInfoConverter(String[]) - Constructor for class org.spockframework.runtime.ExpressionInfoConverter
- ExpressionInfoRenderer - Class in org.spockframework.runtime
-
Creates a string representation of an assertion and its recorded values.
- ExpressionInfoValueRenderer - Class in org.spockframework.runtime
- ExpressionReplacingVisitorSupport - Class in org.spockframework.compiler
-
Groovy AST visitor that allows to replace both statements and expressions.
- ExpressionReplacingVisitorSupport() - Constructor for class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- EXTENSION_DESCRIPTOR_PATH - Static variable in class org.spockframework.runtime.ExtensionClassesLoader
- ExtensionAnnotation - Annotation Type in org.spockframework.runtime.extension
- ExtensionClassesLoader - Class in org.spockframework.runtime
-
Scans class path for extension descriptors and loads the extension classes specified therein.
- ExtensionClassesLoader() - Constructor for class org.spockframework.runtime.ExtensionClassesLoader
- ExtensionException - Exception Class in org.spockframework.runtime.extension
- ExtensionException(String) - Constructor for exception class org.spockframework.runtime.extension.ExtensionException
- ExtensionException(String, Throwable) - Constructor for exception class org.spockframework.runtime.extension.ExtensionException
- ExtensionRunner - Class in org.spockframework.runtime
-
Runs global and local extensions for a spec.
- ExtensionRunner(SpecInfo, IExtensionRegistry, IConfigurationRegistry) - Constructor for class org.spockframework.runtime.ExtensionRunner
- ExtensionUtil - Class in org.spockframework.runtime.extension
- ExtensionUtil() - Constructor for class org.spockframework.runtime.extension.ExtensionUtil
F
- fail(String, Object...) - Static method in class org.spockframework.util.Assert
- FailingRealMethodInvoker - Class in org.spockframework.mock.runtime
- FailingRealMethodInvoker(String) - Constructor for class org.spockframework.mock.runtime.FailingRealMethodInvoker
- FailsWith - Annotation Type in spock.lang
-
Indicates that a feature method is expected to fail with the given exception.
- FailsWithExtension - Class in org.spockframework.runtime.extension.builtin
- FailsWithExtension() - Constructor for class org.spockframework.runtime.extension.builtin.FailsWithExtension
- FailsWithInterceptor - Class in org.spockframework.runtime.extension.builtin
- FailsWithInterceptor(FailsWith) - Constructor for class org.spockframework.runtime.extension.builtin.FailsWithInterceptor
- FEATURE - Enum constant in enum org.spockframework.runtime.model.MethodKind
- FEATURE - Static variable in class org.spockframework.runtime.RunStatus
- FEATURE_EXECUTION - Enum constant in enum org.spockframework.runtime.model.MethodKind
- FeatureInfo - Class in org.spockframework.runtime.model
- FeatureInfo() - Constructor for class org.spockframework.runtime.model.FeatureInfo
- FeatureMetadata - Annotation Type in org.spockframework.runtime.model
-
Internal metadata about a feature from which the runtime model is built.
- FeatureMetadata - Variable in class org.spockframework.compiler.AstNodeCache
- FeatureMethod - Class in org.spockframework.compiler.model
-
AST node representing a feature method.
- FeatureMethod(Spec, MethodNode, int) - Constructor for class org.spockframework.compiler.model.FeatureMethod
- featureSkipped(FeatureInfo) - Method in class org.spockframework.runtime.AbstractRunListener
- featureSkipped(FeatureInfo) - Method in class org.spockframework.runtime.AsyncRunListener
- featureSkipped(FeatureInfo) - Method in interface org.spockframework.runtime.IRunListener
-
Called if a feature is skipped, for example because it is marked with @Ignore.
- featureSkipped(FeatureInfo) - Method in interface org.spockframework.runtime.IRunSupervisor
- featureSkipped(FeatureInfo) - Method in class org.spockframework.runtime.JUnitSupervisor
- featureSkipped(FeatureInfo) - Method in class org.spockframework.runtime.MasterRunListener
- Field - Class in org.spockframework.compiler.model
-
AST node representing a user-defined instance field.
- Field(Spec, FieldNode, int) - Constructor for class org.spockframework.compiler.model.Field
- fieldFor(MetaProperty) - Static method in class org.spockframework.util.MopUtil
- FieldInfo - Class in org.spockframework.runtime.model
-
Runtime information about a field in a Spock specification.
- FieldInfo() - Constructor for class org.spockframework.runtime.model.FieldInfo
- FieldInitializationExpression - Class in org.spockframework.compiler
-
An assignment of the form "x = expr", where x is a field and expr is a field initializer expression.
- FieldInitializationExpression(FieldNode) - Constructor for class org.spockframework.compiler.FieldInitializationExpression
- FieldMetadata - Annotation Type in org.spockframework.runtime.model
-
Internal metadata about a field, from which the runtime model is built.
- FieldMetadata - Variable in class org.spockframework.compiler.AstNodeCache
- filename() - Element in annotation type org.spockframework.runtime.model.SpecMetadata
- FILENAME - Static variable in annotation type org.spockframework.runtime.model.SpecMetadata
- filter(Throwable) - Method in class org.spockframework.runtime.DummyStackTraceFilter
- filter(Throwable) - Method in interface org.spockframework.runtime.IStackTraceFilter
- filter(Throwable) - Method in class org.spockframework.runtime.StackTraceFilter
- filter(List<? extends T>) - Method in class org.spockframework.util.Filter
- filter(Filter) - Method in class org.spockframework.runtime.Sputnik
- Filter<T> - Class in org.spockframework.util
- filterFeatures(IFeatureFilter) - Method in class org.spockframework.runtime.model.SpecInfo
- filterInPlace(List<? extends T>) - Method in class org.spockframework.util.Filter
- filterMap(Collection<E>, IFunction<? super E, ? extends F>) - Static method in class org.spockframework.util.CollectionUtil
- filterNullValues(Map) - Static method in class org.spockframework.util.CollectionUtil
- filterStackTrace - Variable in class spock.config.RunnerConfiguration
- findIndexOf(Iterable<T>, IFunction<? super T, Boolean>) - Static method in class org.spockframework.util.CollectionUtil
- findRunnableSpecs(File) - Method in class org.spockframework.buildsupport.SpecClassFileFinder
- first() - Method in class org.spockframework.util.Pair
- FIXTURE_METHODS - Static variable in class org.spockframework.util.Identifiers
- FixtureMethod - Class in org.spockframework.compiler.model
-
AST node representing a fixture method.
- FixtureMethod(Spec, MethodNode) - Constructor for class org.spockframework.compiler.model.FixtureMethod
- fixUpLocalVariables(List<? extends Variable>, VariableScope, boolean) - Static method in class org.spockframework.compiler.AstUtil
-
Fixes up scope references to variables that used to be free or class variables, and have been changed to local variables.
- fixUpLocalVariables(Variable[], VariableScope, boolean) - Static method in class org.spockframework.compiler.AstUtil
- flush() - Method in class org.spockframework.util.TeePrintStream
- format(String, Object...) - Method in class org.spockframework.util.TeePrintStream
- format(Locale, String, Object...) - Method in class org.spockframework.util.TeePrintStream
- foundExceptionCondition - Variable in class org.spockframework.compiler.AbstractDeepBlockRewriter
G
- 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() - 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(int) - Method in class org.spockframework.lang.Wildcard
- get(Class<T>) - Static method in class org.spockframework.gentyref.TypeToken
-
Gets type token for the given
Classinstance. - get(Type) - Static method in class org.spockframework.gentyref.TypeToken
-
Gets type token for the given
Typeinstance. - 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 class org.spockframework.mock.DefaultFinalizeInteraction
- 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 exception class org.spockframework.mock.TooManyInvocationsError
- getActual() - Method in exception class org.spockframework.runtime.UnallowedExceptionThrownError
- getActual() - Method in exception class 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(Class<T>) - Method in class org.spockframework.runtime.model.NodeInfo
- getAnnotation(ASTNode, Class<?>) - Static method in class org.spockframework.compiler.AstUtil
- getAnnotations() - Method in class org.spockframework.runtime.model.NodeInfo
- getArgumentList(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
- getArguments(Expression) - Static method in class org.spockframework.compiler.AstUtil
- 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
- getAttachments() - Method in interface org.spockframework.runtime.model.IAttachmentContainer
- getAttachments() - Method in class org.spockframework.runtime.model.SpecElementInfo
- 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(Object) - Static method in class org.spockframework.util.ObjectUtil
- getClass(String) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the first class found with the specified simple name.
- 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.
- getCleanupInterceptors() - Method in class org.spockframework.runtime.model.SpecInfo
- getCleanupMethod() - Method in class org.spockframework.compiler.model.Spec
- getCleanupMethods() - Method in class org.spockframework.runtime.model.SpecInfo
- getCleanups() - Method in class org.spockframework.runtime.model.IterationInfo
- getCleanupSpecInterceptors() - Method in class org.spockframework.runtime.model.SpecInfo
- getCleanupSpecMethod() - Method in class org.spockframework.compiler.model.Spec
- getCleanupSpecMethods() - 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 class org.spockframework.mock.DefaultFinalizeInteraction
- 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 exception class org.spockframework.runtime.ConditionNotSatisfiedError
- getCondition() - Method in exception class org.spockframework.runtime.SpockComparisonFailure
- getConfiguration(Class<T>) - Method in class org.spockframework.runtime.RunContext
- getConfiguration(Class<T>) - Static method in class org.spockframework.runtime.SpecUtil
- getConfigurationByName(String) - Method in class org.spockframework.runtime.GlobalExtensionRegistry
- getConfigurationByName(String) - Method in interface org.spockframework.runtime.IConfigurationRegistry
- getConfigurationByType(Class<T>) - Method in class org.spockframework.runtime.GlobalExtensionRegistry
- getConfigurationByType(Class<T>) - Method in interface org.spockframework.runtime.IConfigurationRegistry
- 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
- getCurrent() - Static method in class spock.util.environment.Jvm
-
Returns the current JVM.
- getCurrent() - Static method in class spock.util.environment.OperatingSystem
-
Returns the current operating system.
- getCurrentBlock() - Method in interface org.spockframework.compiler.IRewriteResources
- getCurrentBlock() - Method in class org.spockframework.compiler.SpecRewriter
- getCurrentFeature() - Method in interface org.spockframework.lang.ISpecificationContext
- getCurrentFeature() - Method in class org.spockframework.runtime.SpecificationContext
- getCurrentIteration() - Method in interface org.spockframework.lang.ISpecificationContext
- getCurrentIteration() - Method in class org.spockframework.runtime.SpecificationContext
- 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
- getCurrentSpec() - Method in interface org.spockframework.lang.ISpecificationContext
- getCurrentSpec() - Method in class org.spockframework.runtime.SpecificationContext
- 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.
- getDelegates() - Method in class org.spockframework.util.TeePrintStream
- 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
- getEnv() - Method in class org.spockframework.runtime.extension.builtin.PreconditionContext
-
Returns the current JVM's environment variables.
- 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 in interface org.spockframework.mock.IMockMethod
-
Returns the exact parameter types of the method.
- getExactParameterTypes() - Method in class org.spockframework.mock.runtime.DynamicMockMethod
- getExactParameterTypes() - Method in class org.spockframework.mock.runtime.StaticMockMethod
- getExactParameterTypes(Method, Type) - Static method in class org.spockframework.gentyref.GenericTypeReflector
- getExactReturnType() - Method in interface org.spockframework.mock.IMockMethod
-
Returns the exact return type of the method.
- getExactReturnType() - Method in class org.spockframework.mock.runtime.DynamicMockMethod
- getExactReturnType() - Method in class org.spockframework.mock.runtime.StaticMockMethod
- 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.
- getExactType() - Method in interface org.spockframework.mock.IMockConfiguration
-
Returns the exact interface or class type of the mock object.
- getExactType() - Method in interface org.spockframework.mock.IMockObject
-
Returns the exact declared type of this mock object.
- getExactType() - Method in class org.spockframework.mock.runtime.MockConfiguration
- getExactType() - Method in class org.spockframework.mock.runtime.MockObject
- getException() - Method in class org.spockframework.runtime.model.ErrorInfo
- getExecutionOrder() - Method in class org.spockframework.runtime.model.FeatureInfo
- getExpected() - Method in exception class org.spockframework.runtime.WrongExceptionThrownError
- 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)".
- getExpression(Statement, Class<T>) - Static method in class org.spockframework.compiler.AstUtil
- getExpressions(ClosureExpression) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the top-level expressions in the specified closure definition.
- getExpressions(MethodNode) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the top-level expressions in the specified method or constructor.
- 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
- getFamily() - Method in class spock.util.environment.OperatingSystem
-
Returns the family of the operating system.
- 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.IterationInfo
- 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
- getFileExtension(String) - Static method in class org.spockframework.util.IoUtil
- getFilename() - Method in class org.spockframework.runtime.model.SpecInfo
- getFirstBlock() - Method in class org.spockframework.compiler.model.Method
- getFirstElement(Iterable<T>) - Static method in class org.spockframework.util.CollectionUtil
- getFixtureMethods() - Method in class org.spockframework.runtime.model.SpecInfo
- getFoundExceptionCondition() - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
- getGlobalExtensions() - Method in class org.spockframework.runtime.GlobalExtensionRegistry
- getGlobalExtensions() - Method in interface org.spockframework.runtime.IExtensionRegistry
- 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() - Method in class org.spockframework.util.JsonWriter
- 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.
- getInitializerInterceptors() - Method in class org.spockframework.runtime.model.SpecInfo
- 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
Specificationinstance for the current iteration. - getInstance() - Method in class org.spockframework.runtime.extension.MethodInvocation
- getInteraction() - Method in exception class org.spockframework.mock.TooManyInvocationsError
- getInteraction() - Method in exception class org.spockframework.mock.WrongInvocationOrderError
- 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.SpecElementInfo
- getInvocationTarget(Expression) - Static method in class org.spockframework.compiler.AstUtil
- getIsBottomSpec() - Method in class org.spockframework.runtime.model.SpecInfo
- getIsTopSpec() - Method in class org.spockframework.runtime.model.SpecInfo
- 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
- getIterationInterceptors() - Method in class org.spockframework.runtime.model.FeatureInfo
- getIterationNameProvider() - Method in class org.spockframework.runtime.model.FeatureInfo
- getJavaSpecificationVersion() - Method in class spock.util.environment.Jvm
-
The Java specification version, as returned by the
java.specification.versionsystem property. - getJavaVersion() - Method in class org.spockframework.runtime.extension.builtin.PreconditionContext
-
Returns the current JVM's Java specification version.
- getJavaVersion() - Method in class spock.util.environment.Jvm
-
The Java version, as returned by the
java.versionsystem property. - getJvm() - Method in class org.spockframework.runtime.extension.builtin.PreconditionContext
-
Returns the current JVM.
- getKey() - Method in class org.spockframework.runtime.model.Tag
-
Returns the filter key of the tag.
- 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 exception class org.spockframework.mock.WrongInvocationOrderError
- getLength() - Method in class org.spockframework.runtime.condition.EditOperation
- getLine() - Method in class org.spockframework.mock.DefaultFinalizeInteraction
- 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
- getLogFile() - Method in class org.spockframework.report.log.ReportLogConfiguration
- getLogFileSuffix() - Method in class org.spockframework.report.log.ReportLogConfiguration
- 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
- getMaxGroovyVersion() - Static method in class org.spockframework.util.SpockReleaseInfo
- getMessage() - Method in exception class org.spockframework.mock.TooFewInvocationsError
- getMessage() - Method in exception class org.spockframework.mock.TooManyInvocationsError
- getMessage() - Method in exception class org.spockframework.mock.WrongInvocationOrderError
- getMessage() - Method in class org.spockframework.runtime.Condition
- getMessage() - Method in exception class org.spockframework.runtime.ConditionNotSatisfiedError
- getMessage() - Method in exception class org.spockframework.runtime.extension.ExtensionException
- getMessage() - Method in exception class org.spockframework.runtime.InvalidSpecException
- getMessage() - Method in exception class org.spockframework.runtime.SpockComparisonFailure
- getMessage() - Method in exception class org.spockframework.runtime.SpockExecutionException
- getMessage() - Method in exception class org.spockframework.runtime.UnallowedExceptionThrownError
- getMessage() - Method in exception class org.spockframework.runtime.WrongExceptionThrownError
- getMessage() - Method in exception class org.spockframework.util.InternalSpockError
- getMetaClass(Class<?>) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
- getMetaClass(Object) - 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
- getMethodName(Expression) - Static method in class org.spockframework.compiler.AstUtil
- getMethods() - Method in class org.spockframework.compiler.model.Spec
- getMicro() - Method in class org.spockframework.util.VersionNumber
- getMinGroovyVersion() - Static method in class org.spockframework.util.SpockReleaseInfo
- 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
nullif 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() - Method in class org.spockframework.runtime.model.Attachment
- getName() - Method in class org.spockframework.runtime.model.IterationInfo
-
Returns the name of this iteration.
- getName() - Method in class org.spockframework.runtime.model.NodeInfo
- getName() - Method in class org.spockframework.runtime.model.Tag
-
Returns the display name of the tag.
- getName() - Method in class org.spockframework.runtime.RunContext
- getName() - Method in class spock.util.environment.OperatingSystem
-
Returns the name of the operating system, as returned by the
os.namesystem property. - getName(IterationInfo) - Method in class org.spockframework.runtime.extension.builtin.UnrollNameProvider
- getName(IterationInfo) - Method in class org.spockframework.runtime.SafeIterationNameProvider
- getName(T) - Method in interface org.spockframework.runtime.model.NameProvider
- getNarrative() - Method in class org.spockframework.runtime.model.SpecInfo
- 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() - Method in class org.spockframework.compiler.model.WhenBlock
- getNext(Class<T>) - Method in class org.spockframework.compiler.model.Block
- 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
- getOs() - Method in class org.spockframework.runtime.extension.builtin.PreconditionContext
-
Returns the current operating system.
- getOwner() - Method in class org.spockframework.compiler.model.Field
- getPackage() - Method in class org.spockframework.runtime.model.SpecInfo
- getPackageName(Class<?>) - Static method in class org.spockframework.util.ReflectionUtil
-
Determines the package name without calling
Class.getPackage()(which may return null). - getParameterNames() - Method in class org.spockframework.runtime.model.FeatureInfo
- getParameterTypes() - Method in interface org.spockframework.mock.IMockMethod
-
Returns the exact 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
- getProperties() - Method in class org.spockframework.runtime.extension.builtin.PreconditionContext
-
Deprecated.use
PreconditionContext.getSys()instead - 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.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(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.
- getSetupInterceptors() - Method in class org.spockframework.runtime.model.SpecInfo
- getSetupMethod() - Method in class org.spockframework.compiler.model.Spec
- getSetupMethods() - Method in class org.spockframework.runtime.model.SpecInfo
- getSetupSpecInterceptors() - Method in class org.spockframework.runtime.model.SpecInfo
- getSetupSpecMethod() - Method in class org.spockframework.compiler.model.Spec
- getSetupSpecMethods() - Method in class org.spockframework.runtime.model.SpecInfo
- getSharedFieldName(String) - Static method in class org.spockframework.util.InternalIdentifiers
- getSharedInitializerInterceptors() - Method in class org.spockframework.runtime.model.SpecInfo
- 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
Specificationinstance for@Sharedfields. - 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
- getSpec() - Method in class org.spockframework.runtime.model.FeatureInfo
- 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() - 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
- getSpockUserHome() - Method in class org.spockframework.runtime.RunContext
- 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() - Method in class org.spockframework.compiler.model.Method
- getStatements(ClosureExpression) - Static method in class org.spockframework.compiler.AstUtil
- getStatements(ClosureExpression) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the top-level statements in the specified closure definition.
- getStatements(MethodNode) - Static method in class org.spockframework.compiler.AstUtil
-
Returns a list of statements of the given method.
- getStatements(MethodNode) - Method in class org.spockframework.util.inspector.AstInspector
-
Returns the top-level statements in the specified method or constructor.
- 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
- getSys() - Method in class org.spockframework.runtime.extension.builtin.PreconditionContext
-
Returns the current JVM's system properties.
- getTags() - Method in interface org.spockframework.runtime.model.ITaggable
-
Returns the element's tags.
- getTags() - Method in class org.spockframework.runtime.model.SpecElementInfo
- 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 class org.spockframework.mock.DefaultFinalizeInteraction
- 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(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.
- getText(Reader) - Static method in class org.spockframework.util.IoUtil
-
Returns the text read from the given reader 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 exception class 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 exception class 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.
- getUrl() - Method in class org.spockframework.runtime.model.Attachment
- getUrl() - Method in class org.spockframework.runtime.model.Tag
-
Returns the URL associated with the tag, if any.
- getValue() - Method in class org.spockframework.runtime.model.ExpressionInfo
- getValue() - Method in class org.spockframework.runtime.model.Tag
-
Returns the filter value of the tag.
- 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
- getVersion() - Method in class spock.util.environment.OperatingSystem
-
Returns the version of the operating system, as returned by the
os.versionsystem property. - getVisibility(FieldNode) - Static method in class org.spockframework.compiler.AstUtil
- GIVEN - Enum constant in enum org.spockframework.compiler.model.BlockParseInfo
- GIVEN - Static variable in class org.spockframework.util.Identifiers
- GlobalExtensionRegistry - Class in org.spockframework.runtime
-
Maintains a registry of global Spock extensions and their configuration objects, which can be used to configure other extensions.
- GROOVY - Enum constant in enum org.spockframework.mock.MockImplementation
-
An implementation specifically targeting Groovy callers.
- 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(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(Class<T>) - Method in class spock.lang.MockingApi
-
Creates a Groovy mock with the specified type.
- GroovyMock(Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy mock with the specified type and interactions.
- 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(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(Map<String, Object>, Class<T>) - Method in class spock.lang.MockingApi
-
Creates a Groovy mock with the specified options and type.
- 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(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(Class<T>) - Method in class spock.lang.MockingApi
-
Creates a Groovy spy with the specified type.
- GroovySpy(Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy spy with the specified type and interactions.
- 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(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(Map<String, Object>, Class<T>) - Method in class spock.lang.MockingApi
-
Creates a Groovy spy with the specified options and type.
- 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(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(Class<T>) - Method in class spock.lang.MockingApi
-
Creates a Groovy stub with the specified type.
- GroovyStub(Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a Groovy stub with the specified type and interactions.
- 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(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(Map<String, Object>, Class<T>) - Method in class spock.lang.MockingApi
-
Creates a Groovy stub with the specified options and type.
- 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 Class in org.spockframework.guice
- GuiceExtensionException(String) - Constructor for exception class org.spockframework.guice.GuiceExtensionException
- GuiceExtensionException(String, Throwable) - Constructor for exception class 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
H
- HamcrestFacade - Class in org.spockframework.runtime
-
Facade around Hamcrest API that works both with Hamcrest 1.1 and 1.2, providing better failure descriptions if the latter is available.
- HamcrestFacade() - Constructor for class org.spockframework.runtime.HamcrestFacade
- HamcrestSupport - Class in spock.util.matcher
- HamcrestSupport() - Constructor for class spock.util.matcher.HamcrestSupport
- handle(IMockInvocation) - Method in interface org.spockframework.mock.IMockController
- handle(IMockInvocation) - Method in class org.spockframework.mock.runtime.MockController
- Handling of exceptions during cleanup - Search tag in annotation type spock.lang.AutoCleanup
- Section
- hasAnnotation(ASTNode, Class<?>) - Static method in class org.spockframework.compiler.AstUtil
-
Tells whether the given node has an annotation of the given type.
- hasAnyOfTypes(Object, Class<?>...) - Static method in class org.spockframework.util.ReflectionUtil
- hasBytecodeName(String) - Method in class org.spockframework.runtime.model.FeatureInfo
-
Tells if any of the methods associated with this feature has the specified name in bytecode.
- hasBytecodeName(String) - Method in class org.spockframework.runtime.model.MethodInfo
- hasFieldType(FieldInfo, Class<?>) - Method in class org.spockframework.runtime.extension.builtin.AbstractRuleExtension
- hashCode() - Method in class org.spockframework.gentyref.TypeToken
- hashCode() - Method in class org.spockframework.mock.runtime.MockInvocation
- hashCode() - Method in class org.spockframework.runtime.condition.EditOperation
- hashCode() - Method in class org.spockframework.runtime.model.TextPosition
- hashCode() - Method in class org.spockframework.runtime.model.TextRegion
- hashCode() - Method in class org.spockframework.util.Pair
- hashCode() - Method in class org.spockframework.util.VersionNumber
- hashCode(Object) - Static method in class org.spockframework.util.ObjectUtil
- HashMultiset<E> - Class in org.spockframework.util
-
HashMap based implementation of IMultiset.
- HashMultiset() - Constructor for class org.spockframework.util.HashMultiset
- HashMultiset(Collection<? extends E>) - Constructor for class org.spockframework.util.HashMultiset
- hasImplicitParameter(ClosureExpression) - Static method in class org.spockframework.compiler.AstUtil
- hasPlausibleSourcePosition(ASTNode) - Static method in class org.spockframework.compiler.AstUtil
-
Tells if the source position for the given AST node is plausible.
- HelperMethod - Class in org.spockframework.compiler.model
- HelperMethod(Spec, MethodNode) - Constructor for class org.spockframework.compiler.model.HelperMethod
I
- IAnnotationDrivenExtension<T> - Interface in org.spockframework.runtime.extension
- IArgumentConstraint - Interface in org.spockframework.mock
-
A constraint on an invocation argument.
- IAttachmentContainer - Interface in org.spockframework.runtime.model
-
A (spec) element that can hold attachments.
- 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.runtime
- 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
- IExtensionRegistry - Interface in org.spockframework.runtime
- 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 or 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 Class in org.spockframework.util
- IncompatibleGroovyVersionException(String) - Constructor for exception class 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
- initializeGlobalExtensions() - Method in class org.spockframework.runtime.GlobalExtensionRegistry
- INITIALIZER - Enum constant in enum org.spockframework.runtime.model.MethodKind
- 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
- INSERT - Enum constant in enum org.spockframework.runtime.condition.EditOperation.Kind
- Inspect - Annotation Type in org.spockframework.util.inspector
-
Marks a declaration in Groovy code so that it can be easily accessed using AstInspector.
- install(List<IMethodInterceptor>) - 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.DefaultFinalizeInteraction
- INSTANCE - Static variable in class org.spockframework.mock.DefaultJavaLangObjectInteractions
- 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
- INSTANCE - Static variable in class org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor
- 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
- instantiateClosure(Class<T>, Object, Object) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
Note: This method may throw checked exceptions although it doesn't say so.
- interaction(Closure) - Method in class spock.lang.MockingApi
-
Encloses one or more interaction definitions in a then block.
- INTERACTION - Static variable in class org.spockframework.util.Identifiers
- InteractionBuilder - Class in org.spockframework.mock.runtime
- InteractionBuilder - Variable in class org.spockframework.compiler.AstNodeCache
- InteractionBuilder(int, int, String) - Constructor for class org.spockframework.mock.runtime.InteractionBuilder
- interactionFound - Variable in class org.spockframework.compiler.AbstractDeepBlockRewriter
- InteractionNotSatisfiedError - Exception Class in org.spockframework.mock
-
Base class for exceptions thrown to indicate that one or more interactions were not satisfied.
- InteractionNotSatisfiedError() - Constructor for exception class 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.RestoreSystemPropertiesInterceptor
- 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 - Exception Class in org.spockframework.util
- InternalSpockError() - Constructor for exception class org.spockframework.util.InternalSpockError
- InternalSpockError(String) - Constructor for exception class org.spockframework.util.InternalSpockError
- InternalSpockError(String, Throwable) - Constructor for exception class org.spockframework.util.InternalSpockError
- InternalSpockError(Throwable) - Constructor for exception class org.spockframework.util.InternalSpockError
- invalidFieldType(FieldInfo) - Method in class org.spockframework.runtime.extension.builtin.AbstractRuleExtension
- InvalidSpecCompileException - Exception Class 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 class org.spockframework.compiler.InvalidSpecCompileException
- InvalidSpecCompileException(ASTNode, String, Object...) - Constructor for exception class org.spockframework.compiler.InvalidSpecCompileException
- InvalidSpecException - Exception Class in org.spockframework.runtime
-
Indicates that a Spec has done something it is not supposed to do.
- InvalidSpecException(String) - Constructor for exception class org.spockframework.runtime.InvalidSpecException
- InvalidSpecException(String, Throwable) - Constructor for exception class org.spockframework.runtime.InvalidSpecException
- invoke(Object, Object...) - Method in class org.spockframework.runtime.model.MethodInfo
-
Invokes this method on the specified target and with the specified arguments.
- invoke(Object, Method, Object[]) - Method in class org.spockframework.mock.runtime.DynamicProxyMockInterceptorAdapter
- invokeClosure(Closure<T>, Object...) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
-
Note: This method may throw checked exceptions although it doesn't say so.
- invokeConstructor(Class<?>, 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
- invokeMethod(Object, Method, Object...) - Static method in class org.spockframework.util.ReflectionUtil
- 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(String, Object) - Method in class org.spockframework.builder.DelegatingScript
- invokeMethod(String, Object) - Method in class org.spockframework.builder.Sculpturer
- 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.SpockConfigurationGestalt
- 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
- 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
- IReportLogListener - Interface in org.spockframework.report.log
- 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.NodeInfo
- 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
- 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() - Method in class org.spockframework.compiler.NoSpecialMethodCall
- isExceptionCondition() - Method in class org.spockframework.compiler.SpecialMethodCall
- isExceptionCondition(MethodCallExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
- isExceptionCondition(MethodCallExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
- isExceptionCondition(MethodCallExpression) - Method in class org.spockframework.compiler.SpecialMethodCall
- isExceptionConditionFound() - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
- isExcluded() - Method in interface org.spockframework.runtime.model.IExcludable
- isExcluded() - Method in class org.spockframework.runtime.model.MethodInfo
- isExcluded() - Method in class org.spockframework.runtime.model.SpecElementInfo
- isExhausted() - Method in class org.spockframework.mock.DefaultFinalizeInteraction
- 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
- isFilterable() - Method in class org.spockframework.runtime.model.Tag
-
Tells whether the tag is filterable.
- isFinalMethod(Method) - Static method in class org.spockframework.util.ReflectionUtil
- 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() - Method in class org.spockframework.compiler.NoSpecialMethodCall
- isInteractionCall() - Method in class org.spockframework.compiler.SpecialMethodCall
- isInteractionCall(MethodCallExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
- isInteractionCall(MethodCallExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
- isInteractionCall(MethodCallExpression) - Method in class org.spockframework.compiler.SpecialMethodCall
- isInternalName(String) - Static method in class org.spockframework.util.InternalIdentifiers
- isInvocationWithImplicitThis(Expression) - Static method in class org.spockframework.compiler.AstUtil
- isJava5() - Method in class spock.util.environment.Jvm
-
Tells whether the Java version is 5.
- isJava5Compatible() - Method in class spock.util.environment.Jvm
-
Tells whether the Java version is compatible with Java 5.
- isJava6() - Method in class spock.util.environment.Jvm
-
Tells whether the Java version is 6.
- isJava6Compatible() - Method in class spock.util.environment.Jvm
-
Tells whether the Java version is compatible with Java 6.
- isJava7() - Method in class spock.util.environment.Jvm
-
Tells whether the Java version is 7.
- isJava7Compatible() - Method in class spock.util.environment.Jvm
-
Tells whether the Java version is compatible with Java 7.
- isJava8() - Method in class spock.util.environment.Jvm
-
Tells whether the Java version is 8.
- isJava8Compatible() - Method in class spock.util.environment.Jvm
-
Tells whether the Java version is compatible with Java 8.
- isJava9() - Method in class spock.util.environment.Jvm
-
Tells whether the Java version is 9.
- isJava9Compatible() - Method in class spock.util.environment.Jvm
-
Tells whether the Java version is compatible with Java 9.
- 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
- isLinux() - Method in class spock.util.environment.OperatingSystem
-
Tells whether the operating system family is Linux.
- ISlot - Interface in org.spockframework.builder
- ISlotFactory - Interface in org.spockframework.builder
- isMacOs() - Method in class spock.util.environment.OperatingSystem
-
Tells whether the operating system family is Mac OS.
- isMatch(ClosureExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
- isMatch(ClosureExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
- isMatch(ClosureExpression) - Method in class org.spockframework.compiler.SpecialMethodCall
- isMatch(Statement) - Method in interface org.spockframework.compiler.ISpecialMethodCall
- isMatch(Statement) - Method in class org.spockframework.compiler.NoSpecialMethodCall
- isMatch(Statement) - 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() - Method in class org.spockframework.compiler.NoSpecialMethodCall
- isOldCall() - Method in class org.spockframework.compiler.SpecialMethodCall
- isOldCall(MethodCallExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
- isOldCall(MethodCallExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
- 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
- isOther() - Method in class spock.util.environment.OperatingSystem
-
Tells whether the operating system family is anything other than those listed above.
- 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
- ISpockMockObject - Interface in org.spockframework.mock
-
Marker-like interface implemented by all mock objects that allows
MockDetectorto detect mock objects. - isPrettyPrint() - Method in class org.spockframework.util.JsonWriter
- 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 class org.spockframework.mock.DefaultFinalizeInteraction
- 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 class org.spockframework.mock.DefaultFinalizeInteraction
- 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(Object) - Method in class org.spockframework.mock.constraint.NegatingArgumentConstraint
- isSatisfiedBy(Object) - Method in class org.spockframework.mock.constraint.SpreadWildcardArgumentConstraint
- isSatisfiedBy(Object) - Method in class org.spockframework.mock.constraint.TypeArgumentConstraint
- isSatisfiedBy(Object) - Method in class org.spockframework.mock.constraint.WildcardArgumentConstraint
- isSatisfiedBy(Object) - Method in interface org.spockframework.mock.IArgumentConstraint
- 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(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(IMockInvocation) - Method in class org.spockframework.mock.constraint.TargetConstraint
- isSatisfiedBy(IMockInvocation) - Method in class org.spockframework.mock.constraint.WildcardMethodNameConstraint
- 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 interface org.spockframework.runtime.model.ISkippable
- isSkipped() - Method in class org.spockframework.runtime.model.SpecElementInfo
- isSolaris() - Method in class spock.util.environment.OperatingSystem
-
Tells whether the operating system family is Solaris.
- 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
- 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.
- IssueExtension - Class in org.spockframework.runtime.extension.builtin
- IssueExtension() - Constructor for class org.spockframework.runtime.extension.builtin.IssueExtension
- issueNamePrefix - Variable in class org.spockframework.report.log.ReportLogConfiguration
- issueUrlPrefix - Variable in class org.spockframework.report.log.ReportLogConfiguration
- 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
- IStandardStreamsListener - Interface in org.spockframework.runtime
- isTestDouble() - Method in interface org.spockframework.compiler.ISpecialMethodCall
- isTestDouble() - Method in class org.spockframework.compiler.NoSpecialMethodCall
- isTestDouble() - Method in class org.spockframework.compiler.SpecialMethodCall
- isTestDouble(MethodCallExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
- isTestDouble(MethodCallExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
- 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() - Method in class org.spockframework.compiler.NoSpecialMethodCall
- isThrownCall() - Method in class org.spockframework.compiler.SpecialMethodCall
- isThrownCall(MethodCallExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
- isThrownCall(MethodCallExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
- isThrownCall(MethodCallExpression) - Method in class org.spockframework.compiler.SpecialMethodCall
- IStoppable - Interface in org.spockframework.util
- 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
- isWindows() - Method in class spock.util.environment.OperatingSystem
-
Tells whether the operating system family is Windows.
- isWithCall() - Method in interface org.spockframework.compiler.ISpecialMethodCall
- isWithCall() - Method in class org.spockframework.compiler.NoSpecialMethodCall
- isWithCall() - Method in class org.spockframework.compiler.SpecialMethodCall
- isWithCall(MethodCallExpression) - Method in interface org.spockframework.compiler.ISpecialMethodCall
- isWithCall(MethodCallExpression) - Method in class org.spockframework.compiler.NoSpecialMethodCall
- isWithCall(MethodCallExpression) - Method in class org.spockframework.compiler.SpecialMethodCall
- isWriteable(MetaProperty) - Static method in class org.spockframework.util.MopUtil
- ITaggable - Interface in org.spockframework.runtime.model
-
A (spec) element that can be tagged.
- 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
- ITERATION_EXECUTION - Enum constant in enum org.spockframework.runtime.model.MethodKind
- 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, - Interface in org.spockframework.utilT> -
A function from domain D to co-domain C that may throw a checked exception.
J
- JAVA - Enum constant in enum org.spockframework.mock.MockImplementation
-
A generic implementation targeting any callers.
- JavaMockFactory - Class in org.spockframework.mock.runtime
- JavaMockFactory() - Constructor for class org.spockframework.mock.runtime.JavaMockFactory
- JavaMockInterceptor - Class in org.spockframework.mock.runtime
- JavaMockInterceptor(IMockConfiguration, Specification, MetaClass) - Constructor for class org.spockframework.mock.runtime.JavaMockInterceptor
- join(String, Object...) - Static method in class org.spockframework.util.TextUtil
- join(String, List<?>) - Static method in class org.spockframework.util.TextUtil
- JsonWriter - Class in org.spockframework.util
-
Note: The
JsonWriter.writeString(java.lang.Object)andJsonWriter.hex(char)methods are based on code from classStringEscapeUtilsin Commons Lang 2.6. - JsonWriter(Writer) - Constructor for class org.spockframework.util.JsonWriter
- JUnitDescriptionGenerator - Class in org.spockframework.runtime
-
Generates and attaches JUnit Description's to a SpecInfo's nodes.
- JUnitDescriptionGenerator(SpecInfo) - Constructor for class org.spockframework.runtime.JUnitDescriptionGenerator
- JUnitFilterAdapter - Class in org.spockframework.runtime
-
Adapts an org.junit.runner.manipulation.Filter to an IMethodInfoFilter.
- JUnitFilterAdapter(Filter) - Constructor for class org.spockframework.runtime.JUnitFilterAdapter
- JUnitSorterAdapter - Class in org.spockframework.runtime
-
Adapts an org.junit.runner.manipulation.Sorter to a IMethodInfoSorter.
- JUnitSorterAdapter(Sorter) - Constructor for class org.spockframework.runtime.JUnitSorterAdapter
- JUnitSupervisor - Class in org.spockframework.runtime
- JUnitSupervisor(SpecInfo, RunNotifier, IStackTraceFilter, IObjectRenderer<Object>) - Constructor for class org.spockframework.runtime.JUnitSupervisor
- Jvm - Class in spock.util.environment
-
Provides information on the current JVM, such as its Java version.
K
- kind() - Element in annotation type org.spockframework.runtime.model.BlockMetadata
- KIND - Static variable in annotation type org.spockframework.runtime.model.BlockMetadata
L
- lastSpecialMethodCallStat - Variable in class org.spockframework.compiler.AbstractDeepBlockRewriter
- LEAVE_SCOPE - Static variable in class org.spockframework.mock.runtime.MockController
- leaveScope() - Method in class org.spockframework.mock.runtime.MockController
- line() - Element in annotation type org.spockframework.runtime.model.DataProviderMetadata
- line() - Element in annotation type org.spockframework.runtime.model.FeatureMetadata
- line() - Element in annotation type org.spockframework.runtime.model.FieldMetadata
- line() - Element in annotation type org.spockframework.runtime.model.SpecMetadata
- LINE - Static variable in annotation type org.spockframework.runtime.model.DataProviderMetadata
- LINE - Static variable in annotation type org.spockframework.runtime.model.FeatureMetadata
- LINE - Static variable in annotation type org.spockframework.runtime.model.FieldMetadata
- LINE - Static variable in annotation type org.spockframework.runtime.model.SpecMetadata
- LineBuilder - Class in org.spockframework.runtime.condition
- LineBuilder() - Constructor for class org.spockframework.runtime.condition.LineBuilder
- LinkedHashMultiset<E> - Class in org.spockframework.util
-
LinkedHashMap based implementation of IMultiset.
- LinkedHashMultiset() - Constructor for class org.spockframework.util.LinkedHashMultiset
- LinkedHashMultiset(Collection<? extends E>) - Constructor for class org.spockframework.util.LinkedHashMultiset
- LINUX - Enum constant in enum spock.util.environment.OperatingSystem.Family
-
A Linux operating system.
- listFilesRecursively(File) - Static method in class org.spockframework.util.IoUtil
- listOf(E...) - Static method in class org.spockframework.util.CollectionUtil
- load(File) - Method in class org.spockframework.util.inspector.AstInspector
-
Compiles the source text in the specified file up to the configured compile phase and stores the resulting AST for subsequent inspection.
- load(String) - Method in class org.spockframework.util.inspector.AstInspector
-
Compiles the specified source text up to the configured compile phase and stores the resulting AST for subsequent inspection.
- loadAutoDetectedScript() - Method in class org.spockframework.runtime.ConfigurationScriptLoader
- loadClasses(String) - Method in class org.spockframework.runtime.ExtensionClassesLoader
- loadClassesFromDefaultLocation() - Method in class org.spockframework.runtime.ExtensionClassesLoader
- loadClassIfAvailable(String) - Static method in class org.spockframework.util.ReflectionUtil
- loadClosureBasedScript(Closure<?>) - Method in class org.spockframework.runtime.ConfigurationScriptLoader
- loadFromDisk() - Method in class org.spockframework.runtime.SpecRunHistory
- logFileDir - Variable in class org.spockframework.report.log.ReportLogConfiguration
- logFileName - Variable in class org.spockframework.report.log.ReportLogConfiguration
- logFileSuffix - Variable in class org.spockframework.report.log.ReportLogConfiguration
- longHashCode(String) - Static method in class org.spockframework.util.TextUtil
- lookup(ASTNode) - Method in class org.spockframework.compiler.SourceLookup
M
- MAC_OS - Enum constant in enum spock.util.environment.OperatingSystem.Family
-
A Mac OS operating system.
- mapOf(K, V) - Static method in class org.spockframework.util.CollectionUtil
- mapOf(K, V, K, V) - Static method in class org.spockframework.util.CollectionUtil
- mapOf(K, V, K, V, K, V) - Static method in class org.spockframework.util.CollectionUtil
- mapOf(K, V, K, V, K, V, K, V) - Static method in class org.spockframework.util.CollectionUtil
- mapOf(K, V, K, V, K, V, K, V, K, V) - Static method in class org.spockframework.util.CollectionUtil
- MasterRunListener - Class in org.spockframework.runtime
- MasterRunListener(SpecInfo) - Constructor for class org.spockframework.runtime.MasterRunListener
- match(IMockInvocation) - Method in class org.spockframework.mock.DefaultJavaLangObjectInteractions
- match(IMockInvocation) - Method in interface org.spockframework.mock.IInteractionScope
- match(IMockInvocation) - Method in class org.spockframework.mock.runtime.InteractionScope
- Matchers - Class in org.spockframework.util
- Matchers() - Constructor for class org.spockframework.util.Matchers
- matches(Object, Object) - Static method in class org.spockframework.runtime.HamcrestFacade
- matches(Object, IMockInteraction) - Method in interface org.spockframework.mock.IMockObject
-
Tells whether this mock object matches the target of the specified interaction.
- matches(Object, IMockInteraction) - Method in class org.spockframework.mock.runtime.MockObject
- matches(IMockInvocation) - Method in class org.spockframework.mock.DefaultFinalizeInteraction
- matches(IMockInvocation) - Method in interface org.spockframework.mock.IMockInteraction
- matches(IMockInvocation) - Method in class org.spockframework.mock.runtime.MockInteraction
- matches(IMockInvocation) - Method in class org.spockframework.mock.runtime.MockInteractionDecorator
- matches(FeatureInfo) - Method in interface org.spockframework.runtime.IFeatureFilter
- matches(FeatureInfo) - Method in class org.spockframework.runtime.JUnitFilterAdapter
- matches(T) - Method in interface org.spockframework.util.IMatcher
- memberFor(MetaProperty) - Static method in class org.spockframework.util.MopUtil
- Method - Class in org.spockframework.compiler.model
-
AST node representing a Spec method (one of fixture method, feature method, helper method).
- Method(Spec, MethodNode) - Constructor for class org.spockframework.compiler.model.Method
- METHOD_END - Enum constant in enum org.spockframework.compiler.model.BlockParseInfo
- methodFor(MetaMethod) - Static method in class org.spockframework.util.MopUtil
- MethodInfo - Class in org.spockframework.runtime.model
-
Runtime information about a method in a Spock specification.
- MethodInfo() - Constructor for class org.spockframework.runtime.model.MethodInfo
- MethodInvocation - Class in org.spockframework.runtime.extension
- MethodInvocation(FeatureInfo, IterationInfo, Object, Object, Object, MethodInfo, Object[]) - Constructor for class org.spockframework.runtime.extension.MethodInvocation
- MethodKind - Enum in org.spockframework.runtime.model
-
The different kinds of methods that a MethodInfo instance can represent.
- methodRuleClass - Static variable in class org.spockframework.runtime.extension.builtin.AbstractRuleExtension
- MethodRuleInterceptor - Class in org.spockframework.runtime.extension.builtin
- Mock() - Method in class spock.lang.MockingApi
-
Creates a mock whose type and name are inferred from the left-hand side of the enclosing variable assignment.
- Mock(Closure) - Method in class spock.lang.MockingApi
-
Creates a mock with the specified interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
- Mock(Class<T>) - Method in class spock.lang.MockingApi
-
Creates a mock with the specified type.
- Mock(Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a mock with the specified type and interactions.
- Mock(Map<String, Object>) - Method in class spock.lang.MockingApi
-
Creates a mock with the specified options whose type and name are inferred from the left-hand side of the enclosing variable assignment.
- Mock(Map<String, Object>, Closure) - Method in class spock.lang.MockingApi
-
Creates a mock with the specified options and interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
- Mock(Map<String, Object>, Class<T>) - Method in class spock.lang.MockingApi
-
Creates a mock with the specified options and type.
- Mock(Map<String, Object>, Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a mock with the specified options, type, and interactions.
- MOCK - Enum constant in enum org.spockframework.mock.MockNature
-
A mock object whose method calls are verified, which instantiates class-based mock objects with Objenesis, and whose strategy for responding to unexpected method calls is
ZeroOrNullResponse. - MOCK - Static variable in class org.spockframework.util.Identifiers
- MockConfiguration - Class in org.spockframework.mock.runtime
- MockConfiguration(String, Type, MockNature, MockImplementation, Map<String, Object>) - Constructor for class org.spockframework.mock.runtime.MockConfiguration
- MockController - Class in org.spockframework.mock.runtime
- MockController() - Constructor for class org.spockframework.mock.runtime.MockController
- MockDetector - Class in org.spockframework.mock
-
Detects mock objects and provides information about them.
- MockDetector() - Constructor for class org.spockframework.mock.MockDetector
- MockImplementation - Enum in org.spockframework.mock
-
Determines how method calls are processed and matched against interactions.
- MockingApi - Class in spock.lang
-
Spock's mocking API primarily consists of the following factory methods: Mock() Creates a general-purpose test double that supports both stubbing and mocking. Stub() Creates a test double that supports stubbing but not mocking. Spy() Creates a test double that, by default, delegates all calls to a real object.
- MockingApi() - Constructor for class spock.lang.MockingApi
- MockInstantiator - Class in org.spockframework.mock.runtime
- MockInstantiator() - Constructor for class org.spockframework.mock.runtime.MockInstantiator
- MockInteraction - Class in org.spockframework.mock.runtime
-
An anticipated interaction between the SUT and one or more mock objects.
- MockInteraction(int, int, String, int, int, List<IInvocationConstraint>, IResponseGenerator) - Constructor for class org.spockframework.mock.runtime.MockInteraction
- MockInteractionDecorator - Class in org.spockframework.mock.runtime
- MockInteractionDecorator(IMockInteraction) - Constructor for class org.spockframework.mock.runtime.MockInteractionDecorator
- MockInvocation - Class in org.spockframework.mock.runtime
- MockInvocation(IMockObject, IMockMethod, List<Object>, IResponseGenerator) - Constructor for class org.spockframework.mock.runtime.MockInvocation
- MockNature - Enum in org.spockframework.mock
-
A named set of defaults for a mock's configuration options.
- MockObject - Class in org.spockframework.mock.runtime
- MockObject(String, Type, Object, boolean, boolean, IDefaultResponse, Specification) - Constructor for class org.spockframework.mock.runtime.MockObject
- MopUtil - Class in org.spockframework.util
- MopUtil() - Constructor for class org.spockframework.util.MopUtil
N
- name() - Element in annotation type org.spockframework.runtime.model.FeatureMetadata
- name() - Element in annotation type org.spockframework.runtime.model.FieldMetadata
- NAME - Static variable in annotation type org.spockframework.runtime.model.FeatureMetadata
- NAME - Static variable in annotation type org.spockframework.runtime.model.FieldMetadata
- NamedArgumentListConstraint - Class in org.spockframework.mock.constraint
- NamedArgumentListConstraint(List<Object>, List<IArgumentConstraint>) - Constructor for class org.spockframework.mock.constraint.NamedArgumentListConstraint
- NameProvider<T> - Interface in org.spockframework.runtime.model
- Narrative - Annotation Type in spock.lang
-
Allows to attach a natural-language description to a spec.
- NarrativeExtension - Class in org.spockframework.runtime.extension.builtin
- NarrativeExtension() - Constructor for class org.spockframework.runtime.extension.builtin.NarrativeExtension
- NEGATE_LAST_ARG - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- negateLastArg() - Method in class org.spockframework.mock.runtime.InteractionBuilder
- NegatingArgumentConstraint - Class in org.spockframework.mock.constraint
- NegatingArgumentConstraint(IArgumentConstraint) - Constructor for class org.spockframework.mock.constraint.NegatingArgumentConstraint
- NO_EXCEPTION_THROWN - Static variable in class org.spockframework.util.Identifiers
- Node<P,
A> - Class in org.spockframework.compiler.model -
Base class for all SpecL AST nodes.
- Node(P, A) - Constructor for class org.spockframework.compiler.model.Node
- NodeInfo<P,
R> - Class in org.spockframework.runtime.model -
Base class for runtime information about an element in a Spock specification.
- NodeInfo() - Constructor for class org.spockframework.runtime.model.NodeInfo
- noExceptionThrown() - Method in class spock.lang.Specification
-
Specifies that no exception should be thrown, failing with a
UnallowedExceptionThrownErrorotherwise. - NoSpecialMethodCall - Class in org.spockframework.compiler
- NoSpecialMethodCall() - Constructor for class org.spockframework.compiler.NoSpecialMethodCall
- not(IMatcher<T>) - Static method in class org.spockframework.util.Matchers
- NOT_AVAILABLE - Static variable in class org.spockframework.runtime.model.TextPosition
- NOT_AVAILABLE - Static variable in class org.spockframework.runtime.model.TextRegion
- NOT_THROWN - Static variable in class org.spockframework.util.Identifiers
- notNull(Object) - Static method in class org.spockframework.util.Assert
- notNull(Object, String, Object...) - Static method in class org.spockframework.util.Assert
- NotThreadSafe - Annotation Type in org.spockframework.util
- notThrown(Class<? extends Throwable>) - Method in class spock.lang.Specification
-
Specifies that no exception of the given type should be thrown, failing with a
UnallowedExceptionThrownErrorotherwise. - Nullable - Annotation Type in org.spockframework.util
-
Indicates that the annotated field, parameter, or return value of the annotated method is allowed to be null.
O
- ObjectRendererService - Class in org.spockframework.runtime.condition
- ObjectRendererService() - Constructor for class org.spockframework.runtime.condition.ObjectRendererService
- ObjectUtil - Class in org.spockframework.util
-
Utility methods applicable to (almost) any object.
- ObjectUtil() - Constructor for class org.spockframework.util.ObjectUtil
- of(E1, E2) - Static method in class org.spockframework.util.Pair
- of(ASTNode) - Static method in class org.spockframework.runtime.model.TextRegion
- OK - Static variable in class org.spockframework.runtime.RunStatus
- old(T) - Method in class spock.lang.Specification
-
Used in a then-block to access an expression's value at the time just before the previous where-block was entered.
- OLD - Static variable in class org.spockframework.util.Identifiers
- OldValueExpression - Class in org.spockframework.compiler
-
Used to represent the argument to Specification.old() once it has been processed by IRewriteResources.captureOldValue().
- OldValueExpression(Expression, String) - Constructor for class org.spockframework.compiler.OldValueExpression
- OperatingSystem - Class in spock.util.environment
-
Provides information on the current operating system, such as its name, version, and family.
- OperatingSystem.Family - Enum in spock.util.environment
-
An operating system family.
- optimizeRunOrder - Variable in class spock.config.RunnerConfiguration
- optimizeRunOrder(List<String>) - Static method in class org.spockframework.runtime.SpecUtil
- OptimizeRunOrderExtension - Class in org.spockframework.runtime.extension.builtin
-
Inspired from JUnit's MaxCore.
- OptimizeRunOrderExtension() - Constructor for class org.spockframework.runtime.extension.builtin.OptimizeRunOrderExtension
- or(IMatcher<? super T>...) - Static method in class org.spockframework.util.Matchers
- ordinal() - Element in annotation type org.spockframework.runtime.model.FeatureMetadata
- ordinal() - Element in annotation type org.spockframework.runtime.model.FieldMetadata
- ORDINAL - Static variable in annotation type org.spockframework.runtime.model.FeatureMetadata
- ORDINAL - Static variable in annotation type org.spockframework.runtime.model.FieldMetadata
- org.spockframework.builder - package org.spockframework.builder
- org.spockframework.buildsupport - package org.spockframework.buildsupport
- org.spockframework.buildsupport.ant - package org.spockframework.buildsupport.ant
- org.spockframework.compiler - package org.spockframework.compiler
- org.spockframework.compiler.model - package org.spockframework.compiler.model
- org.spockframework.gentyref - package org.spockframework.gentyref
- org.spockframework.guice - package org.spockframework.guice
- org.spockframework.lang - package org.spockframework.lang
- org.spockframework.mock - package org.spockframework.mock
-
Spock's built-in mocking framework.
- org.spockframework.mock.constraint - package org.spockframework.mock.constraint
- org.spockframework.mock.response - package org.spockframework.mock.response
- org.spockframework.mock.runtime - package org.spockframework.mock.runtime
- org.spockframework.report.log - package org.spockframework.report.log
- org.spockframework.runtime - package org.spockframework.runtime
- org.spockframework.runtime.condition - package org.spockframework.runtime.condition
- org.spockframework.runtime.extension - package org.spockframework.runtime.extension
- org.spockframework.runtime.extension.builtin - package org.spockframework.runtime.extension.builtin
- org.spockframework.runtime.model - package org.spockframework.runtime.model
- org.spockframework.util - package org.spockframework.util
- org.spockframework.util.inspector - package org.spockframework.util.inspector
- OTHER - Enum constant in enum spock.util.environment.OperatingSystem.Family
-
An operating system other than those listed above.
P
- Pair<E1,
E2> - Class in org.spockframework.util -
An immmutable pair of elements.
- PARAMETER_NAMES - Static variable in annotation type org.spockframework.runtime.model.FeatureMetadata
- ParameterizedSpecRunner - Class in org.spockframework.runtime
-
Adds the ability to run parameterized features.
- ParameterizedSpecRunner(SpecInfo, IRunSupervisor) - Constructor for class org.spockframework.runtime.ParameterizedSpecRunner
- parameterNames() - Element in annotation type org.spockframework.runtime.model.FeatureMetadata
- parse(String) - Static method in class org.spockframework.util.VersionNumber
- parse(MethodCallExpression, BinaryExpression) - Static method in class org.spockframework.compiler.SpecialMethodCall
- PojoBuilder - Class in org.spockframework.builder
- PojoBuilder() - Constructor for class org.spockframework.builder.PojoBuilder
- PojoGestalt - Class in org.spockframework.builder
- PojoGestalt(Object, Type, IBlueprint, List<ISlotFactory>) - Constructor for class org.spockframework.builder.PojoGestalt
- PollingConditions - Class in spock.util.concurrent
-
Repeatedly evaluates one or more conditions until they are satisfied or a timeout has elapsed.
- PollingConditions() - Constructor for class spock.util.concurrent.PollingConditions
- PositionalArgumentListConstraint - Class in org.spockframework.mock.constraint
- PositionalArgumentListConstraint(List<IArgumentConstraint>) - Constructor for class org.spockframework.mock.constraint.PositionalArgumentListConstraint
- PreconditionContext - Class in org.spockframework.runtime.extension.builtin
- PreconditionContext() - Constructor for class org.spockframework.runtime.extension.builtin.PreconditionContext
- print(boolean) - Method in class org.spockframework.util.StringMessagePrintStream
- print(boolean) - Method in class org.spockframework.util.TeePrintStream
- print(char) - Method in class org.spockframework.util.StringMessagePrintStream
- print(char) - Method in class org.spockframework.util.TeePrintStream
- print(char[]) - Method in class org.spockframework.util.StringMessagePrintStream
- print(char[]) - Method in class org.spockframework.util.TeePrintStream
- print(double) - Method in class org.spockframework.util.StringMessagePrintStream
- print(double) - Method in class org.spockframework.util.TeePrintStream
- print(float) - Method in class org.spockframework.util.StringMessagePrintStream
- print(float) - Method in class org.spockframework.util.TeePrintStream
- print(int) - Method in class org.spockframework.util.StringMessagePrintStream
- print(int) - Method in class org.spockframework.util.TeePrintStream
- print(long) - Method in class org.spockframework.util.StringMessagePrintStream
- print(long) - Method in class org.spockframework.util.TeePrintStream
- print(Object) - Method in class org.spockframework.util.StringMessagePrintStream
- print(Object) - Method in class org.spockframework.util.TeePrintStream
- print(String) - Method in class org.spockframework.util.StringMessagePrintStream
- print(String) - Method in class org.spockframework.util.TeePrintStream
- printed(String) - Method in class org.spockframework.util.StringMessagePrintStream
- printf(String, Object...) - Method in class org.spockframework.util.TeePrintStream
- printf(Locale, String, Object...) - Method in class org.spockframework.util.TeePrintStream
- println() - Method in class org.spockframework.util.StringMessagePrintStream
- println() - Method in class org.spockframework.util.TeePrintStream
- println(boolean) - Method in class org.spockframework.util.StringMessagePrintStream
- println(boolean) - Method in class org.spockframework.util.TeePrintStream
- println(char) - Method in class org.spockframework.util.StringMessagePrintStream
- println(char) - Method in class org.spockframework.util.TeePrintStream
- println(char[]) - Method in class org.spockframework.util.StringMessagePrintStream
- println(char[]) - Method in class org.spockframework.util.TeePrintStream
- println(double) - Method in class org.spockframework.util.StringMessagePrintStream
- println(double) - Method in class org.spockframework.util.TeePrintStream
- println(float) - Method in class org.spockframework.util.StringMessagePrintStream
- println(float) - Method in class org.spockframework.util.TeePrintStream
- println(int) - Method in class org.spockframework.util.StringMessagePrintStream
- println(int) - Method in class org.spockframework.util.TeePrintStream
- println(long) - Method in class org.spockframework.util.StringMessagePrintStream
- println(long) - Method in class org.spockframework.util.TeePrintStream
- println(Object) - Method in class org.spockframework.util.StringMessagePrintStream
- println(Object) - Method in class org.spockframework.util.TeePrintStream
- println(String) - Method in class org.spockframework.util.StringMessagePrintStream
- println(String) - Method in class org.spockframework.util.TeePrintStream
- printStackTrace(Throwable) - Static method in class org.spockframework.util.ExceptionUtil
- printStackTrace(Throwable) - Static method in class org.spockframework.util.TextUtil
- proceed() - Method in interface org.spockframework.runtime.extension.IMethodInvocation
-
Proceeds with the method call.
- proceed() - Method in class org.spockframework.runtime.extension.MethodInvocation
- PropertySlot - Class in org.spockframework.builder
- propertyToMethodName(String, String) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
- ProxyBasedMockFactory - Class in org.spockframework.mock.runtime
-
Some implementation details of this class are inspired from Spring, EasyMock Class Extensions, JMock, Mockito, and this thread: http://www.nabble.com/Callbacks%2C-classes-and-instances-to4092596.html
- ProxyBasedMockFactory() - Constructor for class org.spockframework.mock.runtime.ProxyBasedMockFactory
- putAll(Map, Map...) - Static method in class org.spockframework.util.CollectionUtil
Q
- quiet() - Element in annotation type spock.lang.AutoCleanup
R
- readValue(Object) - Method in class org.spockframework.runtime.model.FieldInfo
- REALIZE_NAS - Static variable in class org.spockframework.runtime.ValueRecorder
- realizeNas(int, Object) - Method in class org.spockframework.runtime.ValueRecorder
-
Materializes N/A values without recording a new value.
- reason() - Element in annotation type spock.lang.FailsWith
-
The reason for the failure.
- record(int, Object) - Method in class org.spockframework.runtime.ValueRecorder
-
Records and returns the specified value.
- RECORD - Static variable in class org.spockframework.runtime.ValueRecorder
- ReflectionUtil - Class in org.spockframework.util
- ReflectionUtil() - Constructor for class org.spockframework.util.ReflectionUtil
- RegexMethodNameConstraint - Class in org.spockframework.mock.constraint
- RegexMethodNameConstraint(String) - Constructor for class org.spockframework.mock.constraint.RegexMethodNameConstraint
- RegexPropertyNameConstraint - Class in org.spockframework.mock.constraint
- RegexPropertyNameConstraint(String) - Constructor for class org.spockframework.mock.constraint.RegexPropertyNameConstraint
- remove(Object) - Method in class org.spockframework.util.AbstractMultiset
- removeAll(Collection<?>) - Method in class org.spockframework.util.AbstractMultiset
- removeStandardStreamsListener(IStandardStreamsListener) - Method in class org.spockframework.runtime.StandardStreamsCapturer
- render(CharSequence, CharSequence, List<EditOperation>) - Method in class org.spockframework.runtime.condition.EditPathRenderer
- render(Object) - Method in class org.spockframework.runtime.condition.DiffedArrayRenderer
- render(Object) - Method in class org.spockframework.runtime.condition.DiffedObjectAsBeanRenderer
- render(Object) - Method in class org.spockframework.runtime.condition.DiffedObjectAsStringRenderer
- render(Object) - Method in class org.spockframework.runtime.condition.ObjectRendererService
- render(Collection) - Method in class org.spockframework.runtime.condition.DiffedCollectionRenderer
- render(Map) - Method in class org.spockframework.runtime.condition.DiffedMapRenderer
- render(Set) - Method in class org.spockframework.runtime.condition.DiffedSetRenderer
- render(ExpressionInfo) - Static method in class org.spockframework.runtime.ExpressionInfoRenderer
- render(ExpressionInfo) - Static method in class org.spockframework.runtime.ExpressionInfoValueRenderer
- render(T) - Method in interface org.spockframework.runtime.condition.IObjectRenderer
- repeatChar(char, int) - Static method in class org.spockframework.util.TextUtil
- replace(Statement) - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
-
Visits the specified statement.
- replaceAll(List<T>) - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
-
Visits the statements in the specified mutable list.
- replaceAllExprs(List<T>) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- replaceExpr(Expression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- replaceVisitedExpressionWith(Expression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- replaceVisitedStatementWith(Statement) - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
-
Replaces the currently visited statement with the specified statement.
- ReportLogClient - Class in org.spockframework.report.log
- ReportLogClient(String, int) - Constructor for class org.spockframework.report.log.ReportLogClient
- ReportLogConfiguration - Class in org.spockframework.report.log
- ReportLogConfiguration() - Constructor for class org.spockframework.report.log.ReportLogConfiguration
- ReportLogExtension - Class in org.spockframework.report.log
- ReportLogExtension() - Constructor for class org.spockframework.report.log.ReportLogExtension
- ReportLogWriter - Class in org.spockframework.report.log
- ReportLogWriter(File) - Constructor for class org.spockframework.report.log.ReportLogWriter
- reportServerAddress - Variable in class org.spockframework.report.log.ReportLogConfiguration
- reportServerPort - Variable in class org.spockframework.report.log.ReportLogConfiguration
- Requires - Annotation Type in spock.lang
-
Ignores the annotated spec or feature unless the given condition holds.
- RequiresExtension - Class in org.spockframework.runtime.extension.builtin
- RequiresExtension() - Constructor for class org.spockframework.runtime.extension.builtin.RequiresExtension
- reset() - Method in class org.spockframework.runtime.ValueRecorder
- RESET - Static variable in class org.spockframework.runtime.ValueRecorder
- resetStatus(int) - Method in class org.spockframework.runtime.BaseSpecRunner
- respond(IMockInvocation) - Method in class org.spockframework.mock.CallRealMethodResponse
- respond(IMockInvocation) - Method in class org.spockframework.mock.EmptyOrDummyResponse
- respond(IMockInvocation) - Method in interface org.spockframework.mock.IResponseGenerator
- respond(IMockInvocation) - Method in class org.spockframework.mock.response.DefaultResponseGenerator
- respond(IMockInvocation) - Method in class org.spockframework.mock.response.IterableResponseGenerator
- respond(IMockInvocation) - Method in class org.spockframework.mock.response.ResponseGeneratorChain
- respond(IMockInvocation) - Method in class org.spockframework.mock.response.SingleResponseGenerator
- respond(IMockInvocation) - Method in class org.spockframework.mock.runtime.CglibRealMethodInvoker
- respond(IMockInvocation) - Method in class org.spockframework.mock.runtime.FailingRealMethodInvoker
- respond(IMockInvocation) - Method in class org.spockframework.mock.runtime.GroovyRealMethodInvoker
- respond(IMockInvocation) - Method in class org.spockframework.mock.ZeroOrNullResponse
- ResponseGeneratorChain - Class in org.spockframework.mock.response
- ResponseGeneratorChain() - Constructor for class org.spockframework.mock.response.ResponseGeneratorChain
- RestoreSystemProperties - Annotation Type in spock.util.environment
-
Saves system properties before the annotated feature method (including any setup and cleanup methods) gets run, and restores them afterwards.
- RestoreSystemPropertiesExtension - Class in org.spockframework.runtime.extension.builtin
- RestoreSystemPropertiesExtension() - Constructor for class org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesExtension
- RestoreSystemPropertiesInterceptor - Class in org.spockframework.runtime.extension.builtin
- result - Variable in class org.spockframework.util.AbstractExpressionConverter
- retainAll(Collection<?>) - Method in class org.spockframework.util.AbstractMultiset
- reverse(List<T>) - Static method in class org.spockframework.util.CollectionUtil
- RevertMetaClassRunListener - Class in org.spockframework.runtime.extension.builtin
- RevertMetaClassRunListener(Set<Class<?>>, Map<String, Set<Class<?>>>) - Constructor for class org.spockframework.runtime.extension.builtin.RevertMetaClassRunListener
- rewrite(ExpressionStatement) - Method in class org.spockframework.compiler.InteractionRewriter
-
If the given statement is a valid interaction definition, returns the rewritten statement.
- rewrite(WhereBlock, IRewriteResources) - Static method in class org.spockframework.compiler.WhereBlockRewriter
- rewriteExplicitCondition(AssertStatement, IRewriteResources) - Static method in class org.spockframework.compiler.ConditionRewriter
- rewriteImplicitCondition(ExpressionStatement, IRewriteResources) - Static method in class org.spockframework.compiler.ConditionRewriter
- ruleClass - Static variable in class org.spockframework.runtime.extension.builtin.AbstractRuleExtension
- RuleExtension - Class in org.spockframework.runtime.extension.builtin
- RuleExtension() - Constructor for class org.spockframework.runtime.extension.builtin.RuleExtension
- ruleFields - Variable in class org.spockframework.runtime.extension.builtin.AbstractRuleInterceptor
- run() - Method in class org.spockframework.runtime.BaseSpecRunner
- run() - Method in class org.spockframework.runtime.ExtensionRunner
- run(RunNotifier) - Method in class org.spockframework.runtime.Sputnik
- runAnnotationDrivenExtensions() - Method in class org.spockframework.runtime.ExtensionRunner
- runAnnotationDrivenExtensions(SpecInfo) - Method in class org.spockframework.runtime.ExtensionRunner
- RunContext - Class in org.spockframework.runtime
- RunnerConfiguration - Class in spock.config
-
Configuration settings for the spec runner.
- RunnerConfiguration() - Constructor for class spock.config.RunnerConfiguration
- runParameterizedFeature() - Method in class org.spockframework.runtime.BaseSpecRunner
- runParameterizedFeature() - Method in class org.spockframework.runtime.ParameterizedSpecRunner
- runStatus - Variable in class org.spockframework.runtime.BaseSpecRunner
- RunStatus - Class in org.spockframework.runtime
- RunStatus() - Constructor for class org.spockframework.runtime.RunStatus
S
- 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.
- SeeExtension - Class in org.spockframework.runtime.extension.builtin
- SeeExtension() - Constructor for class org.spockframework.runtime.extension.builtin.SeeExtension
- 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
- setArguments(Object[]) - Method in interface org.spockframework.runtime.extension.IMethodInvocation
-
Sets the arguments for this method invocation.
- setArguments(Object[]) - Method in class org.spockframework.runtime.extension.MethodInvocation
- setAst(A) - Method in class org.spockframework.compiler.model.Node
- setCleanupMethod(FixtureMethod) - Method in class org.spockframework.compiler.model.Spec
- setCleanupSpecMethod(FixtureMethod) - Method in class org.spockframework.compiler.model.Spec
- setCompilePhase(CompilePhase) - Method in class org.spockframework.util.inspector.AstInspector
-
Sets the compile phase up to which compilation should proceed.
- setCurrentIteration(IterationInfo) - Method in class org.spockframework.runtime.SpecificationContext
- setCurrentSpec(SpecInfo) - Method in class org.spockframework.runtime.SpecificationContext
- 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
- setError() - Method in class org.spockframework.util.TeePrintStream
- setExcluded(boolean) - Method in interface org.spockframework.runtime.model.IExcludable
- setExcluded(boolean) - Method in class org.spockframework.runtime.model.MethodInfo
- setExcluded(boolean) - Method in class org.spockframework.runtime.model.SpecElementInfo
- 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
- setIndent(String) - Method in class org.spockframework.util.JsonWriter
- 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
- 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
- setLiveUpdate(boolean) - Method in class org.spockframework.report.log.ReportLogWriter
- setMetaClass(Class<?>, MetaClass) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
- setMetaClass(Object, 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
- setNarrative(String) - Method in class org.spockframework.runtime.model.SpecInfo
- 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
- setPackage(String) - Method in class org.spockframework.runtime.model.SpecInfo
- setParent(P) - Method in class org.spockframework.runtime.model.NodeInfo
- setPostfix(String) - Method in class org.spockframework.report.log.ReportLogWriter
- setPrefix(String) - Method in class org.spockframework.report.log.ReportLogWriter
- setPrettyPrint(boolean) - Method in class org.spockframework.report.log.ReportLogWriter
- setPrettyPrint(boolean) - Method in class org.spockframework.util.JsonWriter
- setPrevious(Block) - Method in class org.spockframework.compiler.model.Block
- 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.
- 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
- 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
- setSetupSpecMethod(FixtureMethod) - Method in class org.spockframework.compiler.model.Spec
- 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 interface org.spockframework.runtime.model.ISkippable
- setSkipped(boolean) - Method in class org.spockframework.runtime.model.SpecElementInfo
- 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(Throwable) - Method in class org.spockframework.runtime.SpecificationContext
- setThrownException(Expression) - Method in class org.spockframework.compiler.SpecRewriter
- 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 - Enum constant in enum org.spockframework.compiler.model.BlockParseInfo
- SETUP - Enum constant in enum org.spockframework.runtime.model.BlockKind
- SETUP - Enum constant in enum org.spockframework.runtime.model.MethodKind
- SETUP - Static variable in class org.spockframework.util.Identifiers
- SETUP_METHOD - Static variable in class org.spockframework.util.Identifiers
- SETUP_SPEC - Enum constant in enum org.spockframework.runtime.model.MethodKind
- 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(FieldNode, int) - Static method in class org.spockframework.compiler.AstUtil
- setVisibility(MethodNode, 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 - Enum constant in enum org.spockframework.runtime.model.MethodKind
- 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
- SKIP - Enum constant in enum org.spockframework.runtime.condition.EditOperation.Kind
- sneakyThrow(Throwable) - Static method in class org.spockframework.util.ExceptionUtil
-
Allows to throw an unchecked exception without declaring it in a throws clause.
- SOLARIS - Enum constant in enum spock.util.environment.OperatingSystem.Family
-
A Solaris operating system.
- 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 - Variable in class org.spockframework.runtime.BaseSpecRunner
- Spec - Class in org.spockframework.compiler.model
-
AST node representing a Spock specification.
- Spec(ClassNode) - Constructor for class org.spockframework.compiler.model.Spec
- SPEC - Static variable in class org.spockframework.runtime.RunStatus
- SPEC_EXECUTION - Enum constant in enum org.spockframework.runtime.model.MethodKind
- 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
- SpecElementInfo<P,
R> - Class in org.spockframework.runtime.model - SpecElementInfo() - Constructor for class org.spockframework.runtime.model.SpecElementInfo
- SpecialMethodCall - Class in org.spockframework.compiler
- SpecialMethodCall(String, Expression, Expression, MethodCallExpression, BinaryExpression, ClosureExpression, boolean) - Constructor for class org.spockframework.compiler.SpecialMethodCall
- Specification - Class in spock.lang
-
Base class for Spock specifications.
- Specification - Variable in class org.spockframework.compiler.AstNodeCache
- 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 - Class in org.spockframework.lang
- SpecInternals - Variable in class org.spockframework.compiler.AstNodeCache
- SpecInternals() - Constructor for class org.spockframework.lang.SpecInternals
- SpecInternals_GetSpecificationContext - 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.
- SpecMetadata - Variable in class org.spockframework.compiler.AstNodeCache
- 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 class org.spockframework.runtime.AsyncRunListener
- 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.environment - package spock.util.environment
-
Utilities for dealing with the test environment.
- 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 - Exception Class in org.spockframework.runtime
- SpockAssertionError() - Constructor for exception class org.spockframework.runtime.SpockAssertionError
- SpockAssertionError(String) - Constructor for exception class org.spockframework.runtime.SpockAssertionError
- SpockAssertionError(String, Throwable) - Constructor for exception class org.spockframework.runtime.SpockAssertionError
- SpockAssertionError(Throwable) - Constructor for exception class org.spockframework.runtime.SpockAssertionError
- SpockComparisonFailure - Exception Class in org.spockframework.runtime
-
Thrown when a condition of the form 'expr1 == expr2' fails.
- SpockComparisonFailure(Condition, String, String) - Constructor for exception class org.spockframework.runtime.SpockComparisonFailure
- SpockConfigurationGestalt - Class in org.spockframework.builder
- SpockConfigurationGestalt(IConfigurationRegistry, IBlueprint, List<ISlotFactory>) - Constructor for class org.spockframework.builder.SpockConfigurationGestalt
- SpockExecutionException - Exception Class in org.spockframework.runtime
-
Indicates that a problem occurred during Spec execution.
- SpockExecutionException(String) - Constructor for exception class org.spockframework.runtime.SpockExecutionException
- SpockExecutionException(String, Throwable) - Constructor for exception class org.spockframework.runtime.SpockExecutionException
- SpockReleaseInfo - Class in org.spockframework.util
- SpockReleaseInfo() - Constructor for class org.spockframework.util.SpockReleaseInfo
- SpockRuntime - Class in org.spockframework.runtime
- SpockRuntime - Variable in class org.spockframework.compiler.AstNodeCache
- 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 - Exception Class in org.spockframework.runtime
-
Indicates that an operation timed out.
- SpockTimeoutError(double, String) - Constructor for exception class org.spockframework.runtime.SpockTimeoutError
- SpockTimeoutError(double, String, Throwable) - Constructor for exception class 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() - 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(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(Class<T>) - Method in class spock.lang.MockingApi
-
Creates a spy with the specified type.
- Spy(Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a spy with the specified type and interactions.
- 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(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(Map<String, Object>, Class<T>) - Method in class spock.lang.MockingApi
-
Creates a spy with the specified options and type.
- Spy(Map<String, Object>, Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a spy with the specified options, type, and interactions.
- SPY - Enum constant in enum org.spockframework.mock.MockNature
-
A mock object whose method calls are verified, which instantiates class-based mock objects by calling a real constructor, and whose strategy for responding to unexpected method calls is
CallRealMethodResponse. - SPY - Static variable in class org.spockframework.util.Identifiers
- StackTraceFilter - Class in org.spockframework.runtime
-
Filters an exception's stack trace.
- StackTraceFilter(IMethodNameMapper) - Constructor for class org.spockframework.runtime.StackTraceFilter
- standardErr(String) - Method in class org.spockframework.runtime.AsyncStandardStreamsListener
- standardErr(String) - Method in interface org.spockframework.runtime.IStandardStreamsListener
- standardOut(String) - Method in class org.spockframework.runtime.AsyncStandardStreamsListener
- standardOut(String) - Method in interface org.spockframework.runtime.IStandardStreamsListener
- StandardStreamsCapturer - Class in org.spockframework.runtime
- StandardStreamsCapturer() - Constructor for class org.spockframework.runtime.StandardStreamsCapturer
- start() - Method in class org.spockframework.report.log.ReportLogClient
- start() - Method in class org.spockframework.report.log.ReportLogExtension
- start() - Method in class org.spockframework.report.log.ReportLogWriter
- start() - Method in class org.spockframework.runtime.AsyncRunListener
- start() - Method in class org.spockframework.runtime.extension.AbstractGlobalExtension
- start() - Method in interface org.spockframework.runtime.extension.IGlobalExtension
- start() - Method in class org.spockframework.runtime.StandardStreamsCapturer
- startGlobalExtensions() - Method in class org.spockframework.runtime.GlobalExtensionRegistry
- startOf(ASTNode) - Static method in class org.spockframework.runtime.model.TextPosition
- startOf(Token) - 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, Type) - 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
- stop() - Method in class org.spockframework.report.log.ReportLogClient
- stop() - Method in class org.spockframework.report.log.ReportLogExtension
- stop() - Method in class org.spockframework.report.log.ReportLogWriter
- stop() - Method in class org.spockframework.runtime.AsyncRunListener
- stop() - Method in class org.spockframework.runtime.extension.AbstractGlobalExtension
- stop() - Method in interface org.spockframework.runtime.extension.IGlobalExtension
- stop() - Method in class org.spockframework.runtime.StandardStreamsCapturer
- stop() - Method in interface org.spockframework.util.IStoppable
- stopDelegation() - Method in class org.spockframework.util.TeePrintStream
- stopGlobalExtensions() - Method in class org.spockframework.runtime.GlobalExtensionRegistry
- stopQuietly(IStoppable...) - Static method in class org.spockframework.util.IoUtil
- StringMessagePrintStream - Class in org.spockframework.util
-
Delegates all PrintStream invocations to
StringMessagePrintStream.printed(String). - StringMessagePrintStream() - Constructor for class org.spockframework.util.StringMessagePrintStream
- 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(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(Class<T>) - Method in class spock.lang.MockingApi
-
Creates a stub with the specified type.
- Stub(Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a stub with the specified type and interactions.
- 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(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(Map<String, Object>, Class<T>) - Method in class spock.lang.MockingApi
-
Creates a stub with the specified options and type.
- Stub(Map<String, Object>, Class<T>, Closure) - Method in class spock.lang.MockingApi
-
Creates a stub with the specified options, type, and interactions.
- STUB - Enum constant in enum org.spockframework.mock.MockNature
-
A mock object whose method calls are not verified, which instantiates class-based mock objects with Objenesis, and whose strategy for responding to unexpected method calls is
EmptyOrDummyResponse. - STUB - Static variable in class org.spockframework.util.Identifiers
- Subject - Annotation Type in spock.lang
-
Indicates which objects/classes are the subjects of a specification.
- SUBSTITUTE - Enum constant in enum org.spockframework.runtime.condition.EditOperation.Kind
- supervisor - Variable in class org.spockframework.runtime.BaseSpecRunner
T
- Tag - Class in org.spockframework.runtime.model
-
Expresses a fact about a spec element.
- Tag(String) - Constructor for class org.spockframework.runtime.model.Tag
- Tag(String, String) - Constructor for class org.spockframework.runtime.model.Tag
- Tag(String, String, Object) - Constructor for class org.spockframework.runtime.model.Tag
- Tag(String, String, Object, String) - Constructor for class org.spockframework.runtime.model.Tag
- TargetConstraint - Class in org.spockframework.mock.constraint
- TargetConstraint(Object) - Constructor for class org.spockframework.mock.constraint.TargetConstraint
- TeePrintStream - Class in org.spockframework.util
- TeePrintStream(PrintStream...) - Constructor for class org.spockframework.util.TeePrintStream
- TeePrintStream(List<PrintStream>) - Constructor for class org.spockframework.util.TeePrintStream
- TEST_DOUBLE_METHODS - Static variable in class org.spockframework.util.Identifiers
- testRuleClass - Static variable in class org.spockframework.runtime.extension.builtin.AbstractRuleExtension
- TestRuleInterceptor - Class in org.spockframework.runtime.extension.builtin
- TestRuleInterceptor(List<FieldInfo>) - Constructor for class org.spockframework.runtime.extension.builtin.TestRuleInterceptor
- TEXT_NOT_AVAILABLE - Static variable in class org.spockframework.runtime.model.ExpressionInfo
- TextPosition - Class in org.spockframework.runtime.model
-
A position in a text, given as a line/column pair.
- TextRegion - Class in org.spockframework.runtime.model
-
A region of text spanning all characters between a start position (inclusive) and an end position (exclusive).
- texts() - Element in annotation type org.spockframework.runtime.model.BlockMetadata
- TEXTS - Static variable in annotation type org.spockframework.runtime.model.BlockMetadata
- TextUtil - Class in org.spockframework.util
-
Utility methods for text processing.
- TextUtil() - Constructor for class org.spockframework.util.TextUtil
- that(boolean) - Static method in class org.spockframework.util.Assert
- that(boolean, String, Object...) - Static method in class org.spockframework.util.Assert
- that(T, Matcher<? super T>) - Static method in class spock.util.matcher.HamcrestSupport
-
Used to match a value against a (Hamcrest) matcher.
- THEN - Enum constant in enum org.spockframework.compiler.model.BlockParseInfo
- THEN - Enum constant in enum org.spockframework.runtime.model.BlockKind
- THEN - Static variable in class org.spockframework.util.Identifiers
-
Label name identifying a then-block.
- ThenBlock - Class in org.spockframework.compiler.model
-
AST node representing a then-block in a feature method.
- ThenBlock(Method) - Constructor for class org.spockframework.compiler.model.ThenBlock
- thenBlockInteractionStats - Variable in class org.spockframework.compiler.AbstractDeepBlockRewriter
- Third-party matchers - Search tag in spock.util.matcher.HamcrestSupport.that(T, Matcher<? super T>)
- Section
- ThreadSafe - Annotation Type in org.spockframework.util
- Throwable - Variable in class org.spockframework.compiler.AstNodeCache
- throwAll(List<? extends Throwable>) - Static method in class org.spockframework.runtime.extension.ExtensionUtil
- thrown() - Method in class spock.lang.Specification
-
Specifies that the preceding when block should throw an exception.
- thrown(Class<T>) - Method in class spock.lang.Specification
-
Specifies that the preceding when block should throw an exception of the given type.
- THROWN - Static variable in class org.spockframework.util.Identifiers
- Timeout - Annotation Type in spock.lang
-
Indicates that the execution of a method should time out after the given duration has elapsed.
- TimeoutExtension - Class in org.spockframework.runtime.extension.builtin
- TimeoutExtension() - Constructor for class org.spockframework.runtime.extension.builtin.TimeoutExtension
- TimeoutInterceptor - Class in org.spockframework.runtime.extension.builtin
-
Times out a method invocation if it takes too long.
- TimeoutInterceptor(Timeout) - Constructor for class org.spockframework.runtime.extension.builtin.TimeoutInterceptor
- TimeUtil - Class in org.spockframework.util
- TimeUtil() - Constructor for class org.spockframework.util.TimeUtil
- Title - Annotation Type in spock.lang
-
Allows to attach a natural-language name to a spec.
- TitleExtension - Class in org.spockframework.runtime.extension.builtin
- TitleExtension() - Constructor for class org.spockframework.runtime.extension.builtin.TitleExtension
- toArgumentArray(List<Expression>, IRewriteResources) - Static method in class org.spockframework.compiler.AstUtil
-
Turns an argument list obtained from AstUtil.getArguments() into an Object[] array suitable to be passed to InvokerHelper or SpockRuntime.
- toArray() - Method in class org.spockframework.util.AbstractMultiset
- toArray(E[]) - Method in class org.spockframework.util.AbstractMultiset
- toFeatureName(String) - Method in interface org.spockframework.runtime.IMethodNameMapper
- toFeatureName(String) - Method in class org.spockframework.runtime.model.SpecInfo
- toMethod(MetaMethod) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
- TooFewInvocationsError - Exception Class in org.spockframework.mock
-
Thrown to indicate that one or more mandatory interactions matched too few invocations.
- TooFewInvocationsError(List<IMockInteraction>, List<IMockInvocation>) - Constructor for exception class org.spockframework.mock.TooFewInvocationsError
- TooManyInvocationsError - Exception Class in org.spockframework.mock
-
Thrown to indicate that a mandatory interaction matched too many invocations.
- TooManyInvocationsError(IMockInteraction, List<IMockInvocation>) - Constructor for exception class org.spockframework.mock.TooManyInvocationsError
- toSeconds(long, TimeUnit) - Static method in class org.spockframework.util.TimeUtil
- toString() - Method in enum org.spockframework.compiler.model.BlockParseInfo
- toString() - Method in class org.spockframework.compiler.model.Node
- toString() - Method in class org.spockframework.compiler.SpecialMethodCall
- toString() - Method in class org.spockframework.lang.SpreadWildcard
- toString() - Method in class org.spockframework.lang.Wildcard
- toString() - Method in class org.spockframework.mock.runtime.MockInteraction
- toString() - Method in class org.spockframework.mock.runtime.MockInteractionDecorator
- toString() - Method in class org.spockframework.mock.runtime.MockInvocation
- toString() - Method in class org.spockframework.runtime.condition.LineBuilder
- toString() - Method in class org.spockframework.runtime.model.TextPosition
- toString() - Method in class org.spockframework.runtime.model.TextRegion
- toString() - Method in exception class org.spockframework.runtime.SpockAssertionError
- toString() - Method in exception class org.spockframework.runtime.SpockComparisonFailure
- toString() - Method in class org.spockframework.util.VersionNumber
- toString(Object) - Static method in class org.spockframework.runtime.GroovyRuntimeUtil
- toString(Object) - Static method in class org.spockframework.util.ObjectUtil
- TYPE_LAST_ARG - Static variable in class org.spockframework.mock.runtime.InteractionBuilder
- TypeArgumentConstraint - Class in org.spockframework.mock.constraint
- TypeArgumentConstraint(Class<?>, IArgumentConstraint) - Constructor for class org.spockframework.mock.constraint.TypeArgumentConstraint
- typeLastArg(Class<?>) - Method in class org.spockframework.mock.runtime.InteractionBuilder
- TypeToken<T> - Class in org.spockframework.gentyref
-
Wrapper around
Type. - TypeToken() - Constructor for class org.spockframework.gentyref.TypeToken
-
Constructs a type token.
U
- UnallowedExceptionThrownError - Exception Class in org.spockframework.runtime
- UnallowedExceptionThrownError(Class<? extends Throwable>, Throwable) - Constructor for exception class org.spockframework.runtime.UnallowedExceptionThrownError
- unit() - Element in annotation type spock.lang.Timeout
-
Returns the duration's time unit.
- UNKNOWN - Static variable in class org.spockframework.util.VersionNumber
- UnreachableCodeError - Exception Class in org.spockframework.util
- UnreachableCodeError() - Constructor for exception class org.spockframework.util.UnreachableCodeError
- UnreachableCodeError(String) - Constructor for exception class org.spockframework.util.UnreachableCodeError
- UnreachableCodeError(String, Throwable) - Constructor for exception class org.spockframework.util.UnreachableCodeError
- UnreachableCodeError(Throwable) - Constructor for exception class org.spockframework.util.UnreachableCodeError
- Unroll - Annotation Type in spock.lang
-
Indicates that iterations of a data-driven feature should be made visible as separate features to the outside world (IDEs, reports, etc.).
- UnrollExtension - Class in org.spockframework.runtime.extension.builtin
- UnrollExtension() - Constructor for class org.spockframework.runtime.extension.builtin.UnrollExtension
- UnrollNameProvider - Class in org.spockframework.runtime.extension.builtin
- UnrollNameProvider(FeatureInfo, String) - Constructor for class org.spockframework.runtime.extension.builtin.UnrollNameProvider
- unsupported() - Method in class org.spockframework.util.AbstractExpressionConverter
- Use - Annotation Type in spock.util.mop
-
Activates one or more Groovy categories while the annotated spec method or class executes.
- UseExtension - Class in org.spockframework.runtime.extension.builtin
- UseExtension() - Constructor for class org.spockframework.runtime.extension.builtin.UseExtension
- UseInterceptor - Class in org.spockframework.runtime.extension.builtin
- UseInterceptor(List<Class>) - Constructor for class org.spockframework.runtime.extension.builtin.UseInterceptor
- UseModules - Annotation Type in spock.guice
-
Activates Guice integration for a specification.
V
- value() - Element in annotation type org.spockframework.runtime.extension.ExtensionAnnotation
- value() - Element in annotation type org.spockframework.util.inspector.Inspect
-
The name of the inspection mark.
- value() - Element in annotation type spock.config.ConfigurationObject
- value() - Element in annotation type spock.guice.UseModules
- value() - Element in annotation type spock.lang.AutoCleanup
- value() - Element in annotation type spock.lang.FailsWith
-
The expected exception type.
- value() - Element in annotation type spock.lang.Ignore
-
The reason for ignoring this element.
- value() - Element in annotation type spock.lang.IgnoreIf
- value() - Element in annotation type spock.lang.Issue
-
The IDs of the issues that the annotated element relates to.
- value() - Element in annotation type spock.lang.Narrative
- value() - Element in annotation type spock.lang.Requires
- value() - Element in annotation type spock.lang.See
-
References to external information related to a specification or feature.
- value() - Element in annotation type spock.lang.Subject
-
The classes which are the subjects of the specification.
- value() - Element in annotation type spock.lang.Timeout
-
Returns the duration after which the execution of the annotated feature or fixture method times out.
- value() - Element in annotation type spock.lang.Title
- value() - Element in annotation type spock.lang.Unroll
- value() - Element in annotation type spock.util.mop.ConfineMetaClassChanges
-
The classes whose meta class changes are to be confined.
- value() - Element in annotation type spock.util.mop.Use
- VALUE_NOT_AVAILABLE - Static variable in class org.spockframework.runtime.model.ExpressionInfo
-
Indicates that an expression's value is not available, either because the expression has no value (e.g.
- valueOf(String) - Static method in enum org.spockframework.compiler.model.BlockParseInfo
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.spockframework.mock.MockImplementation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.spockframework.mock.MockNature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.spockframework.runtime.condition.EditOperation.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.spockframework.runtime.model.BlockKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.spockframework.runtime.model.MethodKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum spock.util.environment.OperatingSystem.Family
-
Returns the enum constant of this type with the specified name.
- ValueRecorder - Class in org.spockframework.runtime
-
Records the values in a condition.
- ValueRecorder - Variable in class org.spockframework.compiler.AstNodeCache
- ValueRecorder() - Constructor for class org.spockframework.runtime.ValueRecorder
- ValueRecorder_RealizeNas - Variable in class org.spockframework.compiler.AstNodeCache
- ValueRecorder_Record - Variable in class org.spockframework.compiler.AstNodeCache
- ValueRecorder_Reset - Variable in class org.spockframework.compiler.AstNodeCache
- values() - Static method in enum org.spockframework.compiler.model.BlockParseInfo
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.spockframework.mock.MockImplementation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.spockframework.mock.MockNature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.spockframework.runtime.condition.EditOperation.Kind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.spockframework.runtime.model.BlockKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.spockframework.runtime.model.MethodKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum spock.util.environment.OperatingSystem.Family
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERIFY_CONDITION - Static variable in class org.spockframework.runtime.SpockRuntime
- VERIFY_METHOD_CONDITION - Static variable in class org.spockframework.runtime.SpockRuntime
- verifyCondition(ValueRecorder, String, int, int, Object, Object) - Static method in class org.spockframework.runtime.SpockRuntime
- verifyInteractions() - Method in class org.spockframework.mock.DefaultJavaLangObjectInteractions
- verifyInteractions() - Method in interface org.spockframework.mock.IInteractionScope
- verifyInteractions() - Method in class org.spockframework.mock.runtime.InteractionScope
- verifyMethodCondition(ValueRecorder, String, int, int, Object, Object, String, Object[], boolean, boolean) - Static method in class org.spockframework.runtime.SpockRuntime
- VersionChecker - Class in org.spockframework.util
- VersionChecker() - Constructor for class org.spockframework.util.VersionChecker
- VersionNumber - Class in org.spockframework.util
-
A version number with format major.minor.micro-qualifier.
- VersionNumber(int, int, int, String) - Constructor for class org.spockframework.util.VersionNumber
- visit(ASTNode[], SourceUnit) - Method in class org.spockframework.compiler.SpockTransform
- visit(Block) - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
- visit(Block) - Method in class org.spockframework.compiler.DeepBlockRewriter
- visitAnonymousBlock(AnonymousBlock) - Method in class org.spockframework.compiler.AbstractSpecVisitor
- visitAnonymousBlock(AnonymousBlock) - Method in interface org.spockframework.compiler.model.ISpecVisitor
- visitAnyBlock(Block) - Method in class org.spockframework.compiler.AbstractSpecVisitor
- visitAnyBlock(Block) - Method in interface org.spockframework.compiler.model.ISpecVisitor
- visitAnyBlock(Block) - Method in class org.spockframework.compiler.SpecRewriter
- visitArgumentlistExpression(ArgumentListExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitArgumentlistExpression(ArgumentListExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitArgumentlistExpression(ArgumentListExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitArrayExpression(ArrayExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitArrayExpression(ArrayExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitArrayExpression(ArrayExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitAssertStatement(AssertStatement) - Method in class org.spockframework.compiler.DeepBlockRewriter
- visitAssertStatement(AssertStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitAssertStatement(AssertStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitAttributeExpression(AttributeExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitAttributeExpression(AttributeExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitAttributeExpression(AttributeExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitBinaryExpression(BinaryExpression) - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
- visitBinaryExpression(BinaryExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitBinaryExpression(BinaryExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitBinaryExpression(BinaryExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitBitwiseNegationExpression(BitwiseNegationExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitBitwiseNegationExpression(BitwiseNegationExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitBitwiseNegationExpression(BitwiseNegationExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitBlockStatement(BlockStatement) - Method in class org.spockframework.compiler.DeepBlockRewriter
- visitBlockStatement(BlockStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitBlockStatement(BlockStatement) - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
- visitBlockStatement(BlockStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitBooleanExpression(BooleanExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitBooleanExpression(BooleanExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitBooleanExpression(BooleanExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitBreakStatement(BreakStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitBreakStatement(BreakStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitBytecodeExpression(BytecodeExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitBytecodeExpression(BytecodeExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitBytecodeExpression(BytecodeExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitCaseStatement(CaseStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitCaseStatement(CaseStatement) - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
- visitCaseStatement(CaseStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitCastExpression(CastExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitCastExpression(CastExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitCastExpression(CastExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitCatchStatement(CatchStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitCatchStatement(CatchStatement) - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
- visitCatchStatement(CatchStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitClass(ClassNode) - Method in class org.spockframework.compiler.SpecParser
- visitClassExpression(ClassExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitClassExpression(ClassExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitClassExpression(ClassExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitCleanupBlock(CleanupBlock) - Method in class org.spockframework.compiler.AbstractSpecVisitor
- visitCleanupBlock(CleanupBlock) - Method in interface org.spockframework.compiler.model.ISpecVisitor
- visitCleanupBlock(CleanupBlock) - Method in class org.spockframework.compiler.SpecAnnotator
- visitCleanupBlock(CleanupBlock) - Method in class org.spockframework.compiler.SpecRewriter
- visitClosureExpression(ClosureExpression) - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
- visitClosureExpression(ClosureExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitClosureExpression(ClosureExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitClosureExpression(ClosureExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitClosureListExpression(ClosureListExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitClosureListExpression(ClosureListExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitClosureListExpression(ClosureListExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitConstantExpression(ConstantExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitConstantExpression(ConstantExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitConstantExpression(ConstantExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitConstructor(ConstructorNode) - Method in class org.spockframework.compiler.SpecParser
- visitConstructorCallExpression(ConstructorCallExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitConstructorCallExpression(ConstructorCallExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitConstructorCallExpression(ConstructorCallExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitContinueStatement(ContinueStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitContinueStatement(ContinueStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitDeclarationExpression(DeclarationExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitDeclarationExpression(DeclarationExpression) - Method in class org.spockframework.compiler.DeepBlockRewriter
- visitDeclarationExpression(DeclarationExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitDeclarationExpression(DeclarationExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitDoWhileLoop(DoWhileStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitDoWhileLoop(DoWhileStatement) - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
- visitDoWhileLoop(DoWhileStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitExpectBlock(ExpectBlock) - Method in class org.spockframework.compiler.AbstractSpecVisitor
- visitExpectBlock(ExpectBlock) - Method in interface org.spockframework.compiler.model.ISpecVisitor
- visitExpectBlock(ExpectBlock) - Method in class org.spockframework.compiler.SpecAnnotator
- visitExpressionStatement(ExpressionStatement) - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
- visitExpressionStatement(ExpressionStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitExpressionStatement(ExpressionStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitFeatureAnnotation(FailsWith, FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.FailsWithExtension
- visitFeatureAnnotation(IgnoreIf, FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.IgnoreIfExtension
- visitFeatureAnnotation(IgnoreRest, FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.IgnoreRestExtension
- visitFeatureAnnotation(Ignore, FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.IgnoreExtension
- visitFeatureAnnotation(Issue, FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.IssueExtension
- visitFeatureAnnotation(Requires, FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.RequiresExtension
- visitFeatureAnnotation(See, FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.SeeExtension
- visitFeatureAnnotation(Timeout, FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.TimeoutExtension
- visitFeatureAnnotation(Unroll, FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.UnrollExtension
- visitFeatureAnnotation(RestoreSystemProperties, FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesExtension
- visitFeatureAnnotation(ConfineMetaClassChanges, FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.ConfineMetaClassChangesExtension
- visitFeatureAnnotation(Use, FeatureInfo) - Method in class org.spockframework.runtime.extension.builtin.UseExtension
- visitFeatureAnnotation(T, FeatureInfo) - Method in class org.spockframework.runtime.extension.AbstractAnnotationDrivenExtension
- visitFeatureAnnotation(T, FeatureInfo) - Method in interface org.spockframework.runtime.extension.IAnnotationDrivenExtension
- visitField(FieldNode) - Method in class org.spockframework.compiler.SpecParser
- visitField(Field) - Method in class org.spockframework.compiler.AbstractSpecVisitor
- visitField(Field) - Method in interface org.spockframework.compiler.model.ISpecVisitor
- visitField(Field) - Method in class org.spockframework.compiler.SpecAnnotator
- visitField(Field) - Method in class org.spockframework.compiler.SpecRewriter
- visitFieldAnnotation(AutoCleanup, FieldInfo) - Method in class org.spockframework.runtime.extension.builtin.AutoCleanupExtension
- visitFieldAnnotation(T, FieldInfo) - Method in class org.spockframework.runtime.extension.AbstractAnnotationDrivenExtension
- visitFieldAnnotation(T, FieldInfo) - Method in interface org.spockframework.runtime.extension.IAnnotationDrivenExtension
- visitFieldExpression(FieldExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitFieldExpression(FieldExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitFieldExpression(FieldExpression) - Method in class org.spockframework.compiler.InstanceFieldAccessChecker
- visitFieldExpression(FieldExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitFixtureAnnotation(FailsWith, MethodInfo) - Method in class org.spockframework.runtime.extension.builtin.FailsWithExtension
- visitFixtureAnnotation(Timeout, MethodInfo) - Method in class org.spockframework.runtime.extension.builtin.TimeoutExtension
- visitFixtureAnnotation(Use, MethodInfo) - Method in class org.spockframework.runtime.extension.builtin.UseExtension
- visitFixtureAnnotation(T, MethodInfo) - Method in class org.spockframework.runtime.extension.AbstractAnnotationDrivenExtension
- visitFixtureAnnotation(T, MethodInfo) - Method in interface org.spockframework.runtime.extension.IAnnotationDrivenExtension
- visitForLoop(ForStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitForLoop(ForStatement) - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
- visitForLoop(ForStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitGStringExpression(GStringExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitGStringExpression(GStringExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitGStringExpression(GStringExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitIfElse(IfStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitIfElse(IfStatement) - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
- visitIfElse(IfStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitListExpression(ListExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitListExpression(ListExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitListExpression(ListExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitListOfExpressions(List) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitMapEntryExpression(MapEntryExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitMapEntryExpression(MapEntryExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitMapEntryExpression(MapEntryExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitMapExpression(MapExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitMapExpression(MapExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitMapExpression(MapExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitMethod(MethodNode) - Method in class org.spockframework.compiler.SpecParser
- visitMethod(Method) - Method in class org.spockframework.compiler.AbstractSpecVisitor
- visitMethod(Method) - Method in interface org.spockframework.compiler.model.ISpecVisitor
- visitMethod(Method) - Method in class org.spockframework.compiler.SpecAnnotator
- visitMethod(Method) - Method in class org.spockframework.compiler.SpecRewriter
- visitMethodAgain(Method) - Method in class org.spockframework.compiler.AbstractSpecVisitor
- visitMethodAgain(Method) - Method in interface org.spockframework.compiler.model.ISpecVisitor
- visitMethodAgain(Method) - Method in class org.spockframework.compiler.SpecRewriter
- visitMethodCallExpression(MethodCallExpression) - Method in class org.spockframework.compiler.AbstractDeepBlockRewriter
- visitMethodCallExpression(MethodCallExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitMethodCallExpression(MethodCallExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitMethodCallExpression(MethodCallExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitMethodPointerExpression(MethodPointerExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitMethodPointerExpression(MethodPointerExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitMethodPointerExpression(MethodPointerExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitNotExpression(NotExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitNotExpression(NotExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitNotExpression(NotExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitPostfixExpression(PostfixExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitPostfixExpression(PostfixExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitPostfixExpression(PostfixExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitPrefixExpression(PrefixExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitPrefixExpression(PrefixExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitPrefixExpression(PrefixExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitProperty(PropertyNode) - Method in class org.spockframework.compiler.SpecParser
- visitPropertyExpression(PropertyExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitPropertyExpression(PropertyExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitPropertyExpression(PropertyExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitRangeExpression(RangeExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitRangeExpression(RangeExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitRangeExpression(RangeExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitReturnStatement(ReturnStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitReturnStatement(ReturnStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitSetupBlock(SetupBlock) - Method in class org.spockframework.compiler.AbstractSpecVisitor
- visitSetupBlock(SetupBlock) - Method in interface org.spockframework.compiler.model.ISpecVisitor
- visitSetupBlock(SetupBlock) - Method in class org.spockframework.compiler.SpecAnnotator
- visitShortTernaryExpression(ElvisOperatorExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitShortTernaryExpression(ElvisOperatorExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitShortTernaryExpression(ElvisOperatorExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitSpec(Spec) - Method in class org.spockframework.compiler.AbstractSpecVisitor
- visitSpec(Spec) - Method in interface org.spockframework.compiler.model.ISpecVisitor
- visitSpec(Spec) - Method in class org.spockframework.compiler.SpecAnnotator
- visitSpec(Spec) - Method in class org.spockframework.compiler.SpecRewriter
- visitSpec(SpecInfo) - Method in class org.spockframework.guice.GuiceExtension
- visitSpec(SpecInfo) - Method in class org.spockframework.report.log.ReportLogExtension
- visitSpec(SpecInfo) - Method in class org.spockframework.runtime.extension.AbstractAnnotationDrivenExtension
- visitSpec(SpecInfo) - Method in class org.spockframework.runtime.extension.AbstractGlobalExtension
- visitSpec(SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.AutoCleanupExtension
- visitSpec(SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.ClassRuleExtension
- visitSpec(SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.IgnoreRestExtension
- visitSpec(SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.IncludeExcludeExtension
- visitSpec(SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.OptimizeRunOrderExtension
- visitSpec(SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.RuleExtension
- visitSpec(SpecInfo) - Method in interface org.spockframework.runtime.extension.IAnnotationDrivenExtension
- visitSpec(SpecInfo) - Method in interface org.spockframework.runtime.extension.IGlobalExtension
- visitSpecAgain(Spec) - Method in class org.spockframework.compiler.AbstractSpecVisitor
- visitSpecAgain(Spec) - Method in interface org.spockframework.compiler.model.ISpecVisitor
- visitSpecAnnotation(Annotation, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.StepwiseExtension
- visitSpecAnnotation(UseModules, SpecInfo) - Method in class org.spockframework.guice.GuiceExtension
- visitSpecAnnotation(FailsWith, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.FailsWithExtension
- visitSpecAnnotation(IgnoreIf, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.IgnoreIfExtension
- visitSpecAnnotation(Ignore, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.IgnoreExtension
- visitSpecAnnotation(Issue, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.IssueExtension
- visitSpecAnnotation(Narrative, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.NarrativeExtension
- visitSpecAnnotation(Requires, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.RequiresExtension
- visitSpecAnnotation(See, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.SeeExtension
- visitSpecAnnotation(Timeout, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.TimeoutExtension
- visitSpecAnnotation(Title, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.TitleExtension
- visitSpecAnnotation(Unroll, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.UnrollExtension
- visitSpecAnnotation(RestoreSystemProperties, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesExtension
- visitSpecAnnotation(ConfineMetaClassChanges, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.ConfineMetaClassChangesExtension
- visitSpecAnnotation(Use, SpecInfo) - Method in class org.spockframework.runtime.extension.builtin.UseExtension
- visitSpecAnnotation(T, SpecInfo) - Method in class org.spockframework.runtime.extension.AbstractAnnotationDrivenExtension
- visitSpecAnnotation(T, SpecInfo) - Method in interface org.spockframework.runtime.extension.IAnnotationDrivenExtension
- visitSpreadExpression(SpreadExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitSpreadExpression(SpreadExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitSpreadExpression(SpreadExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitSpreadMapExpression(SpreadMapExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitSpreadMapExpression(SpreadMapExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitSpreadMapExpression(SpreadMapExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitStaticMethodCallExpression(StaticMethodCallExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitStaticMethodCallExpression(StaticMethodCallExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitStaticMethodCallExpression(StaticMethodCallExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitSwitch(SwitchStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitSwitch(SwitchStatement) - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
- visitSwitch(SwitchStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitSynchronizedStatement(SynchronizedStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitSynchronizedStatement(SynchronizedStatement) - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
- visitSynchronizedStatement(SynchronizedStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitTernaryExpression(TernaryExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitTernaryExpression(TernaryExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitTernaryExpression(TernaryExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitThenBlock(ThenBlock) - Method in class org.spockframework.compiler.AbstractSpecVisitor
- visitThenBlock(ThenBlock) - Method in interface org.spockframework.compiler.model.ISpecVisitor
- visitThenBlock(ThenBlock) - Method in class org.spockframework.compiler.SpecAnnotator
- visitThenBlock(ThenBlock) - Method in class org.spockframework.compiler.SpecRewriter
- visitThrowStatement(ThrowStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitThrowStatement(ThrowStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitTryCatchFinally(TryCatchStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitTryCatchFinally(TryCatchStatement) - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
- visitTryCatchFinally(TryCatchStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- visitTupleExpression(TupleExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitTupleExpression(TupleExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitTupleExpression(TupleExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitUnaryMinusExpression(UnaryMinusExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitUnaryMinusExpression(UnaryMinusExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitUnaryMinusExpression(UnaryMinusExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitUnaryPlusExpression(UnaryPlusExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitUnaryPlusExpression(UnaryPlusExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitUnaryPlusExpression(UnaryPlusExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitVariableExpression(VariableExpression) - Method in class org.spockframework.compiler.ConditionRewriter
- visitVariableExpression(VariableExpression) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitVariableExpression(VariableExpression) - Method in class org.spockframework.compiler.InstanceFieldAccessChecker
- visitVariableExpression(VariableExpression) - Method in class org.spockframework.runtime.ExpressionInfoConverter
- visitWhenBlock(WhenBlock) - Method in class org.spockframework.compiler.AbstractSpecVisitor
- visitWhenBlock(WhenBlock) - Method in interface org.spockframework.compiler.model.ISpecVisitor
- visitWhenBlock(WhenBlock) - Method in class org.spockframework.compiler.SpecAnnotator
- visitWhereBlock(WhereBlock) - Method in class org.spockframework.compiler.AbstractSpecVisitor
- visitWhereBlock(WhereBlock) - Method in interface org.spockframework.compiler.model.ISpecVisitor
- visitWhereBlock(WhereBlock) - Method in class org.spockframework.compiler.SpecAnnotator
- visitWhileLoop(WhileStatement) - Method in class org.spockframework.compiler.ExpressionReplacingVisitorSupport
- visitWhileLoop(WhileStatement) - Method in class org.spockframework.compiler.StatementReplacingVisitorSupport
- visitWhileLoop(WhileStatement) - Method in class org.spockframework.util.AbstractExpressionConverter
- voidAwareGetClass(Object) - Static method in class org.spockframework.util.ObjectUtil
W
- WHEN - Enum constant in enum org.spockframework.compiler.model.BlockParseInfo
- WHEN - Enum constant in enum org.spockframework.runtime.model.BlockKind
- WHEN - Static variable in class org.spockframework.util.Identifiers
-
Label name identifying a when-block.
- WhenBlock - Class in org.spockframework.compiler.model
-
AST node representing a when-block in a feature method.
- WhenBlock(Method) - Constructor for class org.spockframework.compiler.model.WhenBlock
- When would I use matchers? - Search tag in spock.util.matcher.HamcrestSupport.that(T, Matcher<? super T>)
- Section
- WHERE - Enum constant in enum org.spockframework.compiler.model.BlockParseInfo
- WHERE - Enum constant in enum org.spockframework.runtime.model.BlockKind
- WHERE - Static variable in class org.spockframework.util.Identifiers
-
Label name identifying a where-block.
- WhereBlock - Class in org.spockframework.compiler.model
- WhereBlock(Method) - Constructor for class org.spockframework.compiler.model.WhereBlock
- WhereBlockRewriter - Class in org.spockframework.compiler
- Wildcard - Class in org.spockframework.lang
- WildcardArgumentConstraint - Class in org.spockframework.mock.constraint
- WildcardMethodNameConstraint - Class in org.spockframework.mock.constraint
- WildcardResponseGenerator - Class in org.spockframework.mock.response
-
Returns the default value for the invoked method's return type.
- WildcardResponseGenerator() - Constructor for class org.spockframework.mock.response.WildcardResponseGenerator
- WINDOWS - Enum constant in enum spock.util.environment.OperatingSystem.Family
-
A Windows operating system.
- with(Object, Closure<?>) - Method in class spock.lang.Specification
-
Sets the specified object as the implicit target of the top-level conditions and/or interactions contained in the specified code block, thereby avoiding the need to repeat the same expression multiple times.
- with(Object, Class<?>, Closure) - Method in class spock.lang.Specification
-
Same as
Specification.with(Object, groovy.lang.Closure), except that it also states that the specified target has the specified type, throwing aSpockAssertionErrorotherwise. - WITH - Static variable in class org.spockframework.util.Identifiers
- withArgs(Object...) - Method in exception class org.spockframework.runtime.extension.ExtensionException
- withArgs(Object...) - Method in exception class org.spockframework.runtime.InvalidSpecException
- withArgs(Object...) - Method in exception class org.spockframework.runtime.SpockExecutionException
- withArgs(Object...) - Method in exception class org.spockframework.util.InternalSpockError
- within(double, Closure<?>) - Method in class spock.util.concurrent.PollingConditions
-
Repeatedly evaluates the specified conditions until they are satisfied or the specified timeout (in seconds) has elapsed.
- withNewContext(String, File, DelegatingScript, List<Class<?>>, boolean, IThrowableFunction<RunContext, T, U>) - Static method in class org.spockframework.runtime.RunContext
- WrappedException - Exception Class in org.spockframework.util
-
Wraps a checked exception s.t.
- WrappedException(String, Throwable) - Constructor for exception class org.spockframework.util.WrappedException
- WrappedException(Throwable) - Constructor for exception class org.spockframework.util.WrappedException
- write(byte[]) - Method in class org.spockframework.util.StringMessagePrintStream
- write(byte[]) - Method in class org.spockframework.util.TeePrintStream
- write(byte[], int, int) - Method in class org.spockframework.util.StringMessagePrintStream
- write(byte[], int, int) - Method in class org.spockframework.util.TeePrintStream
- write(int) - Method in class org.spockframework.util.StringMessagePrintStream
- write(int) - Method in class org.spockframework.util.TeePrintStream
- write(Object) - Method in class org.spockframework.builder.CollectionSlot
- write(Object) - Method in interface org.spockframework.builder.ISlot
- write(Object) - Method in class org.spockframework.builder.PropertySlot
- write(Object) - Method in class org.spockframework.builder.SetterLikeSlot
- write(Object) - Method in class org.spockframework.util.JsonWriter
- writeValue(Object, Object) - Method in class org.spockframework.runtime.model.FieldInfo
- WrongExceptionThrownError - Exception Class in org.spockframework.runtime
- WrongExceptionThrownError(Class<? extends Throwable>, Throwable) - Constructor for exception class org.spockframework.runtime.WrongExceptionThrownError
- WrongInvocationOrderError - Exception Class in org.spockframework.mock
-
Thrown if an invocation on a mock object occurs too late.
- WrongInvocationOrderError(IMockInteraction, IMockInvocation) - Constructor for exception class org.spockframework.mock.WrongInvocationOrderError
Z
- ZeroOrNullResponse - Class in org.spockframework.mock
-
A response strategy that returns zero, false, or null, depending on the method's return type.
_
- _ - Static variable in class spock.lang.Specification
-
The wildcard symbol.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
AsyncConditions.await(double)instead