abstract
class
StringVerbBlockRegistration extends (String, String, () ⇒ Unit) ⇒ Unit
Instance Constructors
-
new
StringVerbBlockRegistration()
Abstract Value Members
-
abstract
def
apply(string: String, verb: String, block: () ⇒ Unit): Unit
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
curried: (String) ⇒ (String) ⇒ (() ⇒ Unit) ⇒ Unit
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
tupled: ((String, String, () ⇒ Unit)) ⇒ Unit
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from (String, String, () ⇒ Unit) ⇒ Unit
Value Members
-
def
curried: (String) ⇒ (String) ⇒ (() ⇒ Unit) ⇒ Unit
-
def
toString(): String
-
def
tupled: ((String, String, () ⇒ Unit)) ⇒ Unit
Inherited from AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from Any
Value Members
-
final
def
asInstanceOf[T0]: T0
-
final
def
isInstanceOf[T0]: Boolean
Ungrouped
-
abstract
def
apply(string: String, verb: String, block: () ⇒ Unit): Unit
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
curried: (String) ⇒ (String) ⇒ (() ⇒ Unit) ⇒ Unit
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
tupled: ((String, String, () ⇒ Unit)) ⇒ Unit
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
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
: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.