C# Class Xunit.Sdk.EqualException

Inheritance: Xunit.Sdk.AssertActualExpectedException
显示文件 Open project: docevaad/Chain

Public Methods

Method Description
EqualException ( object expected, object actual, string userMessage = null ) : System

Creates a new instance of the EqualException class.

EqualException ( string expected, string actual, int expectedIndex, int actualIndex ) : System

Creates a new instance of the EqualException class for string comparisons.

Private Methods

Method Description
CreateMessage ( ) : string
ShortenAndEncode ( string value, int position, char pointer ) : string>.Tuple

Method Details

EqualException() public method

Creates a new instance of the EqualException class.
public EqualException ( object expected, object actual, string userMessage = null ) : System
expected object The expected object value
actual object The actual object value
userMessage string
return System

EqualException() public method

Creates a new instance of the EqualException class for string comparisons.
public EqualException ( string expected, string actual, int expectedIndex, int actualIndex ) : System
expected string The expected string value
actual string The actual string value
expectedIndex int The first index in the expected string where the strings differ
actualIndex int The first index in the actual string where the strings differ
return System