TestMetadataFileSpec Class

Contains MSTest settings related to a test metadata file.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Workflow.Activities.TestSpec
    Microsoft.TeamFoundation.Build.Workflow.Activities.TestMetadataFileSpec

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class TestMetadataFileSpec _
    Inherits TestSpec
[SerializableAttribute]
public class TestMetadataFileSpec : TestSpec
[SerializableAttribute]
public ref class TestMetadataFileSpec : public TestSpec
[<SerializableAttribute>]
type TestMetadataFileSpec =  
    class
        inherit TestSpec
    end
public class TestMetadataFileSpec extends TestSpec

The TestMetadataFileSpec type exposes the following members.

Constructors

  Name Description
Public method TestMetadataFileSpec Initializes a new instance of the TestMetadataFileSpec class.

Top

Properties

  Name Description
Public property CategoryFilter Gets or sets the category filter. (Inherited from TestSpec.)
Public property FailBuildOnFailure Gets or sets a flag indicating whether to fail the entire build if this test fails. (Inherited from TestSpec.)
Public property HasCategoryFilter Gets a flag indicating whether the CategoryFilter property is set. (Inherited from TestSpec.)
Public property HasMaximumPriority Gets a flag indicating whether the MaximumPriority property is set. (Inherited from TestSpec.)
Public property HasMinimumPriority Gets a flag indicating whether the MinimumPriority property is set. (Inherited from TestSpec.)
Public property HasMSTestCommandLineArgs Gets a flag indicating whether the MSTestCommandLineArgs property is set. (Inherited from TestSpec.)
Public property HasTestLists Gets a flag indicating whether the TestLists property is set.
Public property MaximumPriority Gets or sets the maximum priority to run this test for. (Inherited from TestSpec.)
Public property MetadataFileName Gets or sets the metadata file name.
Public property MinimumPriority Gets or sets the minimum priority to run this test for. (Inherited from TestSpec.)
Public property MSTestCommandLineArgs Gets or sets a string of command line arguments for this test. (Inherited from TestSpec.)
Public property TestLists Gets or sets a StringList object that contains the paths to tests to execute.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Gets a user-readable string describing the properties of this instance. (Inherited from TestSpec.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace