Packages

final class OrContainWord 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
MatcherFactory1.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OrContainWord
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OrContainWord(prettifier: Prettifier, pos: Position)

Value Members

  1. def allElementsOf(elements: GenTraversable[Any]): MatcherFactory2[SC, TC1, Aggregating]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain allElementsOf (1, 2, 3)
                               ^
    

  2. def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory2[SC, TC1, Aggregating]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain allOf (1, 2, 3)
                               ^
    

  3. def apply(expectedElement: Any): MatcherFactory2[SC, TC1, Containing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain (3 - 1)
                               ^
    

  4. def atLeastOneElementOf(elements: GenTraversable[Any]): MatcherFactory2[SC, TC1, Aggregating]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain atLeastOneOf (1, 2, 3)
                               ^
    

  5. def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory2[SC, TC1, Aggregating]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain atLeastOneOf (1, 2, 3)
                               ^
    

  6. def atMostOneElementOf(elements: GenTraversable[Any]): MatcherFactory2[SC, TC1, Aggregating]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain atMostOneOf (1, 2, 3)
                               ^
    

  7. def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory2[SC, TC1, Aggregating]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain atMostOneOf (1, 2, 3)
                               ^
    

  8. def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory2[SC, TC1, Sequencing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain inOrder (1, 2, 3)
                               ^
    

  9. def inOrderElementsOf(elements: GenTraversable[Any]): MatcherFactory2[SC, TC1, Sequencing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain inOrderElementsOf List(1, 2, 3)
                               ^
    

  10. def inOrderOnly(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory2[SC, TC1, Sequencing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain inOrderOnly (1, 2, 3)
                               ^
    

  11. def key(expectedKey: Any): MatcherFactory2[SC, TC1, KeyMapping]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain key ("one")
                               ^
    

  12. def noElementsOf(elements: GenTraversable[Any]): MatcherFactory2[SC, TC1, Containing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain noElementsOf (1, 2, 3)
                               ^
    

  13. def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory2[SC, TC1, Containing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain noneOf (1, 2, 3)
                               ^
    

  14. def oneElementOf(elements: GenTraversable[Any]): MatcherFactory2[SC, TC1, Containing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain oneElementOf (1, 2, 3)
                               ^
    

  15. def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory2[SC, TC1, Containing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain oneOf (1, 2, 3)
                               ^
    

  16. def only(right: Any*): MatcherFactory2[SC, TC1, Aggregating]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain only (1, 2, 3)
                               ^
    

  17. def theSameElementsAs(right: GenTraversable[_]): MatcherFactory2[SC, TC1, Aggregating]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain theSameElementsAs List(1, 2, 3)
                               ^
    

  18. def theSameElementsInOrderAs(right: GenTraversable[_]): MatcherFactory2[SC, TC1, Sequencing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain theSameElementsInOrderAs List(1, 2, 3)
                               ^
    

  19. def value(expectedValue: Any): MatcherFactory2[SC, TC1, ValueMapping]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or contain value (1)
                               ^