C# Class Machine.Specifications.ConsoleRunner.RunListener

Inheritance: ISpecificationRunListener, ISpecificationResultProvider
Show file Open project: Huddle/machine.specifications Class Usage Examples

Public Methods

Method Description
OnAssemblyEnd ( AssemblyInfo assembly ) : void
OnAssemblyStart ( AssemblyInfo assembly ) : void
OnContextEnd ( ContextInfo context ) : void
OnContextStart ( ContextInfo context ) : void
OnFatalError ( ExceptionResult exception ) : void
OnRunEnd ( ) : void
OnRunStart ( ) : void
OnSpecificationEnd ( SpecificationInfo specification, System.Result result ) : void
OnSpecificationStart ( SpecificationInfo specification ) : void
RunListener ( IConsole console, bool silent, ITimeSpecifications timer ) : System

Private Methods

Method Description
FormattableTimeSpan ( long milliseconds ) : System.DateTime
WriteLineVerbose ( string str ) : void
WriteVerbose ( string str ) : void

Method Details

OnAssemblyEnd() public method

public OnAssemblyEnd ( AssemblyInfo assembly ) : void
assembly Machine.Specifications.Runner.AssemblyInfo
return void

OnAssemblyStart() public method

public OnAssemblyStart ( AssemblyInfo assembly ) : void
assembly Machine.Specifications.Runner.AssemblyInfo
return void

OnContextEnd() public method

public OnContextEnd ( ContextInfo context ) : void
context Machine.Specifications.Runner.ContextInfo
return void

OnContextStart() public method

public OnContextStart ( ContextInfo context ) : void
context Machine.Specifications.Runner.ContextInfo
return void

OnFatalError() public method

public OnFatalError ( ExceptionResult exception ) : void
exception ExceptionResult
return void

OnRunEnd() public method

public OnRunEnd ( ) : void
return void

OnRunStart() public method

public OnRunStart ( ) : void
return void

OnSpecificationEnd() public method

public OnSpecificationEnd ( SpecificationInfo specification, System.Result result ) : void
specification Machine.Specifications.Runner.SpecificationInfo
result System.Result
return void

OnSpecificationStart() public method

public OnSpecificationStart ( SpecificationInfo specification ) : void
specification Machine.Specifications.Runner.SpecificationInfo
return void

RunListener() public method

public RunListener ( IConsole console, bool silent, ITimeSpecifications timer ) : System
console IConsole
silent bool
timer ITimeSpecifications
return System