The TestFixtureAttribute type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TestFixtureAttribute | Initializes a new instance of the TestFixtureAttribute class |
Methods
| Name | Description | |
|---|---|---|
| Consume |
Consumes a code element and applies its contributions to the scope
provided by a containing pattern.
(Inherited from TestTypePatternAttribute.) | |
| ConsumeConstructors |
Consumes type constructors.
(Inherited from TestTypePatternAttribute.) | |
| ConsumeMembers |
Consumes type members including fields, properties, methods and events.
(Inherited from TestTypePatternAttribute.) | |
| ConsumeNestedTypes |
Consumes nested types.
(Inherited from TestTypePatternAttribute.) | |
| Equals |
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Returns the hash code for this instance.
(Inherited from Attribute.) | |
| GetMemberBindingFlags |
Gets the binding flags that should be used to enumerate non-nested type members
of the type for determining their contribution to the test fixture.
(Inherited from TestTypePatternAttribute.) | |
| GetTestParts |
Gets the test parts represented by a code element.
(Inherited from TestTypePatternAttribute.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InferTestType |
Infers whether the type is a test type based on its structure.
(Inherited from TestTypePatternAttribute.) | |
| InitializeTest |
Initializes a test for a type after it has been added to the test model.
(Inherited from TestTypePatternAttribute.) | |
| IsDefaultAttribute |
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.) | |
| Match |
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Process |
Processes a code element and applies its contributions to the scope of this pattern.
The scope will typically have been introduced by the Consume(IPatternScope, ICodeElementInfo, Boolean) method
of a primary pattern applied to this code element.
(Inherited from PatternAttribute.) | |
| SetTestSemantics |
Applies semantic actions to a test to estalish its runtime behavior.
(Inherited from TestTypePatternAttribute.) | |
| ThrowUsageErrorException | Overloaded. | |
| ToString |
Returns a String that represents the current Object.
(Inherited from Object.) | |
| Validate |
Verifies that the attribute is being used correctly.
(Overrides TestTypePatternAttribute..::.Validate(IPatternScope, ITypeInfo).) |
Extension Methods
| Name | Description | |
|---|---|---|
| Format | Overloaded. |
Properties
| Name | Description | |
|---|---|---|
| DefaultConstructorPattern |
Gets the default pattern to apply to constructors that do not have a primary pattern, or null if none.
(Inherited from TestTypePatternAttribute.) | |
| DefaultEventPattern |
Gets the default pattern to apply to events that do not have a primary pattern, or null if none.
(Inherited from TestTypePatternAttribute.) | |
| DefaultFieldPattern |
Gets the default pattern to apply to fields that do not have a primary pattern, or null if none.
(Inherited from TestTypePatternAttribute.) | |
| DefaultGenericParameterPattern |
Gets the default pattern to apply to generic parameters that do not have a primary pattern, or null if none.
(Inherited from TestTypePatternAttribute.) | |
| DefaultMethodPattern |
Gets the default pattern to apply to methods that do not have a primary pattern, or null if none.
(Inherited from TestTypePatternAttribute.) | |
| DefaultNestedTypePattern |
Gets the default pattern to apply to nested types that do not have a primary pattern, or null if none.
(Inherited from TestTypePatternAttribute.) | |
| DefaultPropertyPattern |
Gets the default pattern to apply to properties that do not have a primary pattern, or null if none.
(Inherited from TestTypePatternAttribute.) | |
| IsPrimary |
Returns true if this is a primary pattern.
(Inherited from TestTypePatternAttribute.) | |
| Order |
Gets or sets a number that defines an ordering for the test with respect to its siblings.
(Inherited from TestTypePatternAttribute.) | |
| TypeId |
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.) |
