IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnitLite.OutputWriter Class Referenceabstract

OutputWriter is an abstract class used to write test results to a file in various formats. Specific OutputWriters are derived from this class. More...

+ Inheritance diagram for NUnitLite.OutputWriter:

Public Member Functions

void WriteResultFile (ITestResult result, string outputPath, IDictionary runSettings, TestFilter filter)
 Writes a test result to a file More...
 
void WriteTestFile (ITest test, string outputPath)
 Writes test info to a file More...
 
abstract void WriteResultFile (ITestResult result, TextWriter writer, IDictionary runSettings, TestFilter filter)
 Abstract method that writes a test result to a TextWriter More...
 
abstract void WriteTestFile (ITest test, TextWriter writer)
 Abstract method that writes test info to a TextWriter More...
 

Detailed Description

OutputWriter is an abstract class used to write test results to a file in various formats. Specific OutputWriters are derived from this class.

Member Function Documentation

void NUnitLite.OutputWriter.WriteResultFile ( ITestResult  result,
string  outputPath,
IDictionary  runSettings,
TestFilter  filter 
)
inline

Writes a test result to a file

Parameters
resultThe result to be written
outputPathPath to the file to which the result is written
runSettingsA dictionary of settings used for this test run

Referenced by NUnitLite.OutputManager.WriteResultFile().

void NUnitLite.OutputWriter.WriteTestFile ( ITest  test,
string  outputPath 
)
inline

Writes test info to a file

Parameters
testThe test to be written
outputPathPath to the file to which the test info is written

Referenced by NUnitLite.OutputManager.WriteTestFile().

abstract void NUnitLite.OutputWriter.WriteResultFile ( ITestResult  result,
TextWriter  writer,
IDictionary  runSettings,
TestFilter  filter 
)
pure virtual

Abstract method that writes a test result to a TextWriter

Parameters
resultThe result to be written
writerA TextWriter to which the result is written
runSettingsA dictionary of settings used for this test run

Implemented in NUnitLite.NUnit3XmlOutputWriter, NUnitLite.NUnit2XmlOutputWriter, and NUnitLite.TestCaseOutputWriter.

abstract void NUnitLite.OutputWriter.WriteTestFile ( ITest  test,
TextWriter  writer 
)
pure virtual

Abstract method that writes test info to a TextWriter

Parameters
testThe test to be written
writerA TextWriter to which the test info is written

Implemented in NUnitLite.NUnit2XmlOutputWriter, NUnitLite.NUnit3XmlOutputWriter, and NUnitLite.TestCaseOutputWriter.


The documentation for this class was generated from the following file: