C# Class NAnt.NUnit1.Types.XmlResultFormatter

Prints detailed information about running tests in XML format.
Inheritance: IResultFormatter
Afficher le fichier Open project: skolima/NAnt

Méthodes publiques

Méthode Description
AddError ( ITest test, Exception t ) : void
AddFailure ( ITest test, AssertionFailedError t ) : void
EndTest ( ITest test ) : void
EndTestSuite ( NAnt.NUnit1.Types.TestResultExtra result ) : void

Called when the whole test suite has ended.

SetOutput ( TextWriter writer ) : void

Sets the TextWriter the formatter is supposed to write its results to.

StartTest ( ITest test ) : void
StartTestSuite ( NAnt.NUnit1.Types.NUnitTestData suite ) : void

Called when the whole test suite has started.

XmlResultFormatter ( ) : System

Initializes a new instance of the XmlResultFormatter class.

Private Methods

Méthode Description
FormatError ( string type, ITest test, Exception t ) : void

Method Details

AddError() public méthode

public AddError ( ITest test, Exception t ) : void
test ITest
t System.Exception
Résultat void

AddFailure() public méthode

public AddFailure ( ITest test, AssertionFailedError t ) : void
test ITest
t AssertionFailedError
Résultat void

EndTest() public méthode

public EndTest ( ITest test ) : void
test ITest
Résultat void

EndTestSuite() public méthode

Called when the whole test suite has ended.
public EndTestSuite ( NAnt.NUnit1.Types.TestResultExtra result ) : void
result NAnt.NUnit1.Types.TestResultExtra
Résultat void

SetOutput() public méthode

Sets the TextWriter the formatter is supposed to write its results to.
public SetOutput ( TextWriter writer ) : void
writer System.IO.TextWriter
Résultat void

StartTest() public méthode

public StartTest ( ITest test ) : void
test ITest
Résultat void

StartTestSuite() public méthode

Called when the whole test suite has started.
public StartTestSuite ( NAnt.NUnit1.Types.NUnitTestData suite ) : void
suite NAnt.NUnit1.Types.NUnitTestData
Résultat void

XmlResultFormatter() public méthode

Initializes a new instance of the XmlResultFormatter class.
public XmlResultFormatter ( ) : System
Résultat System