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.IProjectService Interface Reference

The IProjectService interface is implemented by ProjectService. It knows how to load projects in a specific format and can expand TestPackages based on projects. More...

+ Inheritance diagram for NUnit.Engine.Services.IProjectService:

Public Member Functions

bool CanLoadFrom (string path)
 Returns true if the file indicated is one that this loader knows how to load. More...
 
void ExpandProjectPackage (TestPackage package)
 Expands a TestPackage based on a known project format, populating it with the project contents and any settings the project provides. Note that the package file path must be checked to ensure that it is a known project format before calling this method. More...
 

Detailed Description

The IProjectService interface is implemented by ProjectService. It knows how to load projects in a specific format and can expand TestPackages based on projects.

Member Function Documentation

bool NUnit.Engine.Services.IProjectService.CanLoadFrom ( string  path)

Returns true if the file indicated is one that this loader knows how to load.

Parameters
pathThe path of the project file
Returns
True if the loader knows how to load this file, otherwise false

Implemented in NUnit.Engine.Services.ProjectService, and NUnit.Engine.Services.Tests.Fakes.FakeProjectService.

Referenced by NUnit.Engine.Services.DefaultTestRunnerFactory.MakeTestRunner().

void NUnit.Engine.Services.IProjectService.ExpandProjectPackage ( TestPackage  package)

Expands a TestPackage based on a known project format, populating it with the project contents and any settings the project provides. Note that the package file path must be checked to ensure that it is a known project format before calling this method.

Parameters
packageThe TestPackage to be expanded

Implemented in NUnit.Engine.Services.ProjectService, and NUnit.Engine.Services.Tests.Fakes.FakeProjectService.

Referenced by NUnit.Engine.Services.DefaultTestRunnerFactory.MakeTestRunner().


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