|
string | ID [get, set] |
|
string | TestID [get] |
|
string | ID [get, set] |
| Gets and sets the unique identifier for this driver, used to ensure that test ids are unique across drivers. More...
|
|
|
static readonly char[] | COMMA = { ',' } |
|
NUnit.Engine.Drivers.NUnit2FrameworkDriver.NUnit2FrameworkDriver |
( |
AppDomain |
testDomain | ) |
|
|
inline |
Create a new NUnit2FrameworkDriver
- Parameters
-
testDomain | The AppDomain to use for the runner |
The framework assembly name is needed because this driver is used for both the nunit.framework 2.x and nunitlite 1.0.
string NUnit.Engine.Drivers.NUnit2FrameworkDriver.Load |
( |
string |
testAssemblyPath, |
|
|
IDictionary< string, object > |
settings |
|
) |
| |
|
inline |
int NUnit.Engine.Drivers.NUnit2FrameworkDriver.CountTestCases |
( |
string |
filter | ) |
|
|
inline |
string NUnit.Engine.Drivers.NUnit2FrameworkDriver.Run |
( |
ITestEventListener |
listener, |
|
|
string |
filter |
|
) |
| |
|
inline |
Executes the tests in an assembly.
- Parameters
-
listener | An ITestEventHandler that receives progress notices |
filter | A XML string representing the filter that controls which tests are executed |
- Returns
- An Xml string representing the result
Implements NUnit.Engine.Extensibility.IFrameworkDriver.
string NUnit.Engine.Drivers.NUnit2FrameworkDriver.Explore |
( |
string |
filter | ) |
|
|
inline |
Returns information about the tests in an assembly.
- Parameters
-
filter | An XML string representing the filter that controls which tests are included |
- Returns
- An Xml string representing the tests
Implements NUnit.Engine.Extensibility.IFrameworkDriver.
void NUnit.Engine.Drivers.NUnit2FrameworkDriver.StopRun |
( |
bool |
force | ) |
|
|
inline |
Cancel the ongoing test run. If no test is running, the call is ignored.
- Parameters
-
force | If true, cancel any ongoing test threads, otherwise wait for them to complete. |
Implements NUnit.Engine.Extensibility.IFrameworkDriver.
static string NUnit.Engine.Drivers.NUnit2FrameworkDriver.Escape |
( |
string |
original | ) |
|
|
inlinestaticprivate |
static ITestFilter NUnit.Engine.Drivers.NUnit2FrameworkDriver.CreateNUnit2TestFilter |
( |
string |
filter | ) |
|
|
inlinestaticprivate |
static Core.TestFilter NUnit.Engine.Drivers.NUnit2FrameworkDriver.FromXml |
( |
XmlNode |
xmlNode | ) |
|
|
inlinestaticprivate |
const string NUnit.Engine.Drivers.NUnit2FrameworkDriver.LOAD_RESULT_FORMAT |
|
private |
Initial value:=
"<test-suite type='Assembly' id='{0}' name='{1}' fullname='{2}' testcasecount='0' runstate='NotRunnable'>" +
"<properties>" +
"<property name='_SKIPREASON' value='{3}'/>" +
"</properties>" +
"</test-suite>"
AppDomain NUnit.Engine.Drivers.NUnit2FrameworkDriver._testDomain |
|
private |
string NUnit.Engine.Drivers.NUnit2FrameworkDriver._testAssemblyPath |
|
private |
string NUnit.Engine.Drivers.NUnit2FrameworkDriver._name |
|
private |
string NUnit.Engine.Drivers.NUnit2FrameworkDriver._fullname |
|
private |
TestRunner NUnit.Engine.Drivers.NUnit2FrameworkDriver._runner |
|
private |
Core.TestPackage NUnit.Engine.Drivers.NUnit2FrameworkDriver._package |
|
private |
readonly char [] NUnit.Engine.Drivers.NUnit2FrameworkDriver.COMMA = { ',' } |
|
staticprivate |
string NUnit.Engine.Drivers.NUnit2FrameworkDriver.ID |
|
getset |
string NUnit.Engine.Drivers.NUnit2FrameworkDriver.TestID |
|
getprivate |
The documentation for this class was generated from the following file: