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 MatcherFactory1[-SC, TC1[_]] extends AnyRef

    A matcher factory that can produce a matcher given one typeclass instance.

    A matcher factory that can produce a matcher given one typeclass instance.

    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

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. Protected

Instance Constructors

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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)
                               ^
    

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

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

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. 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)
                               ^
    

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

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

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

  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. 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)
                               ^
    

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

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

  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. 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")
                               ^
    

  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. 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)
                               ^
    

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

  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. 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)
                               ^
    

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

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

  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. 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)
                               ^
    

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

  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. 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)
                               ^
    

  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped