LeanCoPTestCase

gapt.testing.LeanCoPTestCase
class LeanCoPTestCase(f: File) extends RegressionTestCase

Attributes

Source
regressionTests.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

implicit protected class StepBlock[T](block: => T)

Attributes

Inherited from:
RegressionTestCase
Source
utils.scala
Supertypes
class Object
trait Matchable
class Any
implicit protected class StepCondition(block: => Boolean)

Attributes

Inherited from:
RegressionTestCase
Source
utils.scala
Supertypes
class Object
trait Matchable
class Any
class TestRun

Results of running a single regression test case.

Results of running a single regression test case.

Attributes

Inherited from:
RegressionTestCase
Source
utils.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def test(implicit testRun: TestRun): Unit

Perform the actual testing; to be implemented by subclasses.

Perform the actual testing; to be implemented by subclasses.

The results of this test run--how long it took, what steps have succeeded, whether an exception has been thrown--is saved in testRun. More fine-grained reporting can be enabled by using the operators StepBlock.---, StepBlock.--?, and StepCondition.!--.

The parameter testRun is implicit so that these operators can be used as binary operators without explicitly specifying the testRun.

Value parameters

testRun

Saves the results of this test run.

Attributes

Definition Classes
Source
regressionTests.scala
override def timeout: Option[Duration]

Attributes

Definition Classes
Source
regressionTests.scala

Inherited methods

def run(): TestRun

Run this test case (in the same process).

Run this test case (in the same process).

Attributes

Returns

Results of the test run.

Inherited from:
RegressionTestCase
Source
utils.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Inherited from:
RegressionTestCase
Source
utils.scala

Inherited fields

val name: String

Attributes

Inherited from:
RegressionTestCase
Source
utils.scala

Implicits

Inherited implicits

final implicit protected def StepBlock[T](block: => T): StepBlock[T]

Attributes

Inherited from:
RegressionTestCase
Source
utils.scala
final implicit protected def StepCondition(block: => Boolean): StepCondition

Attributes

Inherited from:
RegressionTestCase
Source
utils.scala