AssertionResult Class

Summary

The AssertionResult class represents the result of a single assertion.
Namespace
TCLite
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IEquatable<AssertionResult>"] Type["AssertionResult"] class Type type-node

Syntax

public class AssertionResult : IEquatable<AssertionResult>

Constructors

Name Summary
AssertionResult(AssertionStatus, string, string) Construct an AssertionResult

Properties

Name Value Summary
Message string
The message produced by the assertion, or null
StackTrace string
The stack trace associated with the assertion, or null
Status AssertionStatus
The pass/fail status of the assertion

Methods

Name Value Summary
Equals(AssertionResult) bool
Indicates whether the current object is equal to another object of the same type.
Equals(object) bool
Determines whether the specified object is equal to the current object.
GetHashCode() int
Serves as the default hash function.
ToString() string
ToString Override