Spectator::Result
Inherits Reference / Object
Base class that represents the outcome of running an example. Sub-classes contain additional information specific to the type of result.
Constructors
Creates the result. elapsed is the length of time it took to run the example.
Instance methods
accept(visitor)
Calls the corresponding method for the type of result. This is the visitor design pattern.