Method | Description | |
---|---|---|
AddPendingErrorMessage ( string message ) : void |
Adds an error message to the next result to be processed.
|
|
AddPendingException ( |
Adds an Exception to the next result to be processed.
|
|
AddPendingWriteLine ( string line ) : void |
Adds a WriteLine to the next result to be processed.
|
|
AddTestMethodResult ( ITestMethod test, string storage, string codeBase, string adapterTypeName, string className, string testListName, string computerName, System.DateTime startTime, System.DateTime endTime, TestOutcome outcome ) : void |
Adds the result of a test method into the log.
|
|
GetXmlAsString ( ) : string |
Returns the XML log file as a string.
|
|
IncrementResults ( TestOutcome outcome ) : void |
Increment the number of passing results.
|
|
Writer ( ) : System |
Initializes a new Writer object.
|
Method | Description | |
---|---|---|
AddPendingOutput ( |
Adds pending output for the next result.
|
|
CreateElement ( string name ) : |
Creates a new XElement within the results XML namespace.
|
|
CreateInitialDocument ( ) : void |
Creates the initial results document and its XElements.
|
|
FinalizeContent ( ) : void |
Stores property values in the respective elements, clears any lookup dictionaries.
|
|
GetTestListGuid ( string testListName ) : string |
Returns the GUID for a test list name. The result is stored in memory.
|
|
ToDateString ( System.DateTime dateTime ) : string |
Returns a string value of the DateTime object.
|
public AddPendingErrorMessage ( string message ) : void | ||
message | string | The message. |
return | void |
public AddPendingException ( |
||
e | The Exception object. | |
return | void |
public AddPendingWriteLine ( string line ) : void | ||
line | string | The text to output. |
return | void |
public AddTestMethodResult ( ITestMethod test, string storage, string codeBase, string adapterTypeName, string className, string testListName, string computerName, System.DateTime startTime, System.DateTime endTime, TestOutcome outcome ) : void | ||
test | ITestMethod | The test metadata. |
storage | string | The storage value. |
codeBase | string | The code base value. |
adapterTypeName | string | The adapter type name. |
className | string | The class name. |
testListName | string | The test list name. |
computerName | string | The computer name. |
startTime | System.DateTime | The start time. |
endTime | System.DateTime | The end time. |
outcome | TestOutcome | The outcome. |
return | void |
public IncrementResults ( TestOutcome outcome ) : void | ||
outcome | TestOutcome | The test outcome. |
return | void |