Trait

org.specs2.matcher

AnyBeHaveMatchers

Related Doc: package matcher

Permalink

trait AnyBeHaveMatchers extends BeHaveMatchers

This trait allows to write expressions like

1 must be equalTo(1)

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

Type Members

  1. class AnyBeHaveMatchers[T] extends AnyRef

    Permalink
  2. class AnyMatcherResult extends AnyRef

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

    Permalink
  4. class AnyWithEmptyMatchers[T] extends AnyRef

    Permalink
  5. class BeLikeResultMatcher[T] extends AnyRef

    Permalink
  6. class ClassMatcherResult extends AnyRef

    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 anInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]

    Permalink
  5. implicit def anyBeHaveMatcher[T](result: MatchResult[T]): AnyMatchers.AnyBeHaveMatchers[T]

    Permalink
  6. def anyOf[T](t: T*): Matcher[T]

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

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def asNullAs[T](a: ⇒ T): Matcher[T]

    Permalink
  10. def assignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]

    Permalink
  11. def be: NeutralMatcher[Any]

    Permalink
    Definition Classes
    BeHaveMatchers
  12. def beLikeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Permalink
  13. def clone(): AnyRef

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

    Permalink
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def have: NeutralMatcher[Any]

    Permalink
    Definition Classes
    BeHaveMatchers
  21. def interface[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]

    Permalink
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def klass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]

    Permalink
  24. def like[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Permalink
  25. def likeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Permalink
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def not: NotMatcher[Any]

    Permalink
    Definition Classes
    BeHaveMatchers
  28. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  30. def oneOf[T](t: T*): Matcher[T]

    Permalink
  31. def superClass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]

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

    Permalink
    Definition Classes
    AnyRef
  33. implicit def toAnyMatcherResult(result: MatchResult[AnyRef]): AnyMatchers.AnyMatcherResult

    Permalink
  34. implicit def toAnyRefMatcherResult[T <: AnyRef](result: MatchResult[T]): AnyMatchers.AnyRefMatcherResult[T]

    Permalink
  35. implicit def toBeLikeResultMatcher[T](result: MatchResult[T]): AnyMatchers.BeLikeResultMatcher[T]

    Permalink
  36. implicit def toClassMatcherResult(result: MatchResult[Class[_]]): AnyMatchers.ClassMatcherResult

    Permalink
  37. def toString(): String

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

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

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

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

Inherited from BeHaveMatchers

Inherited from AnyRef

Inherited from Any

Ungrouped