C# Class XunitShould.Sdk.EqualException

Inheritance: Xunit.Sdk.EqualException
显示文件 Open project: EddieGarmon/XunitShould

Public Methods

Method Description
EqualException ( object expected, object actual ) : 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.

EqualException ( object expected, object actual ) : System.Runtime.Serialization
EqualException ( object expected, object actual, bool skipPositionCheck ) : System.Runtime.Serialization

Protected Methods

Method Description
EqualException ( SerializationInfo info, StreamingContext context ) : System.Runtime.Serialization

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 ) : System
expected object The expected object value
actual object The actual object value
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

EqualException() protected method

protected EqualException ( SerializationInfo info, StreamingContext context ) : System.Runtime.Serialization
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System.Runtime.Serialization

EqualException() public method

public EqualException ( object expected, object actual ) : System.Runtime.Serialization
expected object
actual object
return System.Runtime.Serialization

EqualException() public method

public EqualException ( object expected, object actual, bool skipPositionCheck ) : System.Runtime.Serialization
expected object
actual object
skipPositionCheck bool
return System.Runtime.Serialization