Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TestResultCounter Class

 

Provides functionality to persist the counts of the outcomes of test cases in a test aggregation.

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

System::Object
  Microsoft.VisualStudio.TestTools.Common::TestResultCounter

[SerializableAttribute]
public ref class TestResultCounter : IXmlTestStore

NameDescription
System_CAPS_pubmethodTestResultCounter(Int32)

Initializes a new instance of the TestResultCounter class.

System_CAPS_pubmethodTestResultCounter(TestResultCounter^)

Initializes a new instance of the TestResultCounter class by creating a copy of the provided test result counter.

NameDescription
System_CAPS_pubpropertyItem[TestOutcome]

Gets or sets the count for the test outcome at the specified index.

System_CAPS_pubpropertyLength

Gets the number of counters in this test result counter (not including the Total counter).

System_CAPS_pubpropertyTotal

Gets or sets the total number of aggregated test results.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoad(XmlElement^, XmlTestStoreParameters^)

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

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSave(XmlElement^, XmlTestStoreParameters^)

Saves this object in the provided XML element.

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: