Packages

t

net.ruippeixotog.akka.testkit.specs2.api

UntypedFullReceiveMatcher

trait UntypedFullReceiveMatcher[P] extends FullReceiveMatcher[P, Any]

Linear Supertypes
FullReceiveMatcher[P, Any], SkippableReceiveMatcher[P, Any], ReceiveMatcher[P, Any], Matcher[P], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UntypedFullReceiveMatcher
  2. FullReceiveMatcher
  3. SkippableReceiveMatcher
  4. ReceiveMatcher
  5. Matcher
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def afterOthers: ReceiveMatcher[P, Any]

    Skips non-matching messages until a matching one is received or a timeout occurs.

    Skips non-matching messages until a matching one is received or a timeout occurs. Commonly used when the order of received messages cannot be guaranteed and the probe may receive other messages, like heartbeats.

    returns

    a new matcher that skips non-matching messages until a matching one is received or a timeout occurs.

    Definition Classes
    SkippableReceiveMatcher
  2. abstract def allOf(msgs: Any*): SkippableReceiveMatcher[P, Seq[Any]]

    Checks that the probe received a sequence of messages in order.

    Checks that the probe received a sequence of messages in order. The timeout is applied to the whole sequence and not per message (i.e. all the messages have to be received before the timeout duration).

    msgs

    the expected sequence of messages

    returns

    a new matcher that expects a probe to have received all the messages in msgs in order.

    Definition Classes
    FullReceiveMatcher
  3. abstract def apply[A](implicit arg0: ClassTag[A]): FullReceiveMatcher[P, A]

    Constrains the received messages to be of a given type.

    Constrains the received messages to be of a given type.

    A

    the expected type of messages

    returns

    a new matcher that expects a probe to have received messages of type A.

  4. abstract def apply(msg: Any): SkippableReceiveMatcher[P, Any]

    Checks that the received message is equal to the given value.

    Checks that the received message is equal to the given value.

    msg

    the expected message

    returns

    a new matcher that expects a probe to have received msg.

    Definition Classes
    FullReceiveMatcher
  5. abstract def apply[S <: P](t: Expectable[S]): MatchResult[S]
    Definition Classes
    Matcher
  6. abstract def like[R](f: PartialFunction[Any, R])(implicit arg0: AsResult[R]): SkippableReceiveMatcher[P, Any]

    Checks that the received message satisfies a partial predicate or function applying further checks.

    Checks that the received message satisfies a partial predicate or function applying further checks.

    f

    the partial predicate or function applying further checks

    returns

    a new matcher that expects a probe to have received messages satisfying f.

    Definition Classes
    FullReceiveMatcher
  7. abstract def ofSubtype[B <: Any](implicit arg0: ClassTag[B], ev: <:<[Any, AnyRef]): FullReceiveMatcher[P, B]

    Constrains the received messages to be of a given subtype.

    Constrains the received messages to be of a given subtype.

    B

    the expected subtype of messages

    returns

    a new matcher that expects a probe to have received messages of type B.

    Definition Classes
    FullReceiveMatcher
  8. abstract def unwrap[B](f: (Any) => B): FullReceiveMatcher[P, B]

    Applies a function to the received messages before checks.

    Applies a function to the received messages before checks. Commonly used to unwrap data in envelope-like messages.

    B

    the return type of the function

    f

    the function to apply to messages

    returns

    a new matcher that applies f to messages before checking them.

    Definition Classes
    FullReceiveMatcher
  9. abstract def unwrapPf[B](f: PartialFunction[Any, B]): FullReceiveMatcher[P, B]

    Applies a partial function to the received messages before checks.

    Applies a partial function to the received messages before checks. Messages for which the function is undefined count as failures. Commonly used to unwrap data in envelope-like messages.

    B

    the return type of the function

    f

    the partial function to apply to messages

    returns

    a new matcher that applies f to messages before checking them.

    Definition Classes
    FullReceiveMatcher
  10. abstract def which[R](f: (Any) => R)(implicit arg0: AsResult[R]): SkippableReceiveMatcher[P, Any]

    Checks that the received message satisfies a predicate or a function applying further checks.

    Checks that the received message satisfies a predicate or a function applying further checks.

    f

    the predicate or function applying further checks

    returns

    a new matcher that expects a probe to have received messages satisfying f.

    Definition Classes
    FullReceiveMatcher

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. def ^^[S](f: (S) => Expectable[P], dummy: Int): Matcher[S]
    Definition Classes
    Matcher
  5. def ^^[S](f: (S) => P): Matcher[S]
    Definition Classes
    Matcher
  6. def and[S <: P](m: => Matcher[S]): Matcher[S]
    Definition Classes
    Matcher
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def eventually(retries: Int, sleep: (Int) => Duration): Matcher[P]
    Definition Classes
    Matcher
  12. def eventually(retries: Int, sleep: Duration): Matcher[P]
    Definition Classes
    Matcher
  13. def eventually: Matcher[P]
    Definition Classes
    Matcher
  14. def failure[S <: P](message: => String, value: Expectable[S]): MatchResult[S]
    Attributes
    protected
    Definition Classes
    Matcher
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def iff(b: Boolean): Matcher[P]
    Definition Classes
    Matcher
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def lazily: Matcher[() => P]
    Definition Classes
    Matcher
  21. def mute: Matcher[P]
    Definition Classes
    Matcher
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def not: Matcher[P]
    Definition Classes
    Matcher
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def or[S <: P](m: => Matcher[S]): Matcher[S]
    Definition Classes
    Matcher
  27. def orPending(message: (String) => String): Matcher[P]
    Definition Classes
    Matcher
  28. def orPending(m: String): Matcher[P]
    Definition Classes
    Matcher
  29. def orPending: Matcher[P]
    Definition Classes
    Matcher
  30. def orSkip(message: (String) => String): Matcher[P]
    Definition Classes
    Matcher
  31. def orSkip(m: String): Matcher[P]
    Definition Classes
    Matcher
  32. def orSkip: Matcher[P]
    Definition Classes
    Matcher
  33. def result[S <: P](other: org.specs2.matcher.MatchResultMessages.MatchResultMessage, value: Expectable[S]): MatchResult[S]
    Attributes
    protected
    Definition Classes
    Matcher
  34. def result[S <: P](other: Result, value: Expectable[S]): MatchResult[S]
    Attributes
    protected
    Definition Classes
    Matcher
  35. def result[S <: P](other: MatchResult[_], value: Expectable[S]): MatchResult[S]
    Attributes
    protected
    Definition Classes
    Matcher
  36. def result[S <: P](test: => Boolean, okMessage: => String, koMessage: => String, value: Expectable[S], details: Details): MatchResult[S]
    Attributes
    protected
    Definition Classes
    Matcher
  37. def result[S <: P](test: => Boolean, okMessage: => String, koMessage: => String, value: Expectable[S], expected: String, actual: String): MatchResult[S]
    Attributes
    protected
    Definition Classes
    Matcher
  38. def result[S <: P](triplet: => (Boolean, String, String), value: Expectable[S]): MatchResult[S]
    Attributes
    protected
    Definition Classes
    Matcher
  39. def result[S <: P](test: => Boolean, okMessage: => String, koMessage: => String, value: Expectable[S]): MatchResult[S]
    Attributes
    protected
    Definition Classes
    Matcher
  40. def setMessage(message: String): Matcher[P]
    Definition Classes
    Matcher
  41. def success[S <: P](message: => String, value: Expectable[S]): MatchResult[S]
    Attributes
    protected
    Definition Classes
    Matcher
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def test: (P) => Boolean
    Definition Classes
    Matcher
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. def unless(b: Boolean, m: String): Matcher[P]
    Definition Classes
    Matcher
  46. def updateMessage(f: (String) => String): Matcher[P]
    Definition Classes
    Matcher
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  50. def when(b: Boolean, m: String): Matcher[P]
    Definition Classes
    Matcher

Inherited from FullReceiveMatcher[P, Any]

Inherited from SkippableReceiveMatcher[P, Any]

Inherited from ReceiveMatcher[P, Any]

Inherited from Matcher[P]

Inherited from AnyRef

Inherited from Any

Ungrouped