AssertionStatus Enum

Summary

AssertionStatus enumeration represents the possible outcomes of an assertion. The order of definition is significant, higher level values override lower ones in determining the overall result of a test.
Namespace
TCLite
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["AssertionStatus"] class Type type-node

Syntax

public enum AssertionStatus

Fields

Name Constant Value Summary
Error 4
An unexpected exception was thrown
static
Failed 3
The assertion failed
static
Inconclusive 0
An assumption failed
static
Passed 1
The assertion succeeded
static
Warning 2
A warning message was issued
static