InspectorAsserting

org.scalatest.enablers.InspectorAsserting
See theInspectorAsserting companion object
trait InspectorAsserting[T, R]

Supertrait for InspectorAsserting typeclasses, which are used to implement and determine the result type of Inspectors methods such as forAll, forBetween, etc.

Currently, an inspector expression will have result type Assertion, if the function passed has result type Assertion, else it will have result type Unit.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def forAll[E](xs: Iterable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: E => T): R

Implementation method for Inspectors forAll syntax.

Implementation method for Inspectors forAll syntax.

Attributes

def forAtLeast[E](min: Int, xs: Iterable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: E => T): R

Implementation method for Inspectors forAtLeast syntax.

Implementation method for Inspectors forAtLeast syntax.

Attributes

def forAtMost[E](max: Int, xs: Iterable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: E => T): R

Implementation method for Inspectors forAtMost syntax.

Implementation method for Inspectors forAtMost syntax.

Attributes

def forBetween[E](from: Int, upTo: Int, xs: Iterable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: E => T): R

Implementation method for Inspectors forBetween syntax.

Implementation method for Inspectors forBetween syntax.

Attributes

def forEvery[E](xs: Iterable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: E => T): R

Implementation method for Inspectors forEvery syntax.

Implementation method for Inspectors forEvery syntax.

Attributes

def forExactly[E](succeededCount: Int, xs: Iterable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: E => T): R

Implementation method for Inspectors forExactly syntax.

Implementation method for Inspectors forExactly syntax.

Attributes

def forNo[E](xs: Iterable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: E => T): R

Implementation method for Inspectors forNo syntax.

Implementation method for Inspectors forNo syntax.

Attributes