org.backuity.matchete

AnyMatchers

Related Doc: package matchete

trait AnyMatchers extends CoreMatcherSupport

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AnyMatchers
  2. CoreMatcherSupport
  3. ToMatcherOps
  4. Formatters
  5. FailureReporter
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def fail(msg: String): Nothing

    Definition Classes
    FailureReporter

Concrete 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. implicit def SizedArray[T]: Sized[Array[T]]

  5. implicit val SizedString: Sized[String]

  6. implicit def SizedStructural[T <: AnyRef { def size: Int }]: Sized[T]

  7. implicit def ToMatcherOpsFromAny[T](t: ⇒ T): MatcherOps[T]

    Definition Classes
    ToMatcherOps
  8. def a[T](implicit arg0: Manifest[T]): Matcher[Any]

  9. def a[T](description: String)(pf: PartialFunction[T, Unit])(implicit arg0: Formatter[T]): Matcher[T]

    Definition Classes
    CoreMatcherSupport
  10. def an[T](description: String)(pf: PartialFunction[T, Unit])(implicit arg0: Formatter[T]): Matcher[T]

    Definition Classes
    CoreMatcherSupport
  11. implicit def anyComparator[T](implicit formatter: Formatter[T], diffable: Diffable[T]): MatcherComparator[T]

  12. implicit def anyFormatter[T]: Formatter[T]

    print 'null' if the value is null

    print 'null' if the value is null

    Definition Classes
    Formatters
  13. implicit def arrayComparator[T](implicit arrayFormatter: Formatter[Array[T]]): MatcherComparator[Array[T]]

  14. implicit def arrayFormatter[T]: Formatter[Array[T]]

    Definition Classes
    Formatters
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def be[T](m: Matcher[T]): EagerMatcher[T]

    Definition Classes
    CoreMatcherSupport
  17. def be[T](description: String)(pf: PartialFunction[T, Unit])(implicit arg0: Formatter[T]): Matcher[T]

    Definition Classes
    CoreMatcherSupport
  18. def beA[T](implicit arg0: Manifest[T]): Matcher[Any]

  19. def beEmpty[T](implicit ev1: (T) ⇒ AnyRef { def isEmpty: Boolean }, formatter: Formatter[T]): Matcher[T]

  20. def beEq[T <: AnyRef](expected: T)(implicit formatter: Formatter[T]): EagerMatcher[T]

  21. def beEqualTo[T](expected: T)(implicit arg0: Formatter[T], arg1: MatcherComparator[T]): EagerMatcher[T]

  22. def beLike[T](description: String)(pf: PartialFunction[T, Unit])(implicit arg0: Formatter[T]): Matcher[T]

    Definition Classes
    CoreMatcherSupport
  23. def beNull[T <: AnyRef](implicit formatter: Formatter[T]): EagerMatcher[T]

  24. def be_==[T](expected: T)(implicit arg0: Formatter[T], arg1: MatcherComparator[T]): EagerMatcher[T]

  25. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. def equalTo[T](expected: T)(implicit arg0: Formatter[T], arg1: MatcherComparator[T]): EagerMatcher[T]

  28. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  29. final def failIf(expr: Boolean, msg: ⇒ String): Unit

    Definition Classes
    FailureReporter
  30. def failIfDifferentStrings(actual: String, expected: String, msg: String): Unit

    Definition Classes
    FailureReporter
  31. implicit val failureReporter: FailureReporter

    Definition Classes
    FailureReporter
  32. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  35. def have[T](description: String)(pf: PartialFunction[T, Unit])(implicit arg0: Formatter[T]): Matcher[T]

    Definition Classes
    CoreMatcherSupport
  36. def haveSize[T](size: Int)(implicit sized: Sized[T], formatter: Formatter[T]): EagerMatcher[T]

  37. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  38. def matcher[T](description: String, validate: (T) ⇒ Boolean, failureDescription: (T) ⇒ String, nullMessage: String = ""): Matcher[T]

    A non-null matcher.

    A non-null matcher.

    description

    should be the same as the matcher name, for instance haveSize(0) should be "have size 0"

    validate

    function that returns true if the value matches the expectation

    failureDescription

    called upon failure, return the message thrown

    Definition Classes
    CoreMatcherSupport
  39. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  40. def not[T](matcher: Matcher[T])(implicit formatter: Formatter[T], manifest: Manifest[T]): Matcher[T]

  41. final def notify(): Unit

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

    Definition Classes
    AnyRef
  43. def nullAcceptingMatcher[T](description: String, validate: (T) ⇒ Boolean, failureDescription: (T) ⇒ String): Matcher[T]

    A null accepting matcher.

    A null accepting matcher.

    description

    should be the same as the matcher name, for instance haveSize(0) should be "have size 0"

    validate

    function that returns true if the value matches the expectation

    failureDescription

    called upon failure, return the message thrown

    Definition Classes
    CoreMatcherSupport
  44. def partialFunctionMatcher[T](description: String)(pf: PartialFunction[T, Unit])(implicit formatter: Formatter[T]): Matcher[T]

    Definition Classes
    CoreMatcherSupport
  45. def partialFunctionMatcher[T](description: String, descriptionNegation: String)(pf: PartialFunction[T, Unit])(implicit formatter: Formatter[T]): Matcher[T]

    Definition Classes
    CoreMatcherSupport
  46. implicit def seqComparator[T](implicit elemFormatter: Formatter[T], seqFormatter: Formatter[Seq[T]]): MatcherComparator[Seq[T]]

  47. implicit def setComparator[T](implicit elemFormatter: Formatter[T], setFormatter: Formatter[Set[T]]): MatcherComparator[Set[T]]

  48. implicit def stringComparator(implicit formatter: Formatter[String]): MatcherComparator[String]

  49. implicit val stringFormatter: Formatter[String]

    Definition Classes
    Formatters
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. def toString(): String

    Definition Classes
    AnyRef → Any
  52. implicit def traversableFormatter[T](implicit formatter: Formatter[T]): Formatter[Traversable[T]]

    Definition Classes
    Formatters
  53. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CoreMatcherSupport

Inherited from ToMatcherOps

Inherited from Formatters

Inherited from FailureReporter

Inherited from AnyRef

Inherited from Any

Ungrouped