RegressionTestCase

gapt.testing.RegressionTestCase
abstract class RegressionTestCase(val name: String) extends Serializable

Single regression test case, e.g. Prover9TestCase.ALG-123.

Subclasses only need to implement test().

Value parameters

name

Name of this test case, e.g. "ALG-123".

Attributes

Source
utils.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Classlikes

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

Attributes

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

Attributes

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

Source
utils.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Abstract methods

protected 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

Source
utils.scala

Concrete 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.

Source
utils.scala

Attributes

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
Any
Source
utils.scala

Concrete fields

val name: String

Attributes

Source
utils.scala

Implicits

Implicits

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

Attributes

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

Attributes

Source
utils.scala