Instance Constructors
-
new
StringVerbBlockRegistration
()
Abstract Value Members
-
def
apply
(string: String, verb: String, block: () ⇒ Unit): Unit
Concrete Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
asInstanceOf
[T0]
: T0
-
def
clone
(): AnyRef
-
def
curried
: (String) ⇒ (String) ⇒ (() ⇒ Unit) ⇒ Unit
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isInstanceOf
[T0]
: Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
tupled
: ((String, String, () ⇒ Unit)) ⇒ Unit
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
def
curry
: (String) ⇒ (String) ⇒ (() ⇒ Unit) ⇒ Unit
Inherited from (String, String, () ⇒ Unit) ⇒ Unit
Inherited from AnyRef
Inherited from Any
Class that provides a role-specific type for an implicit conversion used to support the registration of subject descriptions in
WordSpec
andfixture.WordSpec
.For example, this class enables syntax such as the following in
WordSpec
andfixture.WordSpec
:"A Stack (when empty)" should { ... ^
This
should
method, which is provided inShouldVerb
, needs an implicit parameter of type(String, String, () => Unit) => Unit
. Because the required type has no ScalaTest-specific types in it, it is possible that another implicit parameter of that same type could be in scope, which would cause a compile failure. Requiring an implicit parameter of the more specificStringVerbBlockRegistration
, which simply extends the needed type,(String, String, () => Unit) => Unit
, avoids this potential conflict.