|
static XmlNode | ToXml (this ITest test, bool recursive) |
| Returns an XmlNode representing a test More...
|
|
static XmlNode | ToXml (this TestResult result, bool recursive) |
| Returns an XmlNode representing a TestResult More...
|
|
static XmlNode | AddElement (this XmlNode node, string name) |
| Adds a new element as a child of an existing XmlNode and returns it. More...
|
|
|
static XmlNode | AddTest (this XmlNode parent, ITest test, bool recursive) |
|
static void | AddResult (this XmlNode parent, TestResult result, bool recursive) |
|
static void | AddProperties (this XmlNode parent, ITest test) |
|
static void | AddProperty (this XmlNode parent, string key, object val) |
|
static void | AddFailureElement (this XmlNode parent, TestResult result) |
|
static void | AddReasonElement (this XmlNode parent, TestResult result) |
|
static void | AddAttribute (this XmlNode node, string name, string value) |
| Adds an attribute with a specified name and value to an existing XmlNode. More...
|
|
static XmlNode | AddElementWithCDataSection (this XmlNode node, string name, string data) |
| Adds the a new element as a child of an existing node and returns it. A CDataSection is added to the new element using the data provided. More...
|
|
static string | GetTranslatedResultState (ResultState resultState) |
|
static XmlNode NUnit.Engine.Drivers.XmlExtensions.ToXml |
( |
this ITest |
test, |
|
|
bool |
recursive |
|
) |
| |
|
inlinestatic |
Returns an XmlNode representing a test
static XmlNode NUnit.Engine.Drivers.XmlExtensions.ToXml |
( |
this TestResult |
result, |
|
|
bool |
recursive |
|
) |
| |
|
inlinestatic |
Returns an XmlNode representing a TestResult
static XmlNode NUnit.Engine.Drivers.XmlExtensions.AddTest |
( |
this XmlNode |
parent, |
|
|
ITest |
test, |
|
|
bool |
recursive |
|
) |
| |
|
inlinestaticprivate |
static void NUnit.Engine.Drivers.XmlExtensions.AddResult |
( |
this XmlNode |
parent, |
|
|
TestResult |
result, |
|
|
bool |
recursive |
|
) |
| |
|
inlinestaticprivate |
static void NUnit.Engine.Drivers.XmlExtensions.AddProperties |
( |
this XmlNode |
parent, |
|
|
ITest |
test |
|
) |
| |
|
inlinestaticprivate |
static void NUnit.Engine.Drivers.XmlExtensions.AddProperty |
( |
this XmlNode |
parent, |
|
|
string |
key, |
|
|
object |
val |
|
) |
| |
|
inlinestaticprivate |
static void NUnit.Engine.Drivers.XmlExtensions.AddFailureElement |
( |
this XmlNode |
parent, |
|
|
TestResult |
result |
|
) |
| |
|
inlinestaticprivate |
static void NUnit.Engine.Drivers.XmlExtensions.AddReasonElement |
( |
this XmlNode |
parent, |
|
|
TestResult |
result |
|
) |
| |
|
inlinestaticprivate |
static void NUnit.Engine.Drivers.XmlExtensions.AddAttribute |
( |
this XmlNode |
node, |
|
|
string |
name, |
|
|
string |
value |
|
) |
| |
|
inlinestaticprivate |
Adds an attribute with a specified name and value to an existing XmlNode.
- Parameters
-
node | The node to which the attribute should be added. |
name | The name of the attribute. |
value | The value of the attribute. |
static XmlNode NUnit.Engine.Drivers.XmlExtensions.AddElement |
( |
this XmlNode |
node, |
|
|
string |
name |
|
) |
| |
|
inlinestatic |
Adds a new element as a child of an existing XmlNode and returns it.
- Parameters
-
node | The node to which the element should be added. |
name | The element name. |
- Returns
- The newly created child element
static XmlNode NUnit.Engine.Drivers.XmlExtensions.AddElementWithCDataSection |
( |
this XmlNode |
node, |
|
|
string |
name, |
|
|
string |
data |
|
) |
| |
|
inlinestaticprivate |
Adds the a new element as a child of an existing node and returns it. A CDataSection is added to the new element using the data provided.
- Parameters
-
node | The node to which the element should be added. |
name | The element name. |
data | The data for the CDataSection. |
- Returns
static string NUnit.Engine.Drivers.XmlExtensions.GetTranslatedResultState |
( |
ResultState |
resultState | ) |
|
|
inlinestaticprivate |
The documentation for this class was generated from the following file:
- unittests/NUnit_3_0_1_src/src/NUnitEngine/Addins/nunit.v2.driver/XmlExtensions.cs