abstract class StringVerbBlockRegistration extends AnyRef
Class that provides a role-specific type for an implicit conversion used to support
the registration of subject descriptions in WordSpec
and fixture.WordSpec
.
For example, this class enables syntax such as the following in WordSpec
and fixture.WordSpec
:
"A Stack (when empty)" should { ...
^
This should
method, which is provided in ShouldVerb
, needs an implicit parameter
of type StringVerbBlockRegistration
.
- Alphabetic
- By Inheritance
- StringVerbBlockRegistration
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new StringVerbBlockRegistration()
Abstract Value Members
-
abstract
def
apply(string: String, verb: String, pos: Position, block: () ⇒ Unit): Unit
Registers a subject description in
WordSpec
andfixture.WordSpec
.Registers a subject description in
WordSpec
andfixture.WordSpec
.For example, this class enables syntax such as the following in
WordSpec
andfixture.WordSpec
:"A Stack (when empty)" should { ... ^