IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
The ISuiteBuilder interface is exposed by a class that knows how to build a suite from one or more Types. More...
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... | |
The ISuiteBuilder interface is exposed by a class that knows how to build a suite from one or more Types.
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.
typeInfo | The type of the fixture to be used |
Implemented in NUnit.Framework.Internal.Builders.DefaultSuiteBuilder.
Referenced by NUnit.Framework.Api.DefaultTestAssemblyBuilder.GetFixtures().
Build a TestSuite from type provided.
typeInfo | The type of the fixture to be used |
Implemented in NUnit.Framework.Internal.Builders.DefaultSuiteBuilder.
Referenced by NUnit.Framework.Api.DefaultTestAssemblyBuilder.GetFixtures().