C# 클래스 NUnitLite.TeamCityEventListener

TeamCityEventListener class handles ITestListener events by issuing TeamCity service messages on the Console.
상속: ITestListener
파일 보기 프로젝트 열기: nunit/nunit 1 사용 예제들

공개 메소드들

메소드 설명
TeamCityEventListener ( ) : System

Default constructor using Console.Out

This constructor must be called before Console.Out is redirected in order to work correctly under TeamCity.

TeamCityEventListener ( TextWriter outWriter ) : System

Construct a TeamCityEventListener specifying a TextWriter. Used for testing.

TestFinished ( ITestResult result ) : void

Called when a test has finished

TestOutput ( TestOutput output ) : void

Called when a test produces output for immediate display

TestStarted ( ITest test ) : void

Called when a test has just started

비공개 메소드들

메소드 설명
Escape ( string input ) : string
TC_TestFailed ( string name, string message, string details ) : void
TC_TestFinished ( string name, double duration ) : void
TC_TestIgnored ( string name, string reason ) : void
TC_TestStarted ( string name ) : void
TC_TestSuiteFinished ( string name ) : void
TC_TestSuiteStarted ( string name ) : void

메소드 상세

TeamCityEventListener() 공개 메소드

Default constructor using Console.Out
This constructor must be called before Console.Out is redirected in order to work correctly under TeamCity.
public TeamCityEventListener ( ) : System
리턴 System

TeamCityEventListener() 공개 메소드

Construct a TeamCityEventListener specifying a TextWriter. Used for testing.
public TeamCityEventListener ( TextWriter outWriter ) : System
outWriter System.IO.TextWriter The TextWriter to receive normal messages.
리턴 System

TestFinished() 공개 메소드

Called when a test has finished
public TestFinished ( ITestResult result ) : void
result ITestResult The result of the test
리턴 void

TestOutput() 공개 메소드

Called when a test produces output for immediate display
public TestOutput ( TestOutput output ) : void
output NUnit.Framework.Interfaces.TestOutput A TestOutput object containing the text to display
리턴 void

TestStarted() 공개 메소드

Called when a test has just started
public TestStarted ( ITest test ) : void
test ITest The test that is starting
리턴 void