ResultOfAfterWordApplication

org.scalatest.verbs.ResultOfAfterWordApplication
final class ResultOfAfterWordApplication(val text: String, val f: () => Unit)

Class that supports the use of after words in WordSpec and fixture.WordSpec.

A ResultOfAfterWordApplication, which encapsulates the text of the after word and a block, is accepted by when, should, must, can, and that methods. For more information, see the main documentation for trait WordSpec.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def toString: String

Overrides toString to return the passed in text.

Overrides toString to return the passed in text.

Attributes

Definition Classes
Any

Concrete fields

val f: () => Unit
val text: String