C# Class FwBuildTasks.Unitpp

Inheritance: TestTask
Show file Open project: sillsdev/FieldWorks

Private Properties

Property Type Description
AppendStackTrace void
CreateTestCaseNode System.Xml.XmlElement
FinishTestCase void
ReportFailedTestCase System.Xml.XmlElement

Protected Methods

Method Description
GetTestsCompletedString ( ) : string
GetWorkingDirectory ( ) : string
ProcessOutput ( bool fTimedOut, System.TimeSpan delta ) : void

Processes the output into an XML file similar to those produced by NUnit. Some lines are also logged in the normal msbuild fashion.

ProgramArguments ( ) : string
ProgramName ( ) : string

Private Methods

Method Description
AppendStackTrace ( Match match, XmlNode errorNode ) : void
CreateTestCaseNode ( XmlDocument xmlDoc, XmlNode results, string name, bool success ) : XmlElement

Creates a test case node.

FinishTestCase ( ) : void

Finishes the test case.

ReportFailedTestCase ( XmlNode results, string name ) : XmlElement

Reports a failed test case.

Method Details

GetTestsCompletedString() protected method

protected GetTestsCompletedString ( ) : string
return string

GetWorkingDirectory() protected method

protected GetWorkingDirectory ( ) : string
return string

ProcessOutput() protected method

Processes the output into an XML file similar to those produced by NUnit. Some lines are also logged in the normal msbuild fashion.
protected ProcessOutput ( bool fTimedOut, System.TimeSpan delta ) : void
fTimedOut bool
delta System.TimeSpan
return void

ProgramArguments() protected method

protected ProgramArguments ( ) : string
return string

ProgramName() protected method

protected ProgramName ( ) : string
return string