TestOutcomeHelper.GetAggregationOutcome(TestResult[]) Method

Definition

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.

Applies to