org.scalatest.Matchers

ContainMethods

trait ContainMethods[T] extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ContainMethods
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val left: GenTraversable[T]

  2. abstract val shouldBeTrue: Boolean

Concrete 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[T]): 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
                               ^
    

  7. def allOf(right: T*)(implicit equality: Equality[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain allOf (1, 2)
                               ^
    

  8. def an(anMatcher: AnMatcher[T]): 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
                               ^
    

  9. final def asInstanceOf[T0]: T0

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

    This method enables the following syntax:

    This method enables the following syntax:

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

  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: T*)(implicit equality: Equality[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain inOrder (1, 2)
                               ^
    

  18. def inOrderOnly(right: T*)(implicit equality: Equality[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain inOrderOnly (1, 2)
                               ^
    

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

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

    This method enables the following syntax:

    This method enables the following syntax:

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

  22. def noneOf(right: T*)(implicit equality: Equality[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain noneOf (1, 2)
                               ^
    

  23. final def notify(): Unit

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

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

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain oneOf (1, 2)
                               ^
    

  26. def only(right: T*)(implicit equality: Equality[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain only (1, 2)
                               ^
    

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

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

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain theSameElementsAs array
                               ^
    

  29. def theSameElementsAs(right: GenTraversable[T])(implicit equality: Equality[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain theSameElementsAs anotherTraversable
                               ^
    

  30. def theSameElementsInOrderAs(right: Array[T])(implicit equality: Equality[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain theSameElementsInOrderAs array
                               ^
    

  31. def theSameElementsInOrderAs(right: GenTraversable[T])(implicit equality: Equality[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    traversable should contain theSameElementsInOrderAs anotherTraversable
                               ^
    

  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped