C# Class UnityEngine.Assertions.AssertionMessageUtil

Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
BooleanFailureMessage ( bool expected ) : string
GetEqualityMessage ( object actual, object expected, bool expectEqual ) : string
GetMessage ( string failureMessage ) : string
GetMessage ( string failureMessage, string expected ) : string
NullFailureMessage ( object value, bool expectNull ) : string

Method Details

BooleanFailureMessage() public static method

public static BooleanFailureMessage ( bool expected ) : string
expected bool
return string

GetEqualityMessage() public static method

public static GetEqualityMessage ( object actual, object expected, bool expectEqual ) : string
actual object
expected object
expectEqual bool
return string

GetMessage() public static method

public static GetMessage ( string failureMessage ) : string
failureMessage string
return string

GetMessage() public static method

public static GetMessage ( string failureMessage, string expected ) : string
failureMessage string
expected string
return string

NullFailureMessage() public static method

public static NullFailureMessage ( object value, bool expectNull ) : string
value object
expectNull bool
return string