FailedTestNodeStateProperty Class

Definition

Property that represents a test node that has been failed.

public sealed class FailedTestNodeStateProperty : Microsoft.Testing.Platform.Extensions.Messages.TestNodeStateProperty, IEquatable<Microsoft.Testing.Platform.Extensions.Messages.FailedTestNodeStateProperty>
type FailedTestNodeStateProperty = class
    inherit TestNodeStateProperty
    interface IEquatable<FailedTestNodeStateProperty>
Public NotInheritable Class FailedTestNodeStateProperty
Inherits TestNodeStateProperty
Implements IEquatable(Of FailedTestNodeStateProperty)
Inheritance
FailedTestNodeStateProperty
Implements

Constructors

Name Description
FailedTestNodeStateProperty()

Initializes a new instance of the FailedTestNodeStateProperty class.

FailedTestNodeStateProperty(Exception, String)

Initializes a new instance of the FailedTestNodeStateProperty class.

FailedTestNodeStateProperty(String)

Initializes a new instance of the FailedTestNodeStateProperty class.

Properties

Name Description
EqualityContract (Inherited from TestNodeStateProperty)
Exception

Gets the failure exception.

Explanation

Gets the textual explanation of the node state.

(Inherited from TestNodeStateProperty)

Methods

Name Description
<Clone>$()
Deconstruct(String) (Inherited from TestNodeStateProperty)
Equals(FailedTestNodeStateProperty)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(TestNodeStateProperty)
Equals(TestNodeStateProperty) (Inherited from TestNodeStateProperty)
GetHashCode()

Serves as the default hash function.

PrintMembers(StringBuilder) (Inherited from TestNodeStateProperty)
ToString()

Returns a string that represents the current object.

Operators

Name Description
Equality(FailedTestNodeStateProperty, FailedTestNodeStateProperty)
Inequality(FailedTestNodeStateProperty, FailedTestNodeStateProperty)

Applies to