Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package scalatest

    ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter.

    ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter.

    Definition Classes
    org
  • package matchers

    Classes and traits for matchers.

    Classes and traits for matchers.

    This package is released as part of the scalatest-matchers-core module.

    Definition Classes
    scalatest
  • package dsl

    Classes and traits supporting ScalaTest's matchers DSL.

    Classes and traits supporting ScalaTest's matchers DSL.

    This package is released as part of the scalatest-matchers-core module.

    Definition Classes
    matchers
  • abstract class MatcherFactory7[-SC, TC1[_], TC2[_], TC3[_], TC4[_], TC5[_], TC6[_], TC7[_]] extends AnyRef

    A matcher factory that can produce a matcher given seven typeclass instances.

    A matcher factory that can produce a matcher given seven typeclass instances.

    In the type parameters for this class, "SC" means superclass; "TC" (in TC1, TC2, etc.) means typeclass. This class's matcher factory method will produce a Matcher[T], where T is a subtype of (or the same type as) SC, given a typeclass instance for each TCn implicit parameter (for example, a TC1[T], TC2[T], etc.).

    Definition Classes
    dsl
  • AndBeWord
  • AndContainWord
  • AndEndWithWord
  • AndFullyMatchWord
  • AndHaveWord
  • AndIncludeWord
  • AndNotWord
  • AndStartWithWord
  • OrBeWord
  • OrContainWord
  • OrEndWithWord
  • OrFullyMatchWord
  • OrHaveWord
  • OrIncludeWord
  • OrNotWord
  • OrStartWithWord
ScalaTest is brought to you by:

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

Instance Constructors

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

Value Members

  1. def allElementsOf(elements: GenTraversable[Any]): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Aggregating]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

    aMatcherFactory and contain allElementsOf List(1, 2, 3)
                                ^
    

  2. def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Aggregating]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  3. def apply(expectedElement: Any): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Containing]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

    aMatcherFactory and contain (3 - 1)
                                ^
    

  4. def atLeastOneElementOf(elements: GenTraversable[Any]): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Aggregating]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

    aMatcherFactory and contain atLeastOneElementOf (1, 2, 3)
                                ^
    

  5. def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Aggregating]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  6. def atMostOneElementOf(elements: GenTraversable[Any]): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Aggregating]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  7. def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Aggregating]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  8. def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Sequencing]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  9. def inOrderElementsOf(elements: GenTraversable[Any]): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Sequencing]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  10. def inOrderOnly(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Sequencing]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  11. def key(expectedKey: Any): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, KeyMapping]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

    aMatcherFactory and contain key ("one")
                                ^
    

  12. def noElementsOf(elements: GenTraversable[Any]): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Containing]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  13. def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Containing]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  14. def oneElementOf(elements: GenTraversable[Any]): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Containing]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  15. def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Containing]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  16. def only(right: Any*): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Aggregating]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  17. def theSameElementsAs(right: GenTraversable[_]): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Aggregating]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  18. def theSameElementsInOrderAs(right: GenTraversable[_]): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, Sequencing]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

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

  19. def value(expectedValue: Any): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, ValueMapping]

    This method enables the following syntax given a MatcherFactory7:

    This method enables the following syntax given a MatcherFactory7:

    aMatcherFactory and contain value (1)
                                ^