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.

TestOutcomeHelper Class

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Provides helper methods for test outcomes.

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

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

public ref class TestOutcomeHelper abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetAggregationOutcome(array<TestResult^>^)

Returns the test outcome that represents the lowest numeric value for the outcome of each test result in the provided array.

System_CAPS_pubmethodSystem_CAPS_staticIsAbort(TestOutcome)

Returns a value that indicates whether the test was aborted.

System_CAPS_pubmethodSystem_CAPS_staticIsFail(TestOutcome)

Returns a value that indicates whether the test failed.

System_CAPS_pubmethodSystem_CAPS_staticIsPass(TestOutcome)

Returns a value that indicates whether the test passed.

System_CAPS_pubmethodSystem_CAPS_staticIsTerminal(TestOutcome)

Returns a value that indicates whether the test passed or failed.

System_CAPS_pubmethodSystem_CAPS_staticIsWarning(TestOutcome)

Returns a value that indicates whether the outcome is a warning.

System_CAPS_pubmethodSystem_CAPS_staticLocalize(TestOutcome)

Returns the localized outcome message.

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: