Export (0) Print
Expand All

TestAggregation Class

Represents an aggregation of test elements and links.

System.Object
  Microsoft.VisualStudio.TestTools.Common.TestElement
    Microsoft.VisualStudio.TestTools.Common.TestAggregation

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

[SerializableAttribute]
public abstract class TestAggregation : TestElement, 
	ITestAggregation, ITestElement, ICloneable, IVerifiable, IVisiblePropertyProvider

The TestAggregation type exposes the following members.

  NameDescription
Protected methodTestAggregation()Initializes a new instance of the TestAggregation class.
Protected methodTestAggregation(TestAggregation)Initializes a new instance of the TestAggregation class that is a copy of the provided test aggregation object.
Protected methodTestAggregation(SerializationInfo, StreamingContext)Initializes a new instance of the TestAggregation class from XML by using the provided information and context.
Protected methodTestAggregation(String, String)Initializes a new instance of the TestAggregation class.
Top

  NameDescription
Public propertyAbortRunOnAgentFailureGets or sets a value that indicates whether the test run will be aborted if a test agent fails. (Inherited from TestElement.)
Public propertyAdapterWhen overridden in a derived class, gets the associated diagnostic data adapter. (Inherited from TestElement.)
Public propertyAgentAttributesGets a dictionary of agent attributes. (Inherited from TestElement.)
Public propertyCanBeAggregatedWhen overridden in a derived class, gets a value that indicates whether this test element can be aggregated. (Inherited from TestElement.)
Public propertyCategoryIdGets or sets the test category ID for this test element. (Inherited from TestElement.)
Public propertyControllerPluginWhen overridden in a derived class, gets a custom controller extension object. (Inherited from TestElement.)
Public propertyCopyGets a copy of this test element. (Inherited from TestElement.)
Public propertyCreatedByUIGets or sets a value that indicates whether this element was created by the user interface. (Inherited from TestElement.)
Public propertyCssIterationGets or sets the iteration path for an associated work item. (Inherited from TestElement.)
Public propertyCssProjectStructureGets or sets the area path of an associated work item. (Inherited from TestElement.)
Public propertyDeploymentItemsGets a collection of items to be deployed together with this test. (Inherited from TestElement.)
Public propertyDeploymentItemsEditableGets an array of the file names for those deployment items that are editable. (Inherited from TestElement.)
Public propertyDescriptionGets or sets a description of this test element. (Inherited from TestElement.)
Public propertyElementsGets an array of the test element IDs in this aggregation.
Public propertyEnabledGets or sets a value that indicates whether this test element is enabled. (Inherited from TestElement.)
Public propertyErrorMessageForNonRunnableGets the error message to use if the test element is not runnable. (Inherited from TestElement.)
Public propertyExecutionIdGets or sets the execution ID (Inherited from TestElement.)
Public propertyGroupsGets 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.)
Public propertyHostDataGets or sets data to be used by the custom host that is identified by the HostType property. (Inherited from TestElement.)
Public propertyHostTypeGets or sets the type name for the custom host to use for the test instead of the default host. (Inherited from TestElement.)
Public propertyHumanReadableIdGets the ID of this test element as it appears in the user interface. (Inherited from TestElement.)
Public propertyIdGets the ID for this test element. (Inherited from TestElement.)
Public propertyIsAutomatedGets a value that indicates whether this test element is automated. (Inherited from TestElement.)
Public propertyIsGroupableGets or sets a value that indicates whether this test element can be grouped. (Inherited from TestElement.)
Public propertyIsLoadTestCandidateGets a value that indicates whether this test element will be included in a list of possible load tests in the UI. (Inherited from TestElement.)
Public propertyIsModifiedGets or sets a value that indicates whether this test element has been modified. (Inherited from TestElement.)
Public propertyIsRunnableGets or sets a value that indicates whether this test element is runnable. (Inherited from TestElement.)
Public propertyIsRunOnRestartGets or sets a value that indicates whether this test element is to be run if the test run is restarted. (Inherited from TestElement.)
Public propertyLinkGets a link to this test element. (Inherited from TestElement.)
Public propertyLinksGets an array of the test links in this aggregation.
Public propertyNameGets or sets the name of this test element. (Inherited from TestElement.)
Public propertyOwnerGets or sets the name of the owner of this test element. (Inherited from TestElement.)
Public propertyParentExecIdGets or sets the TestExecId of the parent test element. (Inherited from TestElement.)
Public propertyPriorityGets or sets the relative priority of this test element. (Inherited from TestElement.)
Public propertyProjectDataGets or sets the data for the test project that contains this test element. (Inherited from TestElement.)
Public propertyProjectNameGets the name of the test project that contains this test element. (Inherited from TestElement.)
Public propertyProjectRelativePathGets the relative path of the test project that contains this test element. (Inherited from TestElement.)
Public propertyPropertiesGets a collection of the properties for this test element. (Inherited from TestElement.)
Public propertyReadOnlyWhen overridden in a derived class, gets or sets a value that indicates whether this test element is read-only. (Inherited from TestElement.)
Public propertySolutionNameGets the name of the solution that contains this test element. (Inherited from TestElement.)
Public propertySourceFileNameGets the path and file name for the test that contains this element. (Inherited from TestElement.)
Public propertyStorageGets or sets the path of the storage location of the deployment items for this element. (Inherited from TestElement.)
Public propertySynchronizedStartInfrastructure. Obsolete. Gets a value that indicates whether the tests and linked tests in this aggregation must be started synchronously.
Public propertyTestCategoriesGets a collection of test category items that is assigned to this test element by the user in the user interface. (Inherited from TestElement.)
Public propertyTestIdStringGets the test ID for this test element as a string. (Inherited from TestElement.)
Public propertyTestTypeWhen overridden in a derived class, gets the type of this test. (Inherited from TestElement.)
Public propertyTestTypeNameGets the type of the test element as a string. (Inherited from TestElement.)
Public propertyTimeoutGets or sets the number of seconds before the execution of this test element times out. (Inherited from TestElement.)
Public propertyUserDataGets or sets an object that contains nonpersistable arbitrary data for a custom test element. (Inherited from TestElement.)
Public propertyVisibleLinksGets an array of links in this test aggregation that is visible in the user interface.
Public propertyVisiblePropertiesGets a collection of the properties of this test element that is visible in the user interface. (Inherited from TestElement.)
Public propertyWorkItemIdsGets or sets a list of work item IDs that is associated with this test element. (Inherited from TestElement.)
Public propertyWorkItemIdsViewableGets or sets a list of work item IDs for viewable work items. (Inherited from TestElement.)
Top

  NameDescription
Public methodAddAdds the provided link to the links in this test aggregation.
Public methodAssignIsRunnableAssigns values for the IsRunnable and ErrorMessageForNonRunnable properties. (Inherited from TestElement.)
Public methodClearRemoves all links in this test aggregation.
Public methodCloneWhen overridden in a derived class, returns a copy of this test element. (Inherited from TestElement.)
Public methodEqualsReturns a value that indicates whether the provided object is equal to this test element object. (Inherited from TestElement.)
Public methodFillDataRowFills the provided data row object by using test data results from visible properties of this test element. (Inherited from TestElement.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from TestElement.)
Public methodGetObjectDataPopulates a SerializationInfo by using the data that are required to serialize the target object. (Overrides TestElement.GetObjectData(SerializationInfo, StreamingContext).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsValidReturns a value that indicates whether this test element is valid. (Inherited from TestElement.)
Public methodLoadLoads an instance of this class from the provided XML element by using the provided XML store parameters. (Overrides TestElement.Load(XmlElement, XmlTestStoreParameters).)
Public methodMakeLinksRelativeMakes the paths for all links in this test aggregation relative to the provided root path.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveRemoves the provided link from the links in this test aggregation.
Public methodSaveSaves this object in the provided XML element. (Overrides TestElement.Save(XmlElement, XmlTestStoreParameters).)
Public methodToStringReturns a string representation of this test element. (Inherited from TestElement.)
Top

  NameDescription
Protected fieldm_abortRunOnAgentFailureInfrastructure. Returns the value of the AbortRunOnAgentFailure property. (Inherited from TestElement.)
Protected fieldm_agentAttributesInfrastructure. Returns the value of the AgentAttributes property. (Inherited from TestElement.)
Protected fieldm_cssIterationInfrastructure. Returns the value of the CssIteration property. (Inherited from TestElement.)
Protected fieldm_cssProjectStructureInfrastructure. Returns the value of the CssProjectStructure property. (Inherited from TestElement.)
Protected fieldm_deploymentItemsInfrastructure. Returns the value of the DeploymentItems property. (Inherited from TestElement.)
Protected fieldm_descriptionInfrastructure. Returns the value of the Description property. (Inherited from TestElement.)
Protected fieldm_enabledInfrastructure. Returns the value of the Enabled property. (Inherited from TestElement.)
Protected fieldm_executionIdInfrastructure. Returns the value of the ExecutionId property. (Inherited from TestElement.)
Protected fieldm_hostDataReturns the internal host data. (Inherited from TestElement.)
Protected fieldm_hostTypeInfrastructure. Returns the internal value of the HostType. (Inherited from TestElement.)
Protected fieldm_idInfrastructure. Returns the value of the Id property. (Inherited from TestElement.)
Protected fieldm_isGroupableInfrastructure. Returns the value of the IsGroupable property. (Inherited from TestElement.)
Protected fieldm_isRunOnRestartInfrastructure. Returns the value of the IsRunOnRestart property. (Inherited from TestElement.)
Protected fieldm_linksThe internal list of links in this test aggregation.
Protected fieldm_nameInfrastructure. Returns the value of the Name property. (Inherited from TestElement.)
Protected fieldm_nonRunnableReasonInfrastructure. Returns the value of the ErrorMessageForNonRunnable property. (Inherited from TestElement.)
Protected fieldm_ownerInfrastructure. Returns the value of the Owner property. (Inherited from TestElement.)
Protected fieldm_parentExecutionIdInfrastructure. Returns the value of the ParentExecId property. (Inherited from TestElement.)
Protected fieldm_priorityInfrastructure. Returns the value of the Priority property. (Inherited from TestElement.)
Protected fieldm_projectDataInfrastructure. Returns the value of the ProjectData property. (Inherited from TestElement.)
Protected fieldm_propertiesInfrastructure. Returns the value of the Properties property. (Inherited from TestElement.)
Protected fieldm_storageInfrastructure. Returns the value of the Storage property. (Inherited from TestElement.)
Protected fieldm_testCategoriesInfrastructure. Returns the value of the TestCategories property. (Inherited from TestElement.)
Protected fieldm_timeoutInfrastructure. Returns the value of the Timeout property. (Inherited from TestElement.)
Protected fieldm_userDataInfrastructure. Returns the value of the UserData property. (Inherited from TestElement.)
Protected fieldm_workItemIdsInfrastructure. Returns the value of the WorkItemIds property. (Inherited from TestElement.)
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft