StepBlock

gapt.testing.RegressionTestCase.StepBlock
implicit protected class StepBlock[T](block: => T)

Attributes

Source
utils.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def ---(name: String)(implicit testRun: TestRun): T

Runs the passed block as a step in a regression test case.

Runs the passed block as a step in a regression test case.

Value parameters

name

Name of the step.

Attributes

Returns

The return value of block.

Source
utils.scala
def --?(name: String)(implicit testRun: TestRun): Option[T]

Runs the passed block as a step in a regression test case, ignoring thrown exceptions (but still recording them in the test run).

Runs the passed block as a step in a regression test case, ignoring thrown exceptions (but still recording them in the test run).

Value parameters

name

Name of the step

Attributes

Returns

Some(returnValue), if block returns returnValue. None, if block throws an exception.

Source
utils.scala