org.scalatest.Matchers

ResultOfContainWordForTraversable

class ResultOfContainWordForTraversable[E] extends ContainMethods[E]

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Linear Supertypes
ContainMethods[E], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ResultOfContainWordForTraversable
  2. ContainMethods
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResultOfContainWordForTraversable(left: GenTraversable[E], shouldBeTrue: Boolean = true)

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 a(aMatcher: AMatcher[E]): Unit

    This method enables the following syntax (positiveNumber is a AMatcher):

    This method enables the following syntax (positiveNumber is a AMatcher):

    traversable should contain a positiveNumber
                               ^
    

    Definition Classes
    ContainMethods
  7. def allOf(right: E*)(implicit equality: Equality[E]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain allOf (1, 2)
                               ^
    

    Definition Classes
    ContainMethods
  8. def an(anMatcher: AnMatcher[E]): Unit

    This method enables the following syntax (oddNumber is a AMatcher):

    This method enables the following syntax (oddNumber is a AMatcher):

    traversable should contain an oddNumber
                               ^
    

    Definition Classes
    ContainMethods
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def atLeastOneOf(xs: Any*)(implicit holder: Aggregating[E]): ResultOfAtLeastOneOfApplication

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) should contain (atLeastOneOf(1, 2))
                                  ^
    

    Definition Classes
    ContainMethods
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @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()
  15. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  17. def inOrder(right: E*)(implicit equality: Equality[E]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain inOrder (1, 2)
                               ^
    

    Definition Classes
    ContainMethods
  18. def inOrderOnly(right: E*)(implicit equality: Equality[E]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain inOrderOnly (1, 2)
                               ^
    

    Definition Classes
    ContainMethods
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. val left: GenTraversable[E]

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

    Definition Classes
    AnyRef
  22. def newOneOf(xs: Any*)(implicit holder: Containing[E]): ResultOfNewOneOfApplication

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) should contain (oneOf(1, 2))
                                  ^
    

    Definition Classes
    ContainMethods
  23. def noneOf(right: E*)(implicit equality: Equality[E]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain noneOf (1, 2)
                               ^
    

    Definition Classes
    ContainMethods
  24. final def notify(): Unit

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

    Definition Classes
    AnyRef
  26. def oneOf(right: E*)(implicit equality: Equality[E]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain oneOf (1, 2)
                               ^
    

    Definition Classes
    ContainMethods
  27. def only(right: E*)(implicit equality: Equality[E]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain only (1, 2)
                               ^
    

    Definition Classes
    ContainMethods
  28. val shouldBeTrue: Boolean

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

    Definition Classes
    AnyRef
  30. def theSameElementsAs(right: Array[E])(implicit equality: Equality[E]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain theSameElementsAs array
                               ^
    

    Definition Classes
    ContainMethods
  31. def theSameElementsAs(right: GenTraversable[E])(implicit equality: Equality[E]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain theSameElementsAs anotherTraversable
                               ^
    

    Definition Classes
    ContainMethods
  32. def theSameElementsInOrderAs(right: Array[E])(implicit equality: Equality[E]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain theSameElementsInOrderAs array
                               ^
    

    Definition Classes
    ContainMethods
  33. def theSameElementsInOrderAs(right: GenTraversable[E])(implicit equality: Equality[E]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain theSameElementsInOrderAs anotherTraversable
                               ^
    

    Definition Classes
    ContainMethods
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  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
    @throws()

Inherited from ContainMethods[E]

Inherited from AnyRef

Inherited from Any

Ungrouped