This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Provides helper methods for test outcomes.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.Common.TestOutcomeHelper
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public NotInheritable Class TestOutcomeHelper
public static class TestOutcomeHelper
public ref class TestOutcomeHelper abstract sealed
[<AbstractClass>]
[<Sealed>]
type TestOutcomeHelper =  class end
public final class TestOutcomeHelper
The TestOutcomeHelper type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| .gif) .gif) | GetAggregationOutcome | Returns the test outcome that represents the lowest numeric value for the outcome of each test result in the provided array. | 
| .gif) .gif) | IsAbort | Returns a value that indicates whether the test was aborted. | 
| .gif) .gif) | IsFail | Returns a value that indicates whether the test failed. | 
| .gif) .gif) | IsPass | Returns a value that indicates whether the test passed. | 
| .gif) .gif) | IsTerminal | Returns a value that indicates whether the test passed or failed. | 
| .gif) .gif) | IsWarning | Returns a value that indicates whether the outcome is a warning. | 
| .gif) .gif) | Localize | Returns the localized outcome message. | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.