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.SetUpFixtureAttribute Class Reference

SetUpFixtureAttribute is used to identify a SetUpFixture More...

+ Inheritance diagram for NUnit.Framework.SetUpFixtureAttribute:
+ Collaboration diagram for NUnit.Framework.SetUpFixtureAttribute:

Public Member Functions

IEnumerable< TestSuiteBuildFrom (ITypeInfo typeInfo)
 Build a SetUpFixture from type provided. Normally called for a Type on which the attribute has been placed. More...
 
- Public Member Functions inherited from NUnit.Framework.NUnitAttribute
 NUnitAttribute ()
 Default constructor More...
 

Private Member Functions

bool IsValidFixtureType (ITypeInfo typeInfo, ref string reason)
 

Detailed Description

SetUpFixtureAttribute is used to identify a SetUpFixture

Member Function Documentation

IEnumerable<TestSuite> NUnit.Framework.SetUpFixtureAttribute.BuildFrom ( ITypeInfo  typeInfo)
inline

Build a SetUpFixture from type provided. Normally called for a Type on which the attribute has been placed.

Parameters
typeInfoThe type info of the fixture to be used.
Returns
A SetUpFixture object as a TestSuite.

Implements NUnit.Framework.Interfaces.IFixtureBuilder.

References NUnit.Framework.Internal.Test.Properties, NUnit.Framework.Internal.Test.RunState, NUnit.Framework.Interfaces.IPropertyBag.Set(), and NUnit.Framework.Internal.PropertyNames.SkipReason.

Referenced by NUnit.Framework.Attributes.SetUpFixtureAttributeTests.CertainAttributesAreNotAllowed().

bool NUnit.Framework.SetUpFixtureAttribute.IsValidFixtureType ( ITypeInfo  typeInfo,
ref string  reason 
)
inlineprivate

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