다음을 통해 공유


TestAggregation Class

Definition

Represents an aggregation of test elements and links.

public ref class TestAggregation abstract : Microsoft::VisualStudio::TestTools::Common::TestElement, ICloneable, Microsoft::VisualStudio::TestTools::Common::ITestAggregation
[System.Serializable]
public abstract class TestAggregation : Microsoft.VisualStudio.TestTools.Common.TestElement, ICloneable, Microsoft.VisualStudio.TestTools.Common.ITestAggregation
[<System.Serializable>]
type TestAggregation = class
    inherit TestElement
    interface ITestAggregation
    interface ITestElement
    interface ICloneable
    interface IVerifiable
    interface IVisiblePropertyProvider
Public MustInherit Class TestAggregation
Inherits TestElement
Implements ICloneable, ITestAggregation
Inheritance
TestAggregation
Attributes
Implements

Constructors

TestAggregation()

Initializes a new instance of the TestAggregation class.

TestAggregation(SerializationInfo, StreamingContext)

Initializes a new instance of the TestAggregation class from XML by using the provided information and context.

TestAggregation(String, String)

Initializes a new instance of the TestAggregation class.

TestAggregation(TestAggregation)

Initializes a new instance of the TestAggregation class that is a copy of the provided test aggregation object.

Fields

CanBeAggregatedPropertyName

Returns "CanBeAggregated".

(Inherited from TestElement)
CreatedByUIPropertyName

Returns "CreatedByUI".

(Inherited from TestElement)
CssIterationPropertyName

Returns "CssIteration".

(Inherited from TestElement)
CssProjectStructurePropertyName

Returns "CssProjectStructure".

(Inherited from TestElement)
DescriptionPropertyName

Returns "Description".

(Inherited from TestElement)
EnabledPropertyName

Returns "Enabled".

(Inherited from TestElement)
ErrorMessageForNonRunnablePropertyName

Returns "ErrorMessageForNonRunnable".

(Inherited from TestElement)
HostTypePropertyName

Returns "HostTypePropertyName".

(Inherited from TestElement)
HumanReadableIdPropertyName

Returns "HumanReadableId".

(Inherited from TestElement)
InfiniteTimeout

Returns the int.MaxValue.

(Inherited from TestElement)
IsAutomatedPropertyName

Returns "IsAutomated".

(Inherited from TestElement)
IsRunnablePropertyName

Returns "IsRunnable".

(Inherited from TestElement)
m_abortRunOnAgentFailure

Returns the value of the AbortRunOnAgentFailure property.

(Inherited from TestElement)
m_agentAttributes

Returns the value of the AgentAttributes property.

(Inherited from TestElement)
m_cssIteration

Returns the value of the CssIteration property.

(Inherited from TestElement)
m_cssProjectStructure

Returns the value of the CssProjectStructure property.

(Inherited from TestElement)
m_deploymentItems

Returns the value of the DeploymentItems property.

(Inherited from TestElement)
m_description

Returns the value of the Description property.

(Inherited from TestElement)
m_enabled

Returns the value of the Enabled property.

(Inherited from TestElement)
m_executionId

Returns the value of the ExecutionId property.

(Inherited from TestElement)
m_hostData

Returns the internal host data.

(Inherited from TestElement)
m_hostType

Returns the internal value of the HostType.

(Inherited from TestElement)
m_id

Returns the value of the Id property.

(Inherited from TestElement)
m_isGroupable

Returns the value of the IsGroupable property.

(Inherited from TestElement)
m_isRunOnRestart

Returns the value of the IsRunOnRestart property.

(Inherited from TestElement)
m_links

The internal list of links in this test aggregation.

m_name

Returns the value of the Name property.

(Inherited from TestElement)
m_nonRunnableReason

Returns the value of the ErrorMessageForNonRunnable property.

(Inherited from TestElement)
m_owner

Returns the value of the Owner property.

(Inherited from TestElement)
m_parentExecutionId

Returns the value of the ParentExecId property.

(Inherited from TestElement)
m_priority

Returns the value of the Priority property.

(Inherited from TestElement)
m_projectData

Returns the value of the ProjectData property.

