org.scalatest.matchers.Matcher

AndContainWord

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
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AndContainWord
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. 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)
                         ^
    

  7. 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)
                         ^
    

  8. 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)
                         ^
    

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. 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)
                         ^
    

  11. 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)
                         ^
    

  12. 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)
                         ^
    

  13. 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)
                         ^
    

  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. 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)
                         ^
    

  21. 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)
                         ^
    

  22. 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)
                         ^
    

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def key(expectedKey: Any): MatcherFactory1[T, KeyMapping]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcher and contain key ("one")
                         ^
    

  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. 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)
                         ^
    

  27. 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)
                         ^
    

  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. 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)
                         ^
    

  31. 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)
                         ^
    

  32. 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)
                         ^
    

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. 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)
                         ^
    

  35. 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)
                         ^
    

  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. def value(expectedValue: Any): MatcherFactory1[T, ValueMapping]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcher and contain value (1)
                         ^
    

  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped