final class AndContainWord extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers
for an overview of
the matchers DSL.
- Source
- Matcher.scala
- Alphabetic
- By Inheritance
- AndContainWord
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AndContainWord(prettifier: Prettifier, pos: Position)
Value Members
-
def
allElementsOf(elements: GenTraversable[Any]): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain allElementsOf List(1, 2, 3) ^
-
def
allOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain allOf (1, 2, 3) ^
-
def
apply[U](expectedElement: Any): MatcherFactory1[T with U, Containing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain (3 - 1) ^
-
def
atLeastOneElementOf(elements: GenTraversable[Any]): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain atLeastOneElementOf (1, 2, 3) ^
-
def
atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain atLeastOneOf (1, 2, 3) ^
-
def
atMostOneElementOf(elements: GenTraversable[Any]): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain atMostOneElementOf List(1, 2, 3) ^
-
def
atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain atMostOneOf (1, 2, 3) ^
-
def
inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory1[T, Sequencing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain inOrder (1, 2, 3) ^
-
def
inOrderElementsOf(elements: GenTraversable[Any]): MatcherFactory1[T, Sequencing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain inOrderElementsOf List(1, 2, 3) ^
-
def
inOrderOnly(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory1[T, Sequencing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain inOrderOnly (1, 2, 3) ^
-
def
key(expectedKey: Any): MatcherFactory1[T, KeyMapping]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain key ("one") ^
-
def
noElementsOf(elements: GenTraversable[Any]): MatcherFactory1[T, Containing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain noElementsOf (1, 2, 3) ^
-
def
noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory1[T, Containing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain noneOf (1, 2, 3) ^
-
def
oneElementOf(elements: GenTraversable[Any]): MatcherFactory1[T, Containing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain oneElementOf List(1, 2, 3) ^
-
def
oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory1[T, Containing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain oneOf (1, 2, 3) ^
-
def
only(right: Any*): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain only (1, 2, 3) ^
-
def
theSameElementsAs(right: GenTraversable[_]): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain theSameElementsAs List(1, 2, 3) ^
-
def
theSameElementsInOrderAs(right: GenTraversable[_]): MatcherFactory1[T, Sequencing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain theSameElementsInOrderAs List(1, 2, 3) ^
-
def
value(expectedValue: Any): MatcherFactory1[T, ValueMapping]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain value (1) ^