(Inherited from TestElement)
m_properties

Returns the value of the Properties property.

(Inherited from TestElement)
m_storage

Returns the value of the Storage property.

(Inherited from TestElement)
m_testCategories

Returns the value of the TestCategories property.

(Inherited from TestElement)
m_timeout

Returns the value of the Timeout property.

(Inherited from TestElement)
m_userData

Returns the value of the UserData property.

(Inherited from TestElement)
m_workItemIds

Returns the value of the WorkItemIds property.

(Inherited from TestElement)
NamePropertyName

Returns "Name".

(Inherited from TestElement)
ObjectColumnName

Returns "ObjectColumnName".

(Inherited from TestElement)
OwnerPropertyName

Returns "Owner".

(Inherited from TestElement)
PriorityPropertyName

Returns "Priority".

(Inherited from TestElement)
ProjectDataPropertyName

Returns "ProjectData".

(Inherited from TestElement)
ProjectNamePropertyName

Returns "ProjectName".

(Inherited from TestElement)
ProjectRelativePathPropertyName

Returns "ProjectRelativePath".

(Inherited from TestElement)
SolutionNamePropertyName

Returns "SolutionName".

(Inherited from TestElement)
SourceFileNamePropertyName

Returns "SourceFileName".

(Inherited from TestElement)
StoragePropertyName

Returns "Storage".

(Inherited from TestElement)
TestCategoryPropertyName

Returns "TestCategory".

(Inherited from TestElement)
TestTypePropertyName

Returns "TestType".

(Inherited from TestElement)
TimeoutVisiblePropertyName

Returns "TimeoutVisible".

(Inherited from TestElement)
WorkItemIdsViewablePropertyName

Returns "WorkItemIdsViewable".

(Inherited from TestElement)

Properties

AbortRunOnAgentFailure

Gets or sets a value that indicates whether the test run will be aborted if a test agent fails.

(Inherited from TestElement)
Adapter

When overridden in a derived class, gets the associated diagnostic data adapter.

(Inherited from TestElement)
AgentAttributes

Gets a dictionary of agent attributes.

(Inherited from TestElement)
CanBeAggregated

When overridden in a derived class, gets a value that indicates whether this test element can be aggregated.

(Inherited from TestElement)
CategoryId

Gets or sets the test category ID for this test element.

(Inherited from TestElement)
ControllerPlugin

When overridden in a derived class, gets a custom controller extension object.

(Inherited from TestElement)
Copy

Gets a copy of this test element.

(Inherited from TestElement)
CreatedByUI

Gets or sets a value that indicates whether this element was created by the user interface.

(Inherited from TestElement)
CssIteration

Gets or sets the iteration path for an associated work item.

(Inherited from TestElement)
CssProjectStructure

Gets or sets the area path of an associated work item.

(Inherited from TestElement)
DeploymentItems

Gets a collection of items to be deployed together with this test.

(Inherited from TestElement)
DeploymentItemsEditable

Gets an array of the file names for those deployment items that are editable.

(Inherited from TestElement)
Description

Gets or sets a description of this test element.

(Inherited from TestElement)
Elements

Gets an array of the test element IDs in this aggregation.

Enabled

Gets or sets a value that indicates whether this test element is enabled.

(Inherited from TestElement)
ErrorMessageForNonRunnable

Gets the error message to use if the test element is not runnable.

(Inherited from TestElement)
ExecutionId

Gets or sets the execution ID

(Inherited from TestElement)
Groups

Gets a collection of property descriptors that represents the groups to which the properties of this test element belong, and also determines how the descriptors will be grouped in the properties window of the user interface.

(Inherited from TestElement)
HostData

Gets or sets data to be used by the custom host that is identified by the HostType property.

(Inherited from TestElement)
HostType

Gets or sets the type name for the custom host to use for the test instead of the default host.

(Inherited from TestElement)
HumanReadableId

Gets the ID of this test element as it appears in the user interface.

(Inherited from TestElement)
Id

Gets the ID for this test element.

(Inherited from TestElement)
IsAutomated

Gets a value that indicates whether this test element is automated.

(Inherited from TestElement)
IsGroupable

