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.Services.DriverService Class Reference

The DriverService provides drivers able to load and run tests using various frameworks. More...

+ Inheritance diagram for NUnit.Engine.Services.DriverService:
+ Collaboration diagram for NUnit.Engine.Services.DriverService:

Public Member Functions

IFrameworkDriver GetDriver (AppDomain domain, string assemblyPath)
 Get a driver suitable for use with a particular test assembly. More...
 
override void StartService ()
 Initialize the Service More...
 
- Public Member Functions inherited from NUnit.Engine.Services.Service
virtual void StopService ()
 Do any cleanup needed before terminating the service More...
 
void Dispose ()
 

Private Attributes

IList< IDriverFactory_factories = new List<IDriverFactory>()
 

Additional Inherited Members

- Protected Member Functions inherited from NUnit.Engine.Services.Service
virtual void Dispose (bool disposing)
 
- Protected Attributes inherited from NUnit.Engine.Services.Service
bool _disposed = false
 
- Properties inherited from NUnit.Engine.Services.Service
IServiceLocator ServiceContext [get, set]
 The ServiceContext More...
 
ServiceStatus Status [get, protected set]
 Gets the ServiceStatus of this service More...
 
- Properties inherited from NUnit.Engine.IService
IServiceLocator ServiceContext [get, set]
 The ServiceContext More...
 
ServiceStatus Status [get]
 Gets the ServiceStatus of this service More...
 

Detailed Description

The DriverService provides drivers able to load and run tests using various frameworks.

Member Function Documentation

IFrameworkDriver NUnit.Engine.Services.DriverService.GetDriver ( AppDomain  domain,
string  assemblyPath 
)
inline

Get a driver suitable for use with a particular test assembly.

Parameters
domainThe AppDomain to use for the tests
assemblyPathThe full path to the test assembly
Returns

Implements NUnit.Engine.IDriverService.

Referenced by NUnit.Engine.Services.Tests.DriverServiceTests.CorrectDriverIsUsed().

override void NUnit.Engine.Services.DriverService.StartService ( )
inlinevirtual

Member Data Documentation

IList<IDriverFactory> NUnit.Engine.Services.DriverService._factories = new List<IDriverFactory>()
private

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