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

The ISimpleTestBuilder interface is exposed by a class that knows how to build a single TestMethod from a suitable MethodInfo Types. In general, it is exposed by an attribute, but may be implemented in a helper class used by the attribute in some cases. More...

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

Public Member Functions

TestMethod BuildFrom (IMethodInfo method, Test suite)
 Build a TestMethod from the provided MethodInfo. More...
 

Detailed Description

The ISimpleTestBuilder interface is exposed by a class that knows how to build a single TestMethod from a suitable MethodInfo Types. In general, it is exposed by an attribute, but may be implemented in a helper class used by the attribute in some cases.

Member Function Documentation

TestMethod NUnit.Framework.Interfaces.ISimpleTestBuilder.BuildFrom ( IMethodInfo  method,
Test  suite 
)

Build a TestMethod from the provided MethodInfo.

Parameters
methodThe method to be used as a test
suiteThe TestSuite to which the method will be added
Returns
A TestMethod object

Implemented in NUnit.Framework.TestAttribute.

Referenced by NUnit.Framework.Internal.Builders.DefaultTestCaseBuilder.BuildSingleTestMethod().


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