C# Class SharpUnit.Assert

Show file Open project: mgants4/SharpUnit

Public Methods

Method Description
Equal ( Exception wanted, Exception got ) : void
Equal ( Exception wanted, Exception got, string msg ) : void
Equal ( Object wanted, Object got ) : void
Equal ( Object wanted, Object got, string msg ) : void
Equal ( bool wanted, bool got ) : void
Equal ( bool wanted, bool got, string msg ) : void
Equal ( float wanted, float got ) : void
Equal ( float wanted, float got, string msg ) : void
Equal ( int wanted, int got ) : void
Equal ( int wanted, int got, string msg ) : void
Equal ( string wanted, string got ) : void
Equal ( string wanted, string got, string msg ) : void
ExpectException ( Exception ex ) : void
False ( bool boolean ) : void
False ( bool boolean, string msg ) : void
NotNull ( Object obj ) : void
NotNull ( Object obj, string msg ) : void
Null ( Object obj ) : void
Null ( Object obj, string msg ) : void
True ( bool boolean ) : void
True ( bool boolean, string msg ) : void

Method Details

Equal() public static method

public static Equal ( Exception wanted, Exception got ) : void
wanted System.Exception
got System.Exception
return void

Equal() public static method

public static Equal ( Exception wanted, Exception got, string msg ) : void
wanted System.Exception
got System.Exception
msg string
return void

Equal() public static method

public static Equal ( Object wanted, Object got ) : void
wanted Object
got Object
return void

Equal() public static method

public static Equal ( Object wanted, Object got, string msg ) : void
wanted Object
got Object
msg string
return void

Equal() public static method

public static Equal ( bool wanted, bool got ) : void
wanted bool
got bool
return void

Equal() public static method

public static Equal ( bool wanted, bool got, string msg ) : void
wanted bool
got bool
msg string
return void

Equal() public static method

public static Equal ( float wanted, float got ) : void
wanted float
got float
return void

Equal() public static method

public static Equal ( float wanted, float got, string msg ) : void
wanted float
got float
msg string
return void

Equal() public static method

public static Equal ( int wanted, int got ) : void
wanted int
got int
return void

Equal() public static method

public static Equal ( int wanted, int got, string msg ) : void
wanted int
got int
msg string
return void

Equal() public static method

public static Equal ( string wanted, string got ) : void
wanted string
got string
return void

Equal() public static method

public static Equal ( string wanted, string got, string msg ) : void
wanted string
got string
msg string
return void

ExpectException() public static method

public static ExpectException ( Exception ex ) : void
ex System.Exception
return void

False() public static method

public static False ( bool boolean ) : void
boolean bool
return void

False() public static method

public static False ( bool boolean, string msg ) : void
boolean bool
msg string
return void

NotNull() public static method

public static NotNull ( Object obj ) : void
obj Object
return void

NotNull() public static method

public static NotNull ( Object obj, string msg ) : void
obj Object
msg string
return void

Null() public static method

public static Null ( Object obj ) : void
obj Object
return void

Null() public static method

public static Null ( Object obj, string msg ) : void
obj Object
msg string
return void

True() public static method

public static True ( bool boolean ) : void
boolean bool
return void

True() public static method

public static True ( bool boolean, string msg ) : void
boolean bool
msg string
return void