C# Class Tmx.Core.TestResultsExporter

Description of TestResultsExporter.
ファイルを表示 Open project: apetrovskiy/STUPS Class Usage Examples

Public Methods

Method Description
CreateScenariosXElementCommon ( ITestSuite suite, IOrderedEnumerable scenarios, IOrderedEnumerable testResults, IXMLElementsStruct xmlStruct ) : System.Xml.Linq.XElement
CreateSuitesXElementWithParameters ( IOrderedEnumerable suites, IOrderedEnumerable scenarios, IOrderedEnumerable testResults, IXMLElementsStruct xmlStruct ) : System.Xml.Linq.XElement
CreateTestResultDetailsXElement ( ITestResult testResult, IXMLElementsStruct xmlStruct ) : System.Xml.Linq.XElement
CreateTestResultsXElementCommon ( ITestSuite suite, ITestScenario scenario, IOrderedEnumerable testResults, IXMLElementsStruct xmlStruct ) : System.Xml.Linq.XElement
ExportResultsToXml ( ISearchCmdletBaseDataObject cmdlet, string path, List suites, List platforms ) : void
GetTestResultsAsXdocument ( ISearchCmdletBaseDataObject searchCriteria, List suites, List platforms ) : System.Xml.Linq.XDocument
GetTestResultsAsXelement ( ISearchCmdletBaseDataObject searchCriteria, List suites ) : System.Xml.Linq.XElement

Private Methods

Method Description
CreateXattribute ( string name, object valueObject ) : System.Xml.Linq.XAttribute
CreateXelement ( string name ) : System.Xml.Linq.XElement
GetScenariosXElement ( ITestSuite suite, ITestScenario scenario, IOrderedEnumerable testResults, IXMLElementsStruct xmlStruct ) : System.Xml.Linq.XElement
GetTestPlatformsAsXelement ( IXMLElementsStruct xmlStruct, List platforms ) : System.Xml.Linq.XElement
GetTestResultsXElement ( ITestResult testResult, IXMLElementsStruct xmlStruct ) : System.Xml.Linq.XElement
generateTestPlatformXelement ( string platformNodeName, ITestPlatform platform ) : System.Xml.Linq.XElement

Method Details

CreateScenariosXElementCommon() public method

public CreateScenariosXElementCommon ( ITestSuite suite, IOrderedEnumerable scenarios, IOrderedEnumerable testResults, IXMLElementsStruct xmlStruct ) : System.Xml.Linq.XElement
suite ITestSuite
scenarios IOrderedEnumerable
testResults IOrderedEnumerable
xmlStruct IXMLElementsStruct
return System.Xml.Linq.XElement

CreateSuitesXElementWithParameters() public method

public CreateSuitesXElementWithParameters ( IOrderedEnumerable suites, IOrderedEnumerable scenarios, IOrderedEnumerable testResults, IXMLElementsStruct xmlStruct ) : System.Xml.Linq.XElement
suites IOrderedEnumerable
scenarios IOrderedEnumerable
testResults IOrderedEnumerable
xmlStruct IXMLElementsStruct
return System.Xml.Linq.XElement

CreateTestResultDetailsXElement() public method

public CreateTestResultDetailsXElement ( ITestResult testResult, IXMLElementsStruct xmlStruct ) : System.Xml.Linq.XElement
testResult ITestResult
xmlStruct IXMLElementsStruct
return System.Xml.Linq.XElement

CreateTestResultsXElementCommon() public method

public CreateTestResultsXElementCommon ( ITestSuite suite, ITestScenario scenario, IOrderedEnumerable testResults, IXMLElementsStruct xmlStruct ) : System.Xml.Linq.XElement
suite ITestSuite
scenario ITestScenario
testResults IOrderedEnumerable
xmlStruct IXMLElementsStruct
return System.Xml.Linq.XElement

ExportResultsToXml() public method

public ExportResultsToXml ( ISearchCmdletBaseDataObject cmdlet, string path, List suites, List platforms ) : void
cmdlet ISearchCmdletBaseDataObject
path string
suites List
platforms List
return void

GetTestResultsAsXdocument() public method

public GetTestResultsAsXdocument ( ISearchCmdletBaseDataObject searchCriteria, List suites, List platforms ) : System.Xml.Linq.XDocument
searchCriteria ISearchCmdletBaseDataObject
suites List
platforms List
return System.Xml.Linq.XDocument

GetTestResultsAsXelement() public method

public GetTestResultsAsXelement ( ISearchCmdletBaseDataObject searchCriteria, List suites ) : System.Xml.Linq.XElement
searchCriteria ISearchCmdletBaseDataObject
suites List
return System.Xml.Linq.XElement