case class Fragment(description: Description, execution: Execution, location: Location = StacktraceLocation()) extends Product with Serializable
Fragment of a specification
It has a description (generally text but sometimes not, for a step for example) It has an execution which might do or don't do anything (for examples it runs some code)
- Alphabetic
- By Inheritance
- Fragment
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Fragment(description: Description, execution: Execution, location: Location = StacktraceLocation())
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val description: Description
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
executedResult: Action[ExecutedResult]
- returns
the result of this fragment and its execution time
- val execution: Execution
-
def
executionResult: Action[Result]
- returns
the result of this fragment
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isExecutable: Boolean
- returns
true if this fragment can be executed
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isolate: Fragment
-
def
join: Fragment
various methods to stop the execution of the next fragment
- val location: Location
- def makeGlobal(when: Boolean): Fragment
-
def
mustStopOn(r: Result): Boolean
- returns
stop the execution of the next fragment based on a condition
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setExecution(e: Execution): Fragment
set a different execution
- def setLocation(location: Location): Fragment
-
def
setPreviousResult(r: Option[Result]): Fragment
set the previous execution result when known
- def setTimeout(timeout: FiniteDuration): Fragment
-
def
skip: Fragment
skip this fragment
-
def
startExecution(env: Env): Fragment
start the execution of this fragment
-
def
startExecutionAfter(others: List[Fragment])(env: Env): Fragment
start the execution of this fragment when the other ones has finished executing
-
def
startExecutionAfter(other: Option[Fragment])(env: Env): Fragment
start the execution of this fragment when the other one has finished executing
-
def
startExecutionAfter(other: Fragment)(env: Env): Fragment
start the execution of this fragment when the other one has finished executing
-
def
stopOn(r: Result): Fragment
various methods to stop the execution of the next fragment
- def stopOnError: Fragment
- def stopOnFail: Fragment
- def stopOnSkipped: Fragment
- def stopWhen(f: (Result) ⇒ Boolean): Fragment
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Fragment → AnyRef → Any
-
def
updateDescription(f: (Description) ⇒ Description): Fragment
update the description
- def updateExecution(f: (Execution) ⇒ Execution): Fragment
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def was(statusCheck: (String) ⇒ Boolean): Boolean