OrContainWord

final class OrContainWord(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

def allElementsOf(elements: Iterable[Any]): MatcherFactory3[SC, TC1, TC2, Aggregating]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain allElementsOf (1, 2, 3)
                          ^
def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory3[SC, TC1, TC2, Aggregating]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain allOf (1, 2, 3)
                          ^
def apply(expectedElement: Any): MatcherFactory3[SC, TC1, TC2, Containing]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain (3 - 1)
                          ^
def atLeastOneElementOf(elements: Iterable[Any]): MatcherFactory3[SC, TC1, TC2, Aggregating]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain atLeastOneOf (1, 2, 3)
                          ^
def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory3[SC, TC1, TC2, Aggregating]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain atLeastOneOf (1, 2, 3)
                          ^
def atMostOneElementOf(elements: Iterable[Any]): MatcherFactory3[SC, TC1, TC2, Aggregating]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain atMostOneOf (1, 2, 3)
                          ^
def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory3[SC, TC1, TC2, Aggregating]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain atMostOneOf (1, 2, 3)
                          ^
def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory3[SC, TC1, TC2, Sequencing]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain inOrder (1, 2, 3)
                          ^
def inOrderElementsOf(elements: Iterable[Any]): MatcherFactory3[SC, TC1, TC2, Sequencing]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain inOrderElementsOf List(1, 2, 3)
                          ^
def inOrderOnly(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory3[SC, TC1, TC2, Sequencing]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain inOrderOnly (1, 2, 3)
                          ^
def key(expectedKey: Any): MatcherFactory3[SC, TC1, TC2, KeyMapping]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain key ("one")
                          ^
def noElementsOf(elements: Iterable[Any]): MatcherFactory3[SC, TC1, TC2, Containing]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain noElementsOf (1, 2, 3)
                          ^
def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory3[SC, TC1, TC2, Containing]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain noneOf (1, 2, 3)
                          ^
def oneElementOf(elements: Iterable[Any]): MatcherFactory3[SC, TC1, TC2, Containing]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain oneElementOf (1, 2, 3)
                          ^
def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory3[SC, TC1, TC2, Containing]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain oneOf (1, 2, 3)
                          ^
def only(right: Any*): MatcherFactory3[SC, TC1, TC2, Aggregating]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain only (1, 2, 3)
                          ^
def theSameElementsAs(right: Iterable[_]): MatcherFactory3[SC, TC1, TC2, Aggregating]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain theSameElementsAs List(1, 2, 3)
                          ^
def theSameElementsInOrderAs(right: Iterable[_]): MatcherFactory3[SC, TC1, TC2, Sequencing]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain theSameElementsInOrderAs List(1, 2, 3)
                          ^
def value(expectedValue: Any): MatcherFactory3[SC, TC1, TC2, ValueMapping]

This method enables the following syntax given a MatcherFactory2:

This method enables the following syntax given a MatcherFactory2:

aMatcherFactory or contain value (1)
                          ^