trait InspectorAsserting[T] extends AnyRef
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
.
- Source
- InspectorAsserting.scala
- Alphabetic
- By Inheritance
- InspectorAsserting
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- abstract type Result
Abstract Value Members
-
abstract
def
forAll[E](xs: GenTraversable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: (E) ⇒ T): Result
Implementation method for
Inspectors
forAll
syntax.Implementation method for
Inspectors
forAll
syntax. -
abstract
def
forAtLeast[E](min: Int, xs: GenTraversable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: (E) ⇒ T): Result
Implementation method for
Inspectors
forAtLeast
syntax.Implementation method for
Inspectors
forAtLeast
syntax. -
abstract
def
forAtMost[E](max: Int, xs: GenTraversable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: (E) ⇒ T): Result
Implementation method for
Inspectors
forAtMost
syntax.Implementation method for
Inspectors
forAtMost
syntax. -
abstract
def
forBetween[E](from: Int, upTo: Int, xs: GenTraversable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: (E) ⇒ T): Result
Implementation method for
Inspectors
forBetween
syntax.Implementation method for
Inspectors
forBetween
syntax. -
abstract
def
forEvery[E](xs: GenTraversable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: (E) ⇒ T): Result
Implementation method for
Inspectors
forEvery
syntax.Implementation method for
Inspectors
forEvery
syntax. -
abstract
def
forExactly[E](succeededCount: Int, xs: GenTraversable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: (E) ⇒ T): Result
Implementation method for
Inspectors
forExactly
syntax.Implementation method for
Inspectors
forExactly
syntax. -
abstract
def
forNo[E](xs: GenTraversable[E], original: Any, shorthand: Boolean, prettifier: Prettifier, pos: Position)(fun: (E) ⇒ T): Result
Implementation method for
Inspectors
forNo
syntax.Implementation method for
Inspectors
forNo
syntax.