IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
NUnit2XmlOutputWriter is able to create an xml file representing the result of a test run in NUnit 2.x format. More...
Public Member Functions | |
override void | WriteTestFile (ITest test, TextWriter writer) |
Write info about a test More... | |
override void | WriteResultFile (ITestResult result, TextWriter writer, IDictionary runSettings, TestFilter filter) |
Writes the result of a test run to a 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 | WriteXmlOutput (ITestResult result, XmlWriter xmlWriter) |
void | InitializeXmlFile (ITestResult result) |
void | WriteCultureInfo () |
void | WriteEnvironment () |
void | WriteResultElement (ITestResult result) |
void | TerminateXmlFile () |
void | StartTestElement (ITestResult result) |
string | TranslateResult (ResultState resultState) |
void | WriteCategories (ITestResult result) |
void | WriteProperties (ITestResult result) |
void | WriteReasonElement (string message) |
void | WriteFailureElement (string message, string stackTrace) |
void | WriteChildResults (ITestResult result) |
void | WriteCData (string text) |
Private Attributes | |
XmlWriter | xmlWriter |
NUnit2XmlOutputWriter is able to create an xml file representing the result of a test run in NUnit 2.x format.
|
inlinevirtual |
Write info about a test
test | The test |
writer | A TextWriter |
Implements NUnitLite.OutputWriter.
|
inlinevirtual |
Writes the result of a test run to a specified TextWriter.
result | The test result for the run |
writer | The TextWriter to which the xml will be written |
Implements NUnitLite.OutputWriter.
References NUnitLite.NUnit2XmlOutputWriter.WriteXmlOutput().
Referenced by NUnitLite.Tests.NUnit2XmlOutputWriterTests.RunMockAssemblyTests().
|
inlineprivate |
|
inlineprivate |
References NUnitLite.ResultSummary.ErrorCount, NUnitLite.ResultSummary.FailureCount, NUnit.Framework.Interfaces.ITestResult.FullName, NUnitLite.ResultSummary.IgnoreCount, NUnitLite.ResultSummary.InconclusiveCount, NUnitLite.ResultSummary.InvalidCount, NUnitLite.ResultSummary.SkipCount, NUnit.Framework.Interfaces.ITestResult.StartTime, NUnitLite.ResultSummary.TestCount, NUnitLite.NUnit2XmlOutputWriter.WriteCultureInfo(), and NUnitLite.NUnit2XmlOutputWriter.WriteEnvironment().
Referenced by NUnitLite.NUnit2XmlOutputWriter.WriteXmlOutput().
|
inlineprivate |
Referenced by NUnitLite.NUnit2XmlOutputWriter.InitializeXmlFile().
|
inlineprivate |
References NUnit.Common.AssemblyHelper.GetAssemblyName().
Referenced by NUnitLite.NUnit2XmlOutputWriter.InitializeXmlFile().
|
inlineprivate |
References NUnit.Framework.Interfaces.ITestResult.Message, NUnit.Framework.Interfaces.ITestResult.ResultState, NUnit.Framework.Interfaces.ITestResult.StackTrace, NUnitLite.NUnit2XmlOutputWriter.StartTestElement(), NUnit.Framework.Interfaces.ResultState.Status, NUnit.Framework.Interfaces.ITestResult.Test, NUnitLite.NUnit2XmlOutputWriter.WriteCategories(), NUnitLite.NUnit2XmlOutputWriter.WriteChildResults(), NUnitLite.NUnit2XmlOutputWriter.WriteFailureElement(), NUnitLite.NUnit2XmlOutputWriter.WriteProperties(), and NUnitLite.NUnit2XmlOutputWriter.WriteReasonElement().
Referenced by NUnitLite.NUnit2XmlOutputWriter.WriteChildResults(), and NUnitLite.NUnit2XmlOutputWriter.WriteXmlOutput().
|
inlineprivate |
Referenced by NUnitLite.NUnit2XmlOutputWriter.WriteXmlOutput().
|
inlineprivate |
References NUnit.Framework.Interfaces.ITestResult.AssertCount, NUnit.Framework.Interfaces.IPropertyBag.ContainsKey(), NUnit.Framework.Internal.PropertyNames.Description, NUnit.Framework.Interfaces.ITestResult.Duration, NUnit.Framework.Interfaces.ITest.FullName, NUnit.Framework.Interfaces.IPropertyBag.Get(), NUnit.Framework.Interfaces.ITest.Name, NUnit.Framework.Interfaces.ITestResult.Name, NUnit.Framework.Interfaces.ITest.Properties, NUnit.Framework.Interfaces.ITestResult.ResultState, NUnit.Framework.Interfaces.ResultState.Status, NUnit.Framework.Interfaces.ITestResult.Test, NUnit.Framework.Internal.Test.TestType, and NUnitLite.NUnit2XmlOutputWriter.TranslateResult().
Referenced by NUnitLite.NUnit2XmlOutputWriter.WriteResultElement().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References NUnitLite.NUnit2XmlOutputWriter.WriteCData().
Referenced by NUnitLite.NUnit2XmlOutputWriter.WriteResultElement().
|
inlineprivate |
References NUnitLite.NUnit2XmlOutputWriter.WriteCData().
Referenced by NUnitLite.NUnit2XmlOutputWriter.WriteResultElement().
|
inlineprivate |
|
inlineprivate |
|
private |
Referenced by NUnitLite.NUnit2XmlOutputWriter.WriteXmlOutput().