org.specs2.matcher

AnyBeHaveMatchers

trait AnyBeHaveMatchers extends AnyRef

This trait allows to write expressions like

1 must be equalTo(1)

Self Type
AnyMatchers
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. AnyBeHaveMatchers
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Type Members

  1. class AnyBeHaveMatchers [T] extends AnyRef

  2. class AnyMatcherResult extends AnyRef

  3. class AnyRefMatcherResult [T <: AnyRef] extends AnyRef

  4. class AnyWithEmptyMatchers [T] extends AnyRef

  5. class BeLikeResultMatcher [T] extends AnyRef

  6. class ClassMatcherResult extends AnyRef

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def anInstanceOf [T] (implicit arg0: ClassManifest[T]): Matcher[Any]

  7. implicit def anyBeHaveMatcher [T] (result: MatchResult[T]): AnyBeHaveMatchers[T]

    Attributes
    implicit
  8. implicit def anyWithEmpty [T] (result: MatchResult[T])(implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): AnyWithEmptyMatchers[T]

    Attributes
    implicit
  9. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  10. def asNullAs [T] (a: ⇒ T): Matcher[T]

  11. def assignableFrom [T] (implicit arg0: ClassManifest[T]): Matcher[Class[_]]

  12. def beLikeA [T] (pattern: ⇒ PartialFunction[T, org.specs2.matcher.MatchResult[_]]): Matcher[T]

  13. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def empty [T <: Any { def isEmpty: Boolean }] : Matcher[T]

  15. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  16. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  19. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  20. def interface [T] (implicit arg0: ClassManifest[T]): Matcher[Any]

  21. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  22. def klass [T] (implicit arg0: ClassManifest[T]): Matcher[Any]

  23. def like [T] (pattern: ⇒ PartialFunction[T, org.specs2.matcher.MatchResult[_]]): Matcher[T]

  24. def likeA [T] (pattern: ⇒ PartialFunction[T, org.specs2.matcher.MatchResult[_]]): Matcher[T]

  25. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  26. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def oneOf [T] (t: T*): Matcher[T]

  29. def superClass [T] (implicit arg0: ClassManifest[T]): Matcher[Any]

  30. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  31. implicit def toAnyMatcherResult (result: MatchResult[Any]): AnyMatcherResult

    Attributes
    implicit
  32. implicit def toAnyRefMatcherResult [T <: AnyRef] (result: MatchResult[T]): AnyRefMatcherResult[T]

    Attributes
    implicit
  33. implicit def toBeLikeResultMatcher [T] (result: MatchResult[T]): BeLikeResultMatcher[T]

    Attributes
    implicit
  34. implicit def toClassMatcherResult (result: MatchResult[Class[_]]): ClassMatcherResult

    Attributes
    implicit
  35. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any