Class

org.scalatest.words

ResultOfContainWord

Related Doc: package words

Permalink

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 = true)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def allElementsOf[R](elements: GenTraversable[R])(implicit aggregating: Aggregating[L]): Assertion

    Permalink

    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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain allOf (1, 2)
                      ^
    

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def atLeastOneElementOf(elements: GenTraversable[Any])(implicit aggregating: Aggregating[L]): Assertion

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain atMostOneOf (1, 2)
                      ^
    

  11. def clone(): AnyRef

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit sequencing: Sequencing[L]): Assertion

    Permalink

    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

    Permalink

    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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain inOrderOnly (1, 2)
                      ^
    

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def key(expectedKey: Any)(implicit keyMapping: KeyMapping[L]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    map should contain key ("one")
                       ^
    

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

    Permalink
    Definition Classes
    AnyRef
  23. def noElementsOf(elements: GenTraversable[Any])(implicit containing: Containing[L]): Assertion

    Permalink

    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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    xs should contain noneOf (1, 2)
                      ^
    

  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def oneElementOf(elements: GenTraversable[Any])(implicit containing: Containing[L]): Assertion

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  31. def theSameElementsAs(right: GenTraversable[_])(implicit aggregating: Aggregating[L]): Assertion

    Permalink

    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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  33. def toString(): String

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    map should contain value ("one")
                       ^
    

  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped