C# Class PclUnit.Style.Xunit.Exceptions.EqualException

Inheritance: AssertActualExpectedException
Afficher le fichier Open project: jbtule/PclUnit

Méthodes publiques

Méthode 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.

Private Methods

Méthode Description
CreateMessage ( ) : string
ShortenAndEncode ( string value, int position, char pointer ) : ShortenEncoded

Method Details

EqualException() public méthode

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
Résultat System

EqualException() public méthode

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
Résultat System