Packages

c

org.scalatest.words

ResultOfContainWord

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

Instance Constructors

  1. new ResultOfContainWord(left: L, shouldBeTrue: Boolean, 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[R](elements: GenTraversable[R])(implicit aggregating: Aggregating[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain allElementsOf (1, 2)
                      ^
    

  5. def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit aggregating: Aggregating[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain allOf (1, 2)
                      ^
    

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def atLeastOneElementOf(elements: GenTraversable[Any])(implicit aggregating: Aggregating[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain atLeastOneElementOf List(1, 2)
                      ^
    

  8. def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit aggregating: Aggregating[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain atLeastOneOf (1, 2)
                      ^
    

  9. def atMostOneElementOf[R](elements: GenTraversable[R])(implicit aggregating: Aggregating[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain atMostOneElementOf (1, 2)
                      ^
    

  10. def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit aggregating: Aggregating[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain atMostOneOf (1, 2)
                      ^
    

  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit sequencing: Sequencing[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain inOrder (1, 2)
                      ^
    

  18. def inOrderElementsOf[R](elements: GenTraversable[R])(implicit sequencing: Sequencing[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain inOrderElementsOf List(1, 2)
                      ^
    

  19. def inOrderOnly(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit sequencing: Sequencing[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain inOrderOnly (1, 2)
                      ^
    

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def key(expectedKey: Any)(implicit keyMapping: KeyMapping[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    map should contain key ("one")
                       ^
    

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def noElementsOf(elements: GenTraversable[Any])(implicit containing: Containing[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain noElementsOf List(1, 2)
                      ^
    

  24. def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit containing: Containing[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain noneOf (1, 2)
                      ^
    

  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def oneElementOf(elements: GenTraversable[Any])(implicit containing: Containing[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain oneElementOf List(1, 2)
                      ^
    

  28. def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit containing: Containing[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain oneOf (1, 2)
                      ^
    

  29. def only(right: Any*)(implicit aggregating: Aggregating[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain only (1, 2)
                      ^
    

  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def theSameElementsAs(right: GenTraversable[_])(implicit aggregating: Aggregating[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain theSameElementsAs (List(1, 2))
                      ^
    

  32. def theSameElementsInOrderAs(right: GenTraversable[_])(implicit sequencing: Sequencing[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain theSameElementsInOrderAs (List(1, 2))
                      ^
    

  33. def toString(): String
    Definition Classes
    ResultOfContainWord → AnyRef → Any
  34. def value(expectedValue: Any)(implicit valueMapping: ValueMapping[L]): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    map should contain value ("one")
                       ^
    

  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped