Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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 | |
|---|---|---|
![]() ![]() |
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.
.gif)
.gif)