C# Class NUnitLite.OutputWriter

OutputWriter is an abstract class used to write test results to a file in various formats. Specific OutputWriters are derived from this class.
Afficher le fichier Open project: nunit/nunit Class Usage Examples

Méthodes publiques

Méthode Description
WriteResultFile ( ITestResult result, TextWriter writer, object>.IDictionary runSettings, TestFilter filter ) : void

Abstract method that writes a test result to a TextWriter

WriteResultFile ( ITestResult result, string outputPath, object>.IDictionary runSettings, TestFilter filter ) : void

Writes a test result to a file

WriteTestFile ( ITest test, TextWriter writer ) : void

Abstract method that writes test info to a TextWriter

WriteTestFile ( ITest test, string outputPath ) : void

Writes test info to a file

Method Details

WriteResultFile() public abstract méthode

Abstract method that writes a test result to a TextWriter
public abstract WriteResultFile ( ITestResult result, TextWriter writer, object>.IDictionary runSettings, TestFilter filter ) : void
result ITestResult The result to be written
writer System.IO.TextWriter A TextWriter to which the result is written
runSettings object>.IDictionary A dictionary of settings used for this test run
filter NUnit.Framework.Internal.TestFilter
Résultat void

WriteResultFile() public méthode

Writes a test result to a file
public WriteResultFile ( ITestResult result, string outputPath, object>.IDictionary runSettings, TestFilter filter ) : void
result ITestResult The result to be written
outputPath string Path to the file to which the result is written
runSettings object>.IDictionary A dictionary of settings used for this test run
filter NUnit.Framework.Internal.TestFilter
Résultat void

WriteTestFile() public abstract méthode

Abstract method that writes test info to a TextWriter
public abstract WriteTestFile ( ITest test, TextWriter writer ) : void
test ITest The test to be written
writer System.IO.TextWriter A TextWriter to which the test info is written
Résultat void

WriteTestFile() public méthode

Writes test info to a file
public WriteTestFile ( ITest test, string outputPath ) : void
test ITest The test to be written
outputPath string Path to the file to which the test info is written
Résultat void