C# 클래스 NUnitLite.NUnit2XmlOutputWriter

NUnit2XmlOutputWriter is able to create an xml file representing the result of a test run in NUnit 2.x format.
상속: OutputWriter
파일 보기 프로젝트 열기: nunit/nunit 1 사용 예제들

공개 메소드들

메소드 설명
WriteResultFile ( ITestResult result, TextWriter writer, object>.IDictionary runSettings, TestFilter filter ) : void

Writes the result of a test run to a specified TextWriter.

WriteTestFile ( ITest test, TextWriter writer ) : void

Write info about a test

비공개 메소드들

메소드 설명
InitializeXmlFile ( ITestResult result ) : void
StartTestElement ( ITestResult result ) : void
TerminateXmlFile ( ) : void
TranslateResult ( ResultState resultState ) : string
WriteCData ( string text ) : void
WriteCategories ( ITestResult result ) : void
WriteChildResults ( ITestResult result ) : void
WriteCultureInfo ( ) : void
WriteEnvironment ( ) : void
WriteFailureElement ( string message, string stackTrace ) : void
WriteProperties ( ITestResult result ) : void
WriteReasonElement ( string message ) : void
WriteResultElement ( ITestResult result ) : void
WriteXmlOutput ( ITestResult result, XmlWriter xmlWriter ) : void

메소드 상세

WriteResultFile() 공개 메소드

Writes the result of a test run to a specified TextWriter.
public WriteResultFile ( ITestResult result, TextWriter writer, object>.IDictionary runSettings, TestFilter filter ) : void
result ITestResult The test result for the run
writer System.IO.TextWriter The TextWriter to which the xml will be written
runSettings object>.IDictionary
filter NUnit.Framework.Internal.TestFilter
리턴 void

WriteTestFile() 공개 메소드

Write info about a test
public WriteTestFile ( ITest test, TextWriter writer ) : void
test ITest The test
writer System.IO.TextWriter A TextWriter
리턴 void