Class

org.scalatest.words

StringVerbBlockRegistration

Related Doc: package words

Permalink

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.

Source
StringVerbBlockRegistration.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringVerbBlockRegistration
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StringVerbBlockRegistration()

    Permalink

Abstract Value Members

  1. abstract def apply(string: String, verb: String, pos: Position, block: () ⇒ Unit): Unit

    Permalink

    Registers a subject description in WordSpec and fixture.WordSpec.

    Registers a subject description 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 { ...
                           ^