org.backuity.matchete

NumericMatchers

Related Doc: package matchete

trait NumericMatchers extends CoreMatcherSupport

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NumericMatchers
  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 ToMatcherOpsFromAny[T](t: ⇒ T): MatcherOps[T]

    Definition Classes
    ToMatcherOps
  5. def a[T](description: String)(pf: PartialFunction[T, Unit])(implicit arg0: Formatter[T]): Matcher[T]

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

    Definition Classes
    CoreMatcherSupport
  7. implicit def anyFormatter[T]: Formatter[T]

    print 'null' if the value is null

    print 'null' if the value is null

    Definition Classes
    Formatters
  8. implicit def arrayFormatter[T]: Formatter[Array[T]]

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

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

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

    Definition Classes
    CoreMatcherSupport
  12. def beCloseTo[T](delta: Delta[T]): Matcher[T]

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

    Definition Classes
    CoreMatcherSupport
  14. def clone(): AnyRef

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

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

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

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

    Definition Classes
    FailureReporter
  19. implicit val failureReporter: FailureReporter

    Definition Classes
    FailureReporter
  20. def finalize(): Unit

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

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

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

    Definition Classes
    CoreMatcherSupport
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. 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
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

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

    Definition Classes
    AnyRef
  29. 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
  30. def partialFunctionMatcher[T](description: String)(pf: PartialFunction[T, Unit])(implicit formatter: Formatter[T]): Matcher[T]

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

    Definition Classes
    CoreMatcherSupport
  32. implicit val stringFormatter: Formatter[String]

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

    Definition Classes
    AnyRef
  34. implicit def toDeltaBuilder[T](t: T)(implicit arg0: Numeric[T]): DeltaBuilder[T]

  35. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. 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