C# Class Machine.Specifications.ConsoleRunner.Formatter.TerseSpecFormatter

Inheritance: ISpecificationRunListener
显示文件 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
TerseSpecFormatter ( Action outputAction, ITimeSpecifications specificationTimer ) : System

Private Methods

Method Description
GetOutputForRunFinished ( long runTimeInMillis ) : string

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

TerseSpecFormatter() public method

public TerseSpecFormatter ( Action outputAction, ITimeSpecifications specificationTimer ) : System
outputAction Action
specificationTimer ITimeSpecifications
return System