RunResultAndStatistics.HasPassed Property

Gets a value that indicates whether all tests in the associated test run have successfully passed.

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

Syntax

'Declaration
Public ReadOnly Property HasPassed As Boolean
public bool HasPassed { get; }
public:
property bool HasPassed {
    bool get ();
}
member HasPassed : bool
function get HasPassed () : boolean

Property Value

Type: System.Boolean
true if all tests in the associated test run have successfully passed; otherwise, false.

.NET Framework Security

See Also

Reference

RunResultAndStatistics Class

Microsoft.VisualStudio.TestTools.Common Namespace