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
NUnit.Engine.Services.NUnit3XmlResultWriter Class Reference

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

+ Inheritance diagram for NUnit.Engine.Services.NUnit3XmlResultWriter:
+ Collaboration diagram for NUnit.Engine.Services.NUnit3XmlResultWriter:

Public Member Functions

void CheckWritability (string outputPath)
 Checks if the output is writable by creating a stub result file. If the output is not writable, this method should throw an exception. More...
 
void WriteResultFile (XmlNode resultNode, string outputPath)
 Writes result to the specified output path. More...
 
void WriteResultFile (XmlNode resultNode, TextWriter writer)
 Writes result to a TextWriter. More...
 

Private Member Functions

XmlNode GetStubResult ()
 

Detailed Description

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

Member Function Documentation

void NUnit.Engine.Services.NUnit3XmlResultWriter.CheckWritability ( string  outputPath)
inline

Checks if the output is writable by creating a stub result file. If the output is not writable, this method should throw an exception.

Parameters
outputPath

Implements NUnit.Engine.Extensibility.IResultWriter.

void NUnit.Engine.Services.NUnit3XmlResultWriter.WriteResultFile ( XmlNode  resultNode,
string  outputPath 
)
inline

Writes result to the specified output path.

Parameters
resultNodeXmlNode for the result
outputPathPath to which it should be written

Implements NUnit.Engine.Extensibility.IResultWriter.

void NUnit.Engine.Services.NUnit3XmlResultWriter.WriteResultFile ( XmlNode  resultNode,
TextWriter  writer 
)
inline

Writes result to a TextWriter.

Parameters
resultNodeXmlNode for the result
writerTextWriter to which it should be written

Implements NUnit.Engine.Extensibility.IResultWriter.

XmlNode NUnit.Engine.Services.NUnit3XmlResultWriter.GetStubResult ( )
inlineprivate

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