TestCaseSourceAttribute indicates the source to be used to provide test fixture instances for a test class.
More...
|
string | SourceName [get, private set] |
| The name of a the method, property or fiend to be used as a source More...
|
|
Type | SourceType [get, private set] |
| A Type to be used as a source More...
|
|
string | Category [get, set] |
| Gets or sets the category associated with every fixture created from this attribute. May be a single category or a comma-separated list. More...
|
|
TestCaseSourceAttribute indicates the source to be used to provide test fixture instances for a test class.
NUnit.Framework.TestFixtureSourceAttribute.TestFixtureSourceAttribute |
( |
string |
sourceName | ) |
|
|
inline |
Construct with the name of the method, property or field that will provide data
- Parameters
-
sourceName | The name of a static method, property or field that will provide data. |
NUnit.Framework.TestFixtureSourceAttribute.TestFixtureSourceAttribute |
( |
Type |
sourceType, |
|
|
string |
sourceName |
|
) |
| |
|
inline |
Construct with a Type and name
- Parameters
-
sourceType | The Type that will provide data |
sourceName | The name of a static method, property or field that will provide data. |
NUnit.Framework.TestFixtureSourceAttribute.TestFixtureSourceAttribute |
( |
Type |
sourceType | ) |
|
|
inline |
Construct with a Type
- Parameters
-
sourceType | The type that will provide data |
IEnumerable<TestSuite> NUnit.Framework.TestFixtureSourceAttribute.BuildFrom |
( |
ITypeInfo |
typeInfo | ) |
|
|
inline |
IEnumerable<ITestFixtureData> NUnit.Framework.TestFixtureSourceAttribute.GetParametersFor |
( |
Type |
sourceType | ) |
|
|
inline |
IEnumerable NUnit.Framework.TestFixtureSourceAttribute.GetTestFixtureSource |
( |
Type |
sourceType | ) |
|
|
inlineprivate |
static IEnumerable NUnit.Framework.TestFixtureSourceAttribute.SourceMustBeStaticError |
( |
| ) |
|
|
inlinestaticprivate |
const string NUnit.Framework.TestFixtureSourceAttribute.MUST_BE_STATIC = "The sourceName specified on a TestCaseSourceAttribute must refer to a static field, property or method." |
string NUnit.Framework.TestFixtureSourceAttribute.SourceName |
|
getprivate set |
The name of a the method, property or fiend to be used as a source
Type NUnit.Framework.TestFixtureSourceAttribute.SourceType |
|
getprivate set |
A Type to be used as a source
string NUnit.Framework.TestFixtureSourceAttribute.Category |
|
getset |
Gets or sets the category associated with every fixture created from this attribute. May be a single category or a comma-separated list.
The documentation for this class was generated from the following file: