C# 클래스 NBench.Reporting.TeamCityBenchmarkOutput

TeamCity output formatter. Complies with https://confluence.jetbrains.com/display/TCD10/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ReportingTests to ensure that output reports from NBench render nicely on TeamCity.
Can be enabled in the default NBench test runner by passing in the teamcity=true flag.
상속: IBenchmarkOutput
파일 보기 프로젝트 열기: petabridge/NBench

공개 메소드들

메소드 설명
Error ( Exception ex, string message ) : void
Error ( string message ) : void
FinishBenchmark ( string benchmarkName ) : void
SkipBenchmark ( string benchmarkName ) : void
StartBenchmark ( string benchmarkName ) : void
TeamCityBenchmarkOutput ( ) : System

Default constructor. Uses Console.Out as the output target.

TeamCityBenchmarkOutput ( TextWriter writer ) : System

Constructor that takes a TextWriter to use as the output target.

Warning ( string message ) : void
WriteBenchmark ( BenchmarkFinalResults results ) : void
WriteLine ( string message ) : void
WriteRun ( BenchmarkRunReport report, bool isWarmup = false ) : void

비공개 메소드들

메소드 설명
BenchmarkStdErr ( NBench.Reporting.BenchmarkFinalResults results, string str ) : void
BenchmarkStdOut ( NBench.Reporting.BenchmarkFinalResults results, string str ) : void
Escape ( string input ) : string

메소드 상세

Error() 공개 메소드

public Error ( Exception ex, string message ) : void
ex System.Exception
message string
리턴 void

Error() 공개 메소드

public Error ( string message ) : void
message string
리턴 void

FinishBenchmark() 공개 메소드

public FinishBenchmark ( string benchmarkName ) : void
benchmarkName string
리턴 void

SkipBenchmark() 공개 메소드

public SkipBenchmark ( string benchmarkName ) : void
benchmarkName string
리턴 void

StartBenchmark() 공개 메소드

public StartBenchmark ( string benchmarkName ) : void
benchmarkName string
리턴 void

TeamCityBenchmarkOutput() 공개 메소드

Default constructor. Uses Console.Out as the output target.
public TeamCityBenchmarkOutput ( ) : System
리턴 System

TeamCityBenchmarkOutput() 공개 메소드

Constructor that takes a TextWriter to use as the output target.
public TeamCityBenchmarkOutput ( TextWriter writer ) : System
writer TextWriter Output target.
리턴 System

Warning() 공개 메소드

public Warning ( string message ) : void
message string
리턴 void

WriteBenchmark() 공개 메소드

public WriteBenchmark ( BenchmarkFinalResults results ) : void
results BenchmarkFinalResults
리턴 void

WriteLine() 공개 메소드

public WriteLine ( string message ) : void
message string
리턴 void

WriteRun() 공개 메소드

public WriteRun ( BenchmarkRunReport report, bool isWarmup = false ) : void
report BenchmarkRunReport
isWarmup bool
리턴 void