Class Assert
Inheritance
System.Object
Assert
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Cosmos.TestRunner.TestController.dll
Syntax
public static class Assert
Methods
|
Improve this Doc
View Source
AreEqual(Byte[], Byte[], String, String, Int32)
Declaration
public static void AreEqual(byte[] expected, byte[] actual, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.Byte[] |
expected |
|
System.Byte[] |
actual |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
AreEqual(Double, Double, String, String, Int32)
Declaration
public static void AreEqual(double expected, double actual, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.Double |
expected |
|
System.Double |
actual |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
AreEqual(Int32, Int32, String, String, Int32)
Declaration
public static void AreEqual(int expected, int actual, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.Int32 |
expected |
|
System.Int32 |
actual |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
AreEqual(Int32[], Int32[], String, String, Int32)
Declaration
public static void AreEqual(int[] expected, int[] actual, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.Int32[] |
expected |
|
System.Int32[] |
actual |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
AreEqual(Int64, Int64, String, String, Int32)
Declaration
public static void AreEqual(long expected, long actual, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.Int64 |
expected |
|
System.Int64 |
actual |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
AreEqual(String, String, String, String, Int32)
Declaration
public static void AreEqual(string expected, string actual, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.String |
expected |
|
System.String |
actual |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
AreEqual(String[], String[], String, String, Int32)
Declaration
public static void AreEqual(string[] expected, string[] actual, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.String[] |
expected |
|
System.String[] |
actual |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
AreEqual(UInt32[], UInt32[], String, String, Int32)
Declaration
public static void AreEqual(uint[] expected, uint[] actual, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.UInt32[] |
expected |
|
System.UInt32[] |
actual |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
AreNotEqual(UInt32, UInt32, String, String, Int32)
Declaration
public static void AreNotEqual(uint expected, uint actual, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.UInt32 |
expected |
|
System.UInt32 |
actual |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
Fail(String, String, Int32)
Declaration
public static void Fail(string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
IsFalse(Boolean, String, String, Int32)
Declaration
public static void IsFalse(bool condition, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.Boolean |
condition |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
IsTrue(Boolean, String, String, Int32)
Declaration
public static void IsTrue(bool condition, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.Boolean |
condition |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
Succeed(String, String, Int32)
Declaration
public static void Succeed(string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|