org.spockframework.runtime
Class SpockRuntime

java.lang.Object
  extended by org.spockframework.runtime.SpockRuntime

public abstract class SpockRuntime
extends Object

Author:
Peter Niederwieser

Field Summary
static String FEATURE_METHOD_CALLED
           
static String NULL_AWARE_INVOKE_METHOD
           
static String NULL_AWARE_INVOKE_METHOD_SAFE
           
static String VERIFY_CONDITION
           
static String VERIFY_CONDITION_WITH_MESSAGE
           
 
Constructor Summary
SpockRuntime()
           
 
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
 

Field Detail

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
Constructor Detail

SpockRuntime

public SpockRuntime()
Method Detail

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.