The PatternTest type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PatternTest |
Initializes a test initially without a parent.
|
Methods
| Name | Description | |
|---|---|---|
| AddChild |
Adds a child test and sets its Parent property.
(Inherited from Test.) | |
| AddDependency |
Adds a test dependency.
(Inherited from Test.) | |
| AddParameter |
Adds a test parameter and sets its Owner property.
(Inherited from Test.) | |
| ClearChildren |
Clears the list of children.
(Inherited from Test.) | |
| ClearDependencies |
Clears the list of dependencies.
(Inherited from Test.) | |
| ClearParameters |
Clears the list of test parameters.
(Inherited from Test.) | |
| Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| 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 |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GetUniqueLocalIdForChild |
Obtains a unique local id for a child of this test.
(Inherited from Test.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| RemoveChild |
Removes a child test and resets its Parent property.
(Inherited from Test.) | |
| RemoveDependency |
Removes a test dependency.
(Inherited from Test.) | |
| RemoveParameter |
Removes a test parameter and resets its Owner property.
(Inherited from Test.) | |
| SetName |
Sets the name of the component.
| |
| ToString |
Returns a String that represents the current Object.
(Inherited from Test.) |
Extension Methods
| Name | Description | |
|---|---|---|
| Format | Overloaded. |
Properties
| Name | Description | |
|---|---|---|
| ApartmentState |
Gets or sets the apartment state to be used to run the test.
| |
| Children |
Gets a read-only list of the children of this test.
(Inherited from Test.) | |
| CodeElement |
Gets or sets a reference to the point of definition of this test
component in the code, or null if unknown.
(Inherited from TestComponent.) | |
| DataContext |
Gets the data context of the component.
| |
| Dependencies |
Gets a read-only list of the dependencies of this test.
(Inherited from Test.) | |
| FullName |
Gets the full name of the test. The full name is derived by concatenating the
FullName of the Parent followed by a slash ('/')
followed by the Name of this test.
(Inherited from Test.) | |
| Id |
Gets or sets the stable unique identifier of the component.
(Inherited from Test.) | |
| IsParallelizable |
Gets or sets whether the test is parallelizable.
| |
| IsTestCase |
Gets whether this test represents an individual test case
as opposed to a test container such as a fixture or suite.
(Inherited from Test.) | |
| Kind |
Gets or sets the value of the TestKind
metadata entry.
(Inherited from TestComponent.) | |
| LocalId |
Gets a locally unique identifier for this test that satisfies the following conditions:
(Inherited from Test.) | |
| LocalIdHint |
Gets or sets a suggested LocalId hint, or null if none.
(Inherited from Test.) | |
| Metadata |
Gets the metadata of the component.
(Inherited from TestComponent.) | |
| Name |
Gets or sets the name of the component.
(Inherited from TestComponent.) | |
| Order |
Gets or sets a number that defines an ordering for the test with respect to its siblings.
(Inherited from Test.) | |
| Parameters |
Gets a read-only list of the parameters of this test.
(Inherited from Test.) | |
| Parent |
Gets or sets the parent of this test, or null if this is the root test.
(Inherited from Test.) | |
| TestActions |
Gets the set of actions that describe the behavior of the test.
| |
| TestInstanceActions |
Gets the set of actions that describe the behavior of the test's instances.
| |
| TimeoutFunc |
Gets or sets a functon that returns the maximum amount of time the whole test including
its setup, teardown and body should be permitted to run.
|
