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.NUnit3XmlOutputWriter Class Reference

NUnit3XmlOutputWriter is responsible for writing the results of a test to a file in NUnit 3.0 format. More...

+ Inheritance diagram for NUnitLite.NUnit3XmlOutputWriter:
+ Collaboration diagram for NUnitLite.NUnit3XmlOutputWriter:

Public Member Functions

override void WriteTestFile (ITest test, TextWriter writer)
 Writes test info to the specified TextWriter More...
 
override void WriteResultFile (ITestResult result, TextWriter writer, IDictionary runSettings, TestFilter filter)
 Writes the test result to the specified TextWriter More...
 
- Public Member Functions inherited from NUnitLite.OutputWriter
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...
 

Private Member Functions

void WriteXmlResultOutput (ITestResult result, XmlWriter xmlWriter, IDictionary runSettings, TestFilter filter)
 
TNode MakeTestRunElement (ITestResult result)
 

Static Private Member Functions

static TNode MakeCommandLineElement ()
 
static TNode MakeTestFilterElement (TestFilter filter)
 

Detailed Description

NUnit3XmlOutputWriter is responsible for writing the results of a test to a file in NUnit 3.0 format.

Member Function Documentation

override void NUnitLite.NUnit3XmlOutputWriter.WriteTestFile ( ITest  test,
TextWriter  writer 
)
inlinevirtual

Writes test info to the specified TextWriter

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

Implements NUnitLite.OutputWriter.

References NUnit.Framework.Interfaces.IXmlNodeBuilder.ToXml(), and NUnit.Framework.Interfaces.TNode.WriteTo().

override void NUnitLite.NUnit3XmlOutputWriter.WriteResultFile ( ITestResult  result,
TextWriter  writer,
IDictionary  runSettings,
TestFilter  filter 
)
inlinevirtual

Writes the test result to the specified TextWriter

Parameters
resultThe result to be written to a file
writerA TextWriter to which the result is written

Implements NUnitLite.OutputWriter.

References NUnitLite.NUnit3XmlOutputWriter.WriteXmlResultOutput().

static TNode NUnitLite.NUnit3XmlOutputWriter.MakeCommandLineElement ( )
inlinestaticprivate
static TNode NUnitLite.NUnit3XmlOutputWriter.MakeTestFilterElement ( TestFilter  filter)
inlinestaticprivate

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