Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
System.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 | |
---|---|---|
![]() ![]() |
GetAggregationOutcome | Returns the test outcome that represents the lowest numeric value for the outcome of each test result in the provided array. |
![]() ![]() |
IsAbort | Returns a value that indicates whether the test was aborted. |
![]() ![]() |
IsFail | Returns a value that indicates whether the test failed. |
![]() ![]() |
IsPass | Returns a value that indicates whether the test passed. |
![]() ![]() |
IsTerminal | Returns a value that indicates whether the test passed or failed. |
![]() ![]() |
IsWarning | Returns a value that indicates whether the outcome is a warning. |
![]() ![]() |
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.