org.spockframework.runtime
Class RunStatus

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

public class RunStatus
extends java.lang.Object

Author:
Peter Niederwieser

Field Summary
static int ABORT
           
static int ABORT_ALL
           
static int ABORT_FEATURE
           
static int ABORT_ITERATION
           
static int ABORT_SPEC
           
static int ALL
           
static int END
           
static int END_ALL
           
static int END_FEATURE
           
static int END_ITERATION
           
static int END_SPEC
           
static int FEATURE
           
static int ITERATION
           
static int OK
           
static int SPEC
           
 
Constructor Summary
RunStatus()
           
 
Method Summary
static int action(int status)
           
static int combine(int status1, int status2)
          Combines status1 and status2 by individually maximizing action and scope.
static int scope(int status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

END

public static final int END
See Also:
Constant Field Values

ABORT

public static final int ABORT
See Also:
Constant Field Values

ITERATION

public static final int ITERATION
See Also:
Constant Field Values

FEATURE

public static final int FEATURE
See Also:
Constant Field Values

SPEC

public static final int SPEC
See Also:
Constant Field Values

ALL

public static final int ALL
See Also:
Constant Field Values

OK

public static final int OK
See Also:
Constant Field Values

END_ITERATION

public static final int END_ITERATION
See Also:
Constant Field Values

END_FEATURE

public static final int END_FEATURE
See Also:
Constant Field Values

END_SPEC

public static final int END_SPEC
See Also:
Constant Field Values

END_ALL

public static final int END_ALL
See Also:
Constant Field Values

ABORT_ITERATION

public static final int ABORT_ITERATION
See Also:
Constant Field Values

ABORT_FEATURE

public static final int ABORT_FEATURE
See Also:
Constant Field Values

ABORT_SPEC

public static final int ABORT_SPEC
See Also:
Constant Field Values

ABORT_ALL

public static final int ABORT_ALL
See Also:
Constant Field Values
Constructor Detail

RunStatus

public RunStatus()
Method Detail

action

public static int action(int status)

scope

public static int scope(int status)

combine

public static int combine(int status1,
                          int status2)
Combines status1 and status2 by individually maximizing action and scope. Example: combine(END_SPEC, ABORT_FEATURE) == ABORT_SPEC



Copyright © 2013. All rights reserved