Gets or sets a value that indicates whether this test element can be grouped.

(Inherited from TestElement)
IsLoadTestCandidate

Gets a value that indicates whether this test element will be included in a list of possible load tests in the UI.

(Inherited from TestElement)
IsModified

Gets or sets a value that indicates whether this test element has been modified.

(Inherited from TestElement)
IsRunnable

Gets or sets a value that indicates whether this test element is runnable.

(Inherited from TestElement)
IsRunOnRestart

Gets or sets a value that indicates whether this test element is to be run if the test run is restarted.

(Inherited from TestElement)
Link

Gets a link to this test element.

(Inherited from TestElement)
Links

Gets an array of the test links in this aggregation.

Name

Gets or sets the name of this test element.

(Inherited from TestElement)
Owner

Gets or sets the name of the owner of this test element.

(Inherited from TestElement)
ParentExecId

Gets or sets the TestExecId of the parent test element.

(Inherited from TestElement)
Priority

Gets or sets the relative priority of this test element.

(Inherited from TestElement)
ProjectData

Gets or sets the data for the test project that contains this test element.

(Inherited from TestElement)
ProjectName

Gets the name of the test project that contains this test element.

(Inherited from TestElement)
ProjectRelativePath

Gets the relative path of the test project that contains this test element.

(Inherited from TestElement)
Properties

Gets a collection of the properties for this test element.

(Inherited from TestElement)
ReadOnly

When overridden in a derived class, gets or sets a value that indicates whether this test element is read-only.

(Inherited from TestElement)
SolutionName

Gets the name of the solution that contains this test element.

(Inherited from TestElement)
SourceFileName

Gets the path and file name for the test that contains this element.

(Inherited from TestElement)
Storage

Gets or sets the path of the storage location of the deployment items for this element.

(Inherited from TestElement)
SynchronizedStart
Obsolete.

Gets a value that indicates whether the tests and linked tests in this aggregation must be started synchronously.

TestCategories

Gets a collection of test category items that is assigned to this test element by the user in the user interface.

(Inherited from TestElement)
TestType

When overridden in a derived class, gets the type of this test.

(Inherited from TestElement)
TestTypeName

Gets the type of the test element as a string.

(Inherited from TestElement)
Timeout

Gets or sets the number of seconds before the execution of this test element times out.

(Inherited from TestElement)
UserData

Gets or sets an object that contains nonpersistable arbitrary data for a custom test element.

(Inherited from TestElement)
VisibleLinks

Gets an array of links in this test aggregation that is visible in the user interface.

VisibleProperties

Gets a collection of the properties of this test element that is visible in the user interface.

(Inherited from TestElement)
WorkItemIds

Gets or sets a list of work item IDs that is associated with this test element.

(Inherited from TestElement)
WorkItemIdsViewable

Gets or sets a list of work item IDs for viewable work items.

(Inherited from TestElement)

Methods

Add(Link)

Adds the provided link to the links in this test aggregation.

AssignIsRunnable(Boolean, String)

Assigns values for the IsRunnable and ErrorMessageForNonRunnable properties.

(Inherited from TestElement)
Clear()

Removes all links in this test aggregation.

Clone()

When overridden in a derived class, returns a copy of this test element.

(Inherited from TestElement)
Equals(Object)

Returns a value that indicates whether the provided object is equal to this test element object.

(Inherited from TestElement)
FillDataRow(DataRow, String)

Fills the provided data row object by using test data results from visible properties of this test element.

(Inherited from TestElement)
GetHashCode() (Inherited from TestElement)
GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo by using the data that are required to serialize the target object.

IsValid()

Returns a value that indicates whether this test element is valid.

(Inherited from TestElement)
Load(XmlElement, XmlTestStoreParameters)

Loads an instance of this class from the provided XML element by using the provided XML store parameters.

MakeLinksRelative(String)

Makes the paths for all links in this test aggregation relative to the provided root path.

Remove(Link)

Removes the provided link from the links in this test aggregation.

Save(XmlElement, XmlTestStoreParameters)

Saves this object in the provided XML element.

ToString()

Returns a string representation of this test element.

(Inherited from TestElement)

Applies to