ResultOfContainWord

class ResultOfContainWord[L](left: L, shouldBeTrue: Boolean, prettifier: Prettifier, pos: Position)

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

class Object
trait Matchable
class Any

Value members

Concrete methods

infix def allElementsOf[R](elements: Iterable[R])(implicit aggregating: Aggregating[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain allElementsOf (1, 2)
                 ^
infix def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit aggregating: Aggregating[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain allOf (1, 2)
                 ^
infix def atLeastOneElementOf(elements: Iterable[Any])(implicit aggregating: Aggregating[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain atLeastOneElementOf List(1, 2)
                 ^
infix def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit aggregating: Aggregating[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain atLeastOneOf (1, 2)
                 ^
infix def atMostOneElementOf[R](elements: Iterable[R])(implicit aggregating: Aggregating[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain atMostOneElementOf (1, 2)
                 ^
infix def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit aggregating: Aggregating[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain atMostOneOf (1, 2)
                 ^
infix def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit sequencing: Sequencing[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain inOrder (1, 2)
                 ^
infix def inOrderElementsOf[R](elements: Iterable[R])(implicit sequencing: Sequencing[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain inOrderElementsOf List(1, 2)
                 ^
infix def inOrderOnly(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit sequencing: Sequencing[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain inOrderOnly (1, 2)
                 ^
infix def key(expectedKey: Any)(implicit keyMapping: KeyMapping[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

map should contain key ("one")
                  ^
infix def noElementsOf(elements: Iterable[Any])(implicit containing: Containing[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain noElementsOf List(1, 2)
                 ^
infix def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit containing: Containing[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain noneOf (1, 2)
                 ^
infix def oneElementOf(elements: Iterable[Any])(implicit containing: Containing[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain oneElementOf List(1, 2)
                 ^
infix def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit containing: Containing[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain oneOf (1, 2)
                 ^
infix def only(right: Any*)(implicit aggregating: Aggregating[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain only (1, 2)
                 ^
infix def theSameElementsAs(right: Iterable[_])(implicit aggregating: Aggregating[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain theSameElementsAs (List(1, 2))
                 ^
infix def theSameElementsInOrderAs(right: Iterable[_])(implicit sequencing: Sequencing[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

xs should contain theSameElementsInOrderAs (List(1, 2))
                 ^
override def toString: String
Definition Classes
Any
infix def value(expectedValue: Any)(implicit valueMapping: ValueMapping[L]): Assertion

This method enables the following syntax:

This method enables the following syntax:

map should contain value ("one")
                  ^