Method | Description | |
---|---|---|
AreEqual ( object a, object b ) : void |
Assert that two values are equal.
|
|
AreEqual ( object a, object b, string message ) : void |
Assert that two values are equal.
|
|
AreEquivalent ( IEnumerable a, IEnumerable b ) : void | ||
AreEquivalent ( IEnumerable a, IEnumerable b, string message ) : void | ||
AreNotEqual ( object a, object b ) : void |
Assert that two values are not equal.
|
|
AreNotEqual ( object a, object b, string message ) : void |
Assert that two values are not equal.
|
|
AreSame ( object a, object b ) : void |
Assert that two values are the same.
|
|
AreSame ( object a, object b, string message ) : void |
Assert that two values are the same.
|
|
Contains ( string text, string substring ) : void |
Assert that a substring is present in the text.
|
|
Contains ( string text, string substring, string message ) : void |
Assert that a substring is present in the text.
|
|
EndsWith ( string text, string substring ) : void |
Assert that a string ends with another.
|
|
EndsWith ( string text, string substring, string message ) : void |
Assert that a string ends with another.
|
|
Fail ( string message ) : void |
Force a failure.
|
|
IsFalse ( bool condition ) : void |
Assert that a condition is false.
|
|
IsFalse ( bool condition, string message ) : void |
Assert that a condition is false.
|
|
IsNotNull ( object value ) : void | ||
IsNotNull ( object value, string message ) : void | ||
IsNull ( object value ) : void | ||
IsNull ( object value, string message ) : void | ||
IsTrue ( bool condition ) : void |
Assert that a condition is true.
|
|
IsTrue ( bool condition, string message ) : void |
Assert that a condition is true.
|
|
StartsWith ( string text, string substring ) : void |
Assert that a string starts with another.
|
|
StartsWith ( string text, string substring, string message ) : void |
Assert that a string starts with another.
|
Method | Description | |
---|---|---|
GetProperties ( object obj ) : string |
public static AreEqual ( object a, object b ) : void | ||
a | object | The first value. |
b | object | The second value. |
return | void |
public static AreEqual ( object a, object b, string message ) : void | ||
a | object | The first value. |
b | object | The second value. |
message | string | Details about the assertion. |
return | void |
public static AreEquivalent ( IEnumerable a, IEnumerable b ) : void | ||
a | IEnumerable | |
b | IEnumerable | |
return | void |
public static AreEquivalent ( IEnumerable a, IEnumerable b, string message ) : void | ||
a | IEnumerable | |
b | IEnumerable | |
message | string | |
return | void |
public static AreNotEqual ( object a, object b ) : void | ||
a | object | The first value. |
b | object | The second value. |
return | void |
public static AreNotEqual ( object a, object b, string message ) : void | ||
a | object | The first value. |
b | object | The second value. |
message | string | Details about the assertion. |
return | void |
public static AreSame ( object a, object b ) : void | ||
a | object | The first value. |
b | object | The second value. |
return | void |
public static AreSame ( object a, object b, string message ) : void | ||
a | object | The first value. |
b | object | The second value. |
message | string | Details about the assertion. |
return | void |
public static Contains ( string text, string substring ) : void | ||
text | string | The text to search. |
substring | string | The substring to find. |
return | void |
public static Contains ( string text, string substring, string message ) : void | ||
text | string | The text to search. |
substring | string | The substring to find. |
message | string | Details about the assertion. |
return | void |
public static EndsWith ( string text, string substring ) : void | ||
text | string | The text to search. |
substring | string | The substring to find. |
return | void |
public static EndsWith ( string text, string substring, string message ) : void | ||
text | string | The text to search. |
substring | string | The substring to find. |
message | string | Details about the assertion. |
return | void |
public static Fail ( string message ) : void | ||
message | string | Details about the assertion. |
return | void |
public static IsFalse ( bool condition ) : void | ||
condition | bool | The condition to check. |
return | void |
public static IsFalse ( bool condition, string message ) : void | ||
condition | bool | The condition to check. |
message | string | Details about the assertion. |
return | void |
public static IsNotNull ( object value ) : void | ||
value | object | |
return | void |
public static IsNotNull ( object value, string message ) : void | ||
value | object | |
message | string | |
return | void |
public static IsNull ( object value, string message ) : void | ||
value | object | |
message | string | |
return | void |
public static IsTrue ( bool condition ) : void | ||
condition | bool | The condition to check. |
return | void |
public static IsTrue ( bool condition, string message ) : void | ||
condition | bool | The condition to check. |
message | string | Details about the assertion. |
return | void |
public static StartsWith ( string text, string substring ) : void | ||
text | string | The text to search. |
substring | string | The substring to find. |
return | void |
public static StartsWith ( string text, string substring, string message ) : void | ||
text | string | The text to search. |
substring | string | The substring to find. |
message | string | Details about the assertion. |
return | void |