Packages

t

org.specs2.matcher

AnyBeHaveMatchers

trait AnyBeHaveMatchers extends BeHaveMatchers

This trait allows to write expressions like

1 must be equalTo(1)

Self Type
AnyMatchers
Linear Supertypes
BeHaveMatchers, AnyRef, Any
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
  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. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def anInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
  5. implicit def anyBeHaveMatcher[T](result: MatchResult[T]): AnyMatchers.AnyBeHaveMatchers[T]
  6. def anyOf[T](t: T*): Matcher[T]
  7. implicit def anyWithEmpty[T](result: MatchResult[T])(implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): AnyMatchers.AnyWithEmptyMatchers[T]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def asNullAs[T](a: ⇒ T): Matcher[T]
  10. def assignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]
  11. def be: NeutralMatcher[Any]
    Definition Classes
    BeHaveMatchers
  12. def beLikeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. def empty[T <: Any { def isEmpty: Boolean }]: Matcher[T]
  15. final def eq(arg0: AnyRef): Boolean
    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( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def have: NeutralMatcher[Any]
    Definition Classes
    BeHaveMatchers
  21. def interface[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def klass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
  24. def like[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]
  25. def likeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def not: NotMatcher[Any]
    Definition Classes
    BeHaveMatchers
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def oneOf[T](t: T*): Matcher[T]
  31. def superClass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. implicit def toAnyMatcherResult(result: MatchResult[AnyRef]): AnyMatchers.AnyMatcherResult
  34. implicit def toAnyRefMatcherResult[T <: AnyRef](result: MatchResult[T]): AnyMatchers.AnyRefMatcherResult[T]
  35. implicit def toBeLikeResultMatcher[T](result: MatchResult[T]): AnyMatchers.BeLikeResultMatcher[T]
  36. implicit def toClassMatcherResult(result: MatchResult[Class[_]]): AnyMatchers.ClassMatcherResult
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from BeHaveMatchers

Inherited from AnyRef

Inherited from Any

Ungrouped