TestOutcomeHelper.GetAggregationOutcome(TestResult[]) Method
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.
Returns the test outcome that represents the lowest numeric value for the outcome of each test result in the provided array.
public:
static Microsoft::VisualStudio::TestTools::Common::TestOutcome GetAggregationOutcome(cli::array <Microsoft::VisualStudio::TestTools::Common::TestResult ^> ^ results);
public static Microsoft.VisualStudio.TestTools.Common.TestOutcome GetAggregationOutcome (Microsoft.VisualStudio.TestTools.Common.TestResult[] results);
static member GetAggregationOutcome : Microsoft.VisualStudio.TestTools.Common.TestResult[] -> Microsoft.VisualStudio.TestTools.Common.TestOutcome
Public Shared Function GetAggregationOutcome (results As TestResult()) As TestOutcome
Parameters
- results
- Microsoft.VisualStudio.TestTools.Common.TestResult[]
An array of Microsoft.VisualStudio.TestTools.Common.TestResult objects.
Returns
The test outcome that represents the lowest numeric value for the outcome of each test result in the provided array.