case class TaskMatcher[T](check: ValueCheck[T], duration: Option[FiniteDuration]) extends Matcher[Task[T]] with Product with Serializable
- Source
- TaskMatchers.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TaskMatcher
- Serializable
- Serializable
- Product
- Equals
- Matcher
- AnyRef
- Any
Implicitly
- by Returns
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TaskMatcher(check: ValueCheck[T], duration: Option[FiniteDuration])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from TaskMatcher[T] to any2stringadd[TaskMatcher[T]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (TaskMatcher[T], B)
- Implicit
- This member is added by an implicit conversion from TaskMatcher[T] to ArrowAssoc[TaskMatcher[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
^^[S](f: (S) ⇒ Expectable[Task[T]], dummy: Int): Matcher[S]
- Definition Classes
- Matcher
-
def
^^[S](f: (S) ⇒ Task[T]): Matcher[S]
- Definition Classes
- Matcher
-
def
and[S <: Task[T]](m: ⇒ Matcher[S]): Matcher[S]
- Definition Classes
- Matcher
-
def
apply[S <: Task[T]](e: Expectable[S]): MatchResult[S]
- Definition Classes
- TaskMatcher → Matcher
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def before(d: FiniteDuration): TaskMatcher[T]
- val check: ValueCheck[T]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val duration: Option[FiniteDuration]
-
def
ensuring(cond: (TaskMatcher[T]) ⇒ Boolean, msg: ⇒ Any): TaskMatcher[T]
- Implicit
- This member is added by an implicit conversion from TaskMatcher[T] to Ensuring[TaskMatcher[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (TaskMatcher[T]) ⇒ Boolean): TaskMatcher[T]
- Implicit
- This member is added by an implicit conversion from TaskMatcher[T] to Ensuring[TaskMatcher[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): TaskMatcher[T]
- Implicit
- This member is added by an implicit conversion from TaskMatcher[T] to Ensuring[TaskMatcher[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): TaskMatcher[T]
- Implicit
- This member is added by an implicit conversion from TaskMatcher[T] to Ensuring[TaskMatcher[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
eventually(retries: Int, sleep: Duration): Matcher[Task[T]]
- Definition Classes
- Matcher
-
def
eventually: Matcher[Task[T]]
- Definition Classes
- Matcher
-
def
failure[S <: Task[T]](message: ⇒ String, value: Expectable[S]): MatchResult[S]
- Attributes
- protected
- Definition Classes
- Matcher
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from TaskMatcher[T] to StringFormat[TaskMatcher[T]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
iff(b: Boolean): Matcher[Task[T]]
- Definition Classes
- Matcher
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lazily: Matcher[() ⇒ Task[T]]
- Definition Classes
- Matcher
-
def
mute: Matcher[Task[T]]
- Definition Classes
- Matcher
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
not: Matcher[Task[T]]
- Definition Classes
- Matcher
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
or[S <: Task[T]](m: ⇒ Matcher[S]): Matcher[S]
- Definition Classes
- Matcher
-
def
orPending(message: (String) ⇒ String): Matcher[Task[T]]
- Definition Classes
- Matcher
-
def
orPending(m: String): Matcher[Task[T]]
- Definition Classes
- Matcher
-
def
orPending: Matcher[Task[T]]
- Definition Classes
- Matcher
-
def
orSkip(message: (String) ⇒ String): Matcher[Task[T]]
- Definition Classes
- Matcher
-
def
orSkip(m: String): Matcher[Task[T]]
- Definition Classes
- Matcher
-
def
orSkip: Matcher[Task[T]]
- Definition Classes
- Matcher
-
def
result[S <: Task[T]](other: specs2.matcher.MatchResultMessages.MatchResultMessage, value: Expectable[S]): MatchResult[S]
- Attributes
- protected
- Definition Classes
- Matcher
-
def
result[S <: Task[T]](other: Result, value: Expectable[S]): MatchResult[S]
- Attributes
- protected
- Definition Classes
- Matcher
-
def
result[S <: Task[T]](other: MatchResult[_], value: Expectable[S]): MatchResult[S]
- Attributes
- protected
- Definition Classes
- Matcher
-
def
result[S <: Task[T]](test: ⇒ Boolean, okMessage: ⇒ String, koMessage: ⇒ String, value: Expectable[S], details: Details): MatchResult[S]
- Attributes
- protected
- Definition Classes
- Matcher
-
def
result[S <: Task[T]](test: ⇒ Boolean, okMessage: ⇒ String, koMessage: ⇒ String, value: Expectable[S], expected: String, actual: String): MatchResult[S]
- Attributes
- protected
- Definition Classes
- Matcher
-
def
result[S <: Task[T]](triplet: ⇒ (Boolean, String, String), value: Expectable[S]): MatchResult[S]
- Attributes
- protected
- Definition Classes
- Matcher
-
def
result[S <: Task[T]](test: ⇒ Boolean, okMessage: ⇒ String, koMessage: ⇒ String, value: Expectable[S]): MatchResult[S]
- Attributes
- protected
- Definition Classes
- Matcher
-
def
returns(m: String): MatchResult[Result]
- Implicit
- This member is added by an implicit conversion from TaskMatcher[T] to specs2.matcher.Returns[TaskMatcher[T]] performed by method Returns in org.specs2.matcher.ReturnsSyntax. This conversion will take place only if an implicit value of type AsResult[TaskMatcher[T]] is in scope.
- Definition Classes
- Returns
-
def
returnsMatch(m: String): MatchResult[Result]
- Implicit
- This member is added by an implicit conversion from TaskMatcher[T] to specs2.matcher.Returns[TaskMatcher[T]] performed by method Returns in org.specs2.matcher.ReturnsSyntax. This conversion will take place only if an implicit value of type AsResult[TaskMatcher[T]] is in scope.
- Definition Classes
- Returns
-
def
returnsResult(m: String): MatchResult[Result]
- Implicit
- This member is added by an implicit conversion from TaskMatcher[T] to specs2.matcher.Returns[TaskMatcher[T]] performed by method Returns in org.specs2.matcher.ReturnsSyntax. This conversion will take place only if an implicit value of type AsResult[TaskMatcher[T]] is in scope.
- Definition Classes
- Returns
-
def
setMessage(message: String): Matcher[Task[T]]
- Definition Classes
- Matcher
-
def
success[S <: Task[T]](message: ⇒ String, value: Expectable[S]): MatchResult[S]
- Attributes
- protected
- Definition Classes
- Matcher
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
test: (Task[T]) ⇒ Boolean
- Definition Classes
- Matcher
-
def
unless(b: Boolean, m: String): Matcher[Task[T]]
- Definition Classes
- Matcher
-
def
updateMessage(f: (String) ⇒ String): Matcher[Task[T]]
- Definition Classes
- Matcher
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
when(b: Boolean, m: String): Matcher[Task[T]]
- Definition Classes
- Matcher
- def withValue(t: T): TaskMatcher[T]
- def withValue(check: ValueCheck[T]): TaskMatcher[T]
-
def
→[B](y: B): (TaskMatcher[T], B)
- Implicit
- This member is added by an implicit conversion from TaskMatcher[T] to ArrowAssoc[TaskMatcher[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc