TestResultCounter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides functionality to persist the counts of the outcomes of test cases in a test aggregation.
public ref class TestResultCounter : Microsoft::VisualStudio::TestTools::Common::Xml::IXmlTestStore
[System.Serializable]
public class TestResultCounter : Microsoft.VisualStudio.TestTools.Common.Xml.IXmlTestStore
[<System.Serializable>]
type TestResultCounter = class
interface IXmlTestStore
Public Class TestResultCounter
Implements IXmlTestStore
- Inheritance
-
TestResultCounter
- Attributes
- Implements
Constructors
TestResultCounter(Int32) |
Initializes a new instance of the TestResultCounter class. |
TestResultCounter(TestResultCounter) |
Initializes a new instance of the TestResultCounter class by creating a copy of the provided test result counter. |
Properties
Item[TestOutcome] |
Gets or sets the count for the test outcome at the specified index. |
Length |
Gets the number of counters in this test result counter (not including the Total counter). |
Total |
Gets or sets the total number of aggregated test results. |
Methods
Load(XmlElement, XmlTestStoreParameters) |
Loads an instance of this class from the provided XML element by using the provided parameters. |
Save(XmlElement, XmlTestStoreParameters) |
Saves this object in the provided XML element. |