C# Class NUnit.Framework.Interfaces.TestOutput

The TestOutput class holds a unit of output from a test to a specific output stream
Afficher le fichier Open project: nunit/nunit Class Usage Examples

Méthodes publiques

Méthode Description
TestOutput ( string text, string stream, string testName ) : System

Construct with text, output destination type and the name of the test that produced the output.

ToString ( ) : string

Return string representation of the object for debugging

ToXml ( ) : string

Convert the TestOutput object to an XML string

Method Details

TestOutput() public méthode

Construct with text, output destination type and the name of the test that produced the output.
public TestOutput ( string text, string stream, string testName ) : System
text string Text to be output
stream string Name of the stream or channel to which the text should be written
testName string FullName of test that produced the output
Résultat System

ToString() public méthode

Return string representation of the object for debugging
public ToString ( ) : string
Résultat string

ToXml() public méthode

Convert the TestOutput object to an XML string
public ToXml ( ) : string
Résultat string