class ResultOfContainWord[L] extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers
for an overview of
the matchers DSL.
- Alphabetic
- By Inheritance
- ResultOfContainWord
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ResultOfContainWord(left: L, shouldBeTrue: Boolean, prettifier: Prettifier, pos: Position)
Value Members
- def allElementsOf[R](elements: GenTraversable[R])(implicit aggregating: Aggregating[L]): Assertion
This method enables the following syntax:
This method enables the following syntax:
xs should contain allElementsOf (1, 2) ^
- 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) ^
- def atLeastOneElementOf(elements: GenTraversable[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) ^
- 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) ^
- def atMostOneElementOf[R](elements: GenTraversable[R])(implicit aggregating: Aggregating[L]): Assertion
This method enables the following syntax:
This method enables the following syntax:
xs should contain atMostOneElementOf (1, 2) ^
- 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) ^
- 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) ^
- def inOrderElementsOf[R](elements: GenTraversable[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) ^
- 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) ^
- 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") ^
- def noElementsOf(elements: GenTraversable[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) ^
- 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) ^
- def oneElementOf(elements: GenTraversable[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) ^
- 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) ^
- 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) ^
- def theSameElementsAs(right: GenTraversable[_])(implicit aggregating: Aggregating[L]): Assertion
This method enables the following syntax:
This method enables the following syntax:
xs should contain theSameElementsAs (List(1, 2)) ^
- def theSameElementsInOrderAs(right: GenTraversable[_])(implicit sequencing: Sequencing[L]): Assertion
This method enables the following syntax:
This method enables the following syntax:
xs should contain theSameElementsInOrderAs (List(1, 2)) ^
- def toString(): String
- Definition Classes
- ResultOfContainWord → AnyRef → Any
- 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") ^