C# Class ParallelMSpecRunner.Reporting.BufferedAssemblyTeamCityReporter

The idea here is that we buffer all output and then once we are done - we signal the owner.
Inheritance: ISpecificationRunListener, ISpecificationResultProvider
Mostra file Open project: marketinvoice/Machine.Specifications.TeamCityParallelRunner Class Usage Examples

Public Methods

Method Description
BufferedAssemblyTeamCityReporter ( Action onFinished ) : System

OnAssemblyEnd ( Machine.Specifications.Runner.Utility.AssemblyInfo assembly ) : void
OnAssemblyStart ( Machine.Specifications.Runner.Utility.AssemblyInfo assembly ) : void
OnContextEnd ( Machine.Specifications.Runner.Utility.ContextInfo context ) : void
OnContextStart ( Machine.Specifications.Runner.Utility.ContextInfo context ) : void
OnFatalError ( Machine.Specifications.Runner.Utility.ExceptionResult exception ) : void
OnRunEnd ( ) : void
OnRunStart ( ) : void
OnSpecificationEnd ( Machine.Specifications.Runner.Utility.SpecificationInfo specification, Result result ) : void
OnSpecificationStart ( Machine.Specifications.Runner.Utility.SpecificationInfo specification ) : void

Private Methods

Method Description
WriteToBuffer ( string text ) : void

Method Details

BufferedAssemblyTeamCityReporter() public method

public BufferedAssemblyTeamCityReporter ( Action onFinished ) : System
onFinished Action Gets invoked when the runner is done
return System

OnAssemblyEnd() public method

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

OnAssemblyStart() public method

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

OnContextEnd() public method

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

OnContextStart() public method

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

OnFatalError() public method

public OnFatalError ( Machine.Specifications.Runner.Utility.ExceptionResult exception ) : void
exception Machine.Specifications.Runner.Utility.ExceptionResult
return void

OnRunEnd() public method

public OnRunEnd ( ) : void
return void

OnRunStart() public method

public OnRunStart ( ) : void
return void

OnSpecificationEnd() public method

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

OnSpecificationStart() public method

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