C# Class VitaUnit.Assert

Mostra file Open project: garyjohnson/vitaUnit

Public Methods

Method Description
AreEqual ( object firstValue, object secondValue ) : void
AreEqual ( object firstValue, object secondValue, string failureMessage ) : void
Fail ( ) : void
Fail ( string failureMessage ) : void
IsFalse ( bool condition ) : void
IsFalse ( bool condition, string failureMessage ) : void
IsNotNull ( object targetValue ) : void
IsNotNull ( object targetValue, string failureMessage ) : void
IsNull ( object targetValue ) : void
IsNull ( object targetValue, string failureMessage ) : void
IsTrue ( bool condition ) : void
IsTrue ( bool condition, string failureMessage ) : void

Private Methods

Method Description
OnTestFailure ( string message ) : void

Method Details

AreEqual() public static method

public static AreEqual ( object firstValue, object secondValue ) : void
firstValue object
secondValue object
return void

AreEqual() public static method

public static AreEqual ( object firstValue, object secondValue, string failureMessage ) : void
firstValue object
secondValue object
failureMessage string
return void

Fail() public static method

public static Fail ( ) : void
return void

Fail() public static method

public static Fail ( string failureMessage ) : void
failureMessage string
return void

IsFalse() public static method

public static IsFalse ( bool condition ) : void
condition bool
return void

IsFalse() public static method

public static IsFalse ( bool condition, string failureMessage ) : void
condition bool
failureMessage string
return void

IsNotNull() public static method

public static IsNotNull ( object targetValue ) : void
targetValue object
return void

IsNotNull() public static method

public static IsNotNull ( object targetValue, string failureMessage ) : void
targetValue object
failureMessage string
return void

IsNull() public static method

public static IsNull ( object targetValue ) : void
targetValue object
return void

IsNull() public static method

public static IsNull ( object targetValue, string failureMessage ) : void
targetValue object
failureMessage string
return void

IsTrue() public static method

public static IsTrue ( bool condition ) : void
condition bool
return void

IsTrue() public static method

public static IsTrue ( bool condition, string failureMessage ) : void
condition bool
failureMessage string
return void