Modifier and Type | Method and Description |
---|---|
ISlot |
ISlotFactory.create(java.lang.Object owner,
java.lang.reflect.Type ownerType,
java.lang.String name) |
IBlueprint |
IGestalt.getBlueprint() |
java.lang.Object |
IBlueprint.getThisObject() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
AstUtil.asInstance(java.lang.Object obj,
java.lang.Class<T> type) |
static org.codehaus.groovy.ast.expr.Expression |
AstUtil.getAssertionMessage(org.codehaus.groovy.ast.stmt.AssertStatement stat) |
org.codehaus.groovy.ast.stmt.Statement |
InteractionRewriter.rewrite(org.codehaus.groovy.ast.stmt.ExpressionStatement stat)
If the given statement is a valid interaction definition, returns the rewritten statement.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
RunContext.getConfiguration(java.lang.Class<T> type) |
ExpressionInfo |
Condition.getExpression() |
java.lang.String |
Condition.getMessage() |
java.lang.String |
Condition.getText() |
java.lang.Iterable<java.lang.Object> |
Condition.getValues() |
DelegatingScript |
ConfigurationScriptLoader.loadAutoDetectedScript() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
HamcrestFacade.getFailureDescription(java.lang.Object matcher,
java.lang.Object value,
java.lang.String message) |
static void |
SpockRuntime.verifyCondition(ValueRecorder recorder,
java.lang.String text,
int line,
int column,
java.lang.Object message,
java.lang.Object condition) |
static void |
SpockRuntime.verifyCondition(ValueRecorder recorder,
java.lang.String text,
int line,
int column,
java.lang.Object message,
java.lang.Object condition) |
static void |
SpockRuntime.verifyCondition(ValueRecorder recorder,
java.lang.String text,
int line,
int column,
java.lang.Object message,
java.lang.Object condition) |
static void |
SpockRuntime.verifyCondition(ValueRecorder recorder,
java.lang.String text,
int line,
int column,
java.lang.Object message,
java.lang.Object condition) |
static void |
SpockRuntime.verifyMethodCondition(ValueRecorder recorder,
java.lang.String text,
int line,
int column,
java.lang.Object message,
java.lang.Object target,
java.lang.String method,
java.lang.Object[] args,
boolean safe,
boolean explicit) |
static void |
SpockRuntime.verifyMethodCondition(ValueRecorder recorder,
java.lang.String text,
int line,
int column,
java.lang.Object message,
java.lang.Object target,
java.lang.String method,
java.lang.Object[] args,
boolean safe,
boolean explicit) |
static void |
SpockRuntime.verifyMethodCondition(ValueRecorder recorder,
java.lang.String text,
int line,
int column,
java.lang.Object message,
java.lang.Object target,
java.lang.String method,
java.lang.Object[] args,
boolean safe,
boolean explicit) |
static <T,U extends java.lang.Throwable> |
RunContext.withNewContext(DelegatingScript configurationScript,
java.util.List<java.lang.Class<?>> extensionClasses,
boolean inheritParentExtensions,
IThrowableFunction<RunContext,T,U> command) |
Constructor and Description |
---|
Condition(java.lang.Iterable<java.lang.Object> values,
java.lang.String text,
TextPosition position,
java.lang.String message) |
Condition(java.lang.Iterable<java.lang.Object> values,
java.lang.String text,
TextPosition position,
java.lang.String message) |
Condition(java.lang.Iterable<java.lang.Object> values,
java.lang.String text,
TextPosition position,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
FeatureInfo |
IMethodInvocation.getFeature()
Returns the feature which this method invocation belongs to (if any).
|
IterationInfo |
IMethodInvocation.getIteration()
Return the iteration which this method invocation belongs to (if any).
|
Modifier and Type | Field and Description |
---|---|
protected static java.lang.Class<?> |
AbstractRuleExtension.methodRuleClass |
protected static java.lang.Class<?> |
AbstractRuleExtension.testRuleClass |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractRuleExtension.hasFieldType(FieldInfo field,
java.lang.Class<?> ruleClass) |
Modifier and Type | Method and Description |
---|---|
org.junit.runner.Description |
NodeInfo.getDescription() |
FeatureInfo |
MethodInfo.getFeature() |
NameProvider<IterationInfo> |
FeatureInfo.getIterationNameProvider() |
java.lang.Object |
NodeInfo.getMetadata() |
Constructor and Description |
---|
ExpressionInfo(TextRegion region,
TextPosition anchor,
java.lang.String operation,
ExpressionInfo... children) |
ExpressionInfo(TextRegion region,
TextPosition anchor,
java.lang.String operation,
java.util.List<ExpressionInfo> children) |
Modifier and Type | Method and Description |
---|---|
static java.lang.reflect.Method |
ReflectionUtil.getDeclaredMethodByName(java.lang.Class<?> clazz,
java.lang.String name) |
static java.lang.reflect.Method |
ReflectionUtil.getDeclaredMethodBySignature(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.Class<?>... parameterTypes) |
static <T> T |
CollectionUtil.getLastElement(java.util.List<T> list) |
static java.lang.reflect.Method |
ReflectionUtil.getMethodByName(java.lang.Class<?> clazz,
java.lang.String name)
Finds a public method with the given name declared in the given
class/interface or one of its super classes/interfaces.
|
static java.lang.reflect.Method |
ReflectionUtil.getMethodBySignature(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.Class<?>... parameterTypes) |
static java.lang.String |
ReflectionUtil.getPropertyNameForGetterMethod(java.lang.reflect.Method method)
Checks if the given method is a getter method according
to Groovy rules.
|
static java.lang.Object |
ReflectionUtil.invokeMethod(java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object... args) |
Modifier and Type | Method and Description |
---|---|
static void |
IoUtil.closeQuietly(java.io.Closeable... closeables) |
static java.lang.Object |
ReflectionUtil.invokeMethod(java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object... args) |
static java.lang.Object |
ReflectionUtil.invokeMethod(java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object... args) |
Constructor and Description |
---|
VersionNumber(int major,
int minor,
int micro,
java.lang.String qualifier) |
Copyright © 2012. All rights reserved