C# Class StatLight.Core.Reporting.Providers.NUnit.NUnitXmlReport

Inheritance: IXmlReport
Mostra file Open project: staxmanade/StatLight Class Usage Examples

Public Methods

Method Description
GetXmlReport ( ) : string
NUnitXmlReport ( TestReportCollection report ) : System
ValidateSchema ( string pathToXmlFileToValidate, IList &validationErrors ) : bool
WriteXmlReport ( string outputFilePath ) : void

Private Methods

Method Description
CreateTestCaseElement ( TestCaseResultServerEvent resultServerEvent ) : System.Xml.Linq.XElement
GetErrorMessage ( TestCaseResultServerEvent r ) : string
GetErrorStackTrace ( TestCaseResultServerEvent testCaseResultServerEvent ) : string
GetReport ( TestReport report ) : System.Xml.Linq.XElement

Method Details

GetXmlReport() public method

public GetXmlReport ( ) : string
return string

NUnitXmlReport() public method

public NUnitXmlReport ( TestReportCollection report ) : System
report TestReportCollection
return System

ValidateSchema() public static method

public static ValidateSchema ( string pathToXmlFileToValidate, IList &validationErrors ) : bool
pathToXmlFileToValidate string
validationErrors IList
return bool

WriteXmlReport() public method

public WriteXmlReport ( string outputFilePath ) : void
outputFilePath string
return void