org.spockframework.runtime
Class SpockRuntime
java.lang.Object
org.spockframework.runtime.SpockRuntime
public abstract class SpockRuntime
- extends Object
- Author:
- Peter Niederwieser
Method Summary |
static void |
featureMethodCalled()
|
static Object |
nullAwareInvokeMethod(Object target,
String method,
Object[] args)
|
static Object |
nullAwareInvokeMethodSafe(Object target,
String method,
Object[] args)
|
static void |
verifyCondition(ValueRecorder recorder,
Object condition,
String text,
int line,
int column)
|
static void |
verifyConditionWithMessage(Object message,
Object condition,
String text,
int line,
int column)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERIFY_CONDITION
public static final String VERIFY_CONDITION
- See Also:
- Constant Field Values
VERIFY_CONDITION_WITH_MESSAGE
public static final String VERIFY_CONDITION_WITH_MESSAGE
- See Also:
- Constant Field Values
FEATURE_METHOD_CALLED
public static final String FEATURE_METHOD_CALLED
- See Also:
- Constant Field Values
NULL_AWARE_INVOKE_METHOD
public static final String NULL_AWARE_INVOKE_METHOD
- See Also:
- Constant Field Values
NULL_AWARE_INVOKE_METHOD_SAFE
public static final String NULL_AWARE_INVOKE_METHOD_SAFE
- See Also:
- Constant Field Values
SpockRuntime
public SpockRuntime()
verifyCondition
public static void verifyCondition(ValueRecorder recorder,
Object condition,
String text,
int line,
int column)
verifyConditionWithMessage
public static void verifyConditionWithMessage(Object message,
Object condition,
String text,
int line,
int column)
featureMethodCalled
public static void featureMethodCalled()
nullAwareInvokeMethod
public static Object nullAwareInvokeMethod(Object target,
String method,
Object[] args)
nullAwareInvokeMethodSafe
public static Object nullAwareInvokeMethodSafe(Object target,
String method,
Object[] args)
Copyright © 2010. All Rights Reserved.