ScalaTest 1.1
|
|
org/scalatest/GivenWhenThen.scala
]
trait
GivenWhenThen
extends
AnyRefgiven
, when
, then
, and and
,
which take a string message and implicit Informer
, and forward the message to the informer.Method Summary | |
def
|
and
(message : java.lang.String)(implicit info : Informer) : Unit
Forwards a message to an implicit
Informer , preceded by "And ". |
def
|
given
(message : java.lang.String)(implicit info : Informer) : Unit
Forwards a message to an implicit
Informer , preceded by "Given." |
def
|
then
(message : java.lang.String)(implicit info : Informer) : Unit
Forwards a message to an implicit
Informer , preceded by "Then ". |
def
|
when
(message : java.lang.String)(implicit info : Informer) : Unit
Forwards a message to an implicit
Informer , preceded by "When ". |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
given(message : java.lang.String)(implicit
info : Informer) : Unit
Informer
, preceded by "Given."message -
the message to forward to the passed informerinfo -
the Informer
to which to forward the message
def
when(message : java.lang.String)(implicit
info : Informer) : Unit
Informer
, preceded by "When ".message -
the message to forward to the passed informerinfo -
the Informer
to which to forward the message
def
then(message : java.lang.String)(implicit
info : Informer) : Unit
Informer
, preceded by "Then ".message -
the message to forward to the passed informerinfo -
the Informer
to which to forward the message
def
and(message : java.lang.String)(implicit
info : Informer) : Unit
Informer
, preceded by "And ".message -
the message to forward to the passed informerinfo -
the Informer
to which to forward the message
ScalaTest 1.1
|
|