TestResult.HasPassed Property
Gets a value that indicates whether the associated test for this test result successfully executed.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
[VisiblePropertyAttribute]
public virtual bool HasPassed { get; }
public:
[VisiblePropertyAttribute]
property bool HasPassed {
virtual bool get();
}
[<VisiblePropertyAttribute>]
abstract HasPassed : bool with get
[<VisiblePropertyAttribute>]
override HasPassed : bool with get
<VisiblePropertyAttribute>
Public Overridable ReadOnly Property HasPassed As Boolean
Property Value
Type: System.Boolean
true if the associated test for this test result successfully executed; otherwise, false.
See Also
TestResult Class
Microsoft.VisualStudio.TestTools.Common Namespace
Return to top