IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Engine.Drivers.NotRunnableFrameworkDriver Class Reference
+ Inheritance diagram for NUnit.Engine.Drivers.NotRunnableFrameworkDriver:
+ Collaboration diagram for NUnit.Engine.Drivers.NotRunnableFrameworkDriver:

Public Member Functions

 NotRunnableFrameworkDriver (string assemblyPath, string message)
 
string Load (string assemblyPath, IDictionary< string, object > settings)
 Loads the tests in an assembly. More...
 
int CountTestCases (string filter)
 Count the test cases that would be executed. More...
 
string Run (ITestEventListener listener, string filter)
 Executes the tests in an assembly. More...
 
string Explore (string filter)
 Returns information about the tests in an assembly. More...
 
void StopRun (bool force)
 Cancel the ongoing test run. If no test is running, the call is ignored. More...
 

Properties

string ID [get, set]
 
string TestID [get]
 
- Properties inherited from NUnit.Engine.Extensibility.IFrameworkDriver
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 Private Member Functions

static string Escape (string original)
 

Private Attributes

const string LOAD_RESULT_FORMAT
 
const string RUN_RESULT_FORMAT
 
string _name
 
string _fullname
 
string _message
 

Constructor & Destructor Documentation

NUnit.Engine.Drivers.NotRunnableFrameworkDriver.NotRunnableFrameworkDriver ( string  assemblyPath,
string  message 
)
inline

Member Function Documentation

string NUnit.Engine.Drivers.NotRunnableFrameworkDriver.Load ( string  testAssemblyPath,
IDictionary< string, object >  settings 
)
inline

Loads the tests in an assembly.

Returns
An Xml string representing the loaded test

Implements NUnit.Engine.Extensibility.IFrameworkDriver.

int NUnit.Engine.Drivers.NotRunnableFrameworkDriver.CountTestCases ( string  filter)
inline

Count the test cases that would be executed.

Parameters
filterAn XML string representing the TestFilter to use in counting the tests
Returns
The number of test cases counted

Implements NUnit.Engine.Extensibility.IFrameworkDriver.

string NUnit.Engine.Drivers.NotRunnableFrameworkDriver.Run ( ITestEventListener  listener,
string  filter 
)
inline

Executes the tests in an assembly.

Parameters
listenerAn ITestEventHandler that receives progress notices
filterA 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.NotRunnableFrameworkDriver.Explore ( string  filter)
inline

Returns information about the tests in an assembly.

Parameters
filterAn 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.NotRunnableFrameworkDriver.StopRun ( bool  force)
inline

Cancel the ongoing test run. If no test is running, the call is ignored.

Parameters
forceIf true, cancel any ongoing test threads, otherwise wait for them to complete.

Implements NUnit.Engine.Extensibility.IFrameworkDriver.

static string NUnit.Engine.Drivers.NotRunnableFrameworkDriver.Escape ( string  original)
inlinestaticprivate

Member Data Documentation

const string NUnit.Engine.Drivers.NotRunnableFrameworkDriver.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>"
const string NUnit.Engine.Drivers.NotRunnableFrameworkDriver.RUN_RESULT_FORMAT
private
Initial value:
=
"<test-suite type='Assembly' id='{0}' name='{1}' fullname='{2}' testcasecount='0' runstate='NotRunnable' result='Failed' label='Invalid'>" +
"<properties>" +
"<property name='_SKIPREASON' value='{3}'/>" +
"</properties>" +
"<reason>" +
"<message>{3}</message>" +
"</reason>" +
"</test-suite>"
string NUnit.Engine.Drivers.NotRunnableFrameworkDriver._name
private
string NUnit.Engine.Drivers.NotRunnableFrameworkDriver._fullname
private
string NUnit.Engine.Drivers.NotRunnableFrameworkDriver._message
private

Property Documentation

string NUnit.Engine.Drivers.NotRunnableFrameworkDriver.ID
getset
string NUnit.Engine.Drivers.NotRunnableFrameworkDriver.TestID
getprivate

The documentation for this class was generated from the following file: