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.Framework.Interfaces.ISuiteBuilder Interface Reference

The ISuiteBuilder interface is exposed by a class that knows how to build a suite from one or more Types. More...

+ Inheritance diagram for NUnit.Framework.Interfaces.ISuiteBuilder:

Public Member Functions

bool CanBuildFrom (ITypeInfo typeInfo)
 Examine the type and determine if it is suitable for this builder to use in building a TestSuite. More...
 
TestSuite BuildFrom (ITypeInfo typeInfo)
 Build a TestSuite from type provided. More...
 

Detailed Description

The ISuiteBuilder interface is exposed by a class that knows how to build a suite from one or more Types.

Member Function Documentation

bool NUnit.Framework.Interfaces.ISuiteBuilder.CanBuildFrom ( ITypeInfo  typeInfo)

Examine the type and determine if it is suitable for this builder to use in building a TestSuite.

Note that returning false will cause the type to be ignored in loading the tests. If it is desired to load the suite but label it as non-runnable, ignored, etc., then this method must return true.

Parameters
typeInfoThe type of the fixture to be used
Returns
True if the type can be used to build a TestSuite

Implemented in NUnit.Framework.Internal.Builders.DefaultSuiteBuilder.

Referenced by NUnit.Framework.Api.DefaultTestAssemblyBuilder.GetFixtures().

TestSuite NUnit.Framework.Interfaces.ISuiteBuilder.BuildFrom ( ITypeInfo  typeInfo)

Build a TestSuite from type provided.

Parameters
typeInfoThe type of the fixture to be used
Returns
A TestSuite

Implemented in NUnit.Framework.Internal.Builders.DefaultSuiteBuilder.

Referenced by NUnit.Framework.Api.DefaultTestAssemblyBuilder.GetFixtures().


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