Expectation

io.github.frikit.twirlspec.expect.Expectation
See theExpectation companion trait
object Expectation

Ways to build an expectation without naming a class.

Attributes

Companion
trait
Source
Expectation.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def all(expectations: Seq[Expectation]): Expectation

Every expectation given, as one whose violations are theirs, in order.

Every expectation given, as one whose violations are theirs, in order.

Attributes

Source
Expectation.scala
def apply(name: String)(f: Page => Seq[Violation]): Expectation

An expectation from a name and a function from a page to the violations found.

An expectation from a name and a function from a page to the violations found.

Attributes

Source
Expectation.scala

Concrete fields

An expectation that always passes, for a house rule with nothing to add yet.

An expectation that always passes, for a house rule with nothing to add yet.

Attributes

Source
Expectation.scala