C# Class NUnit.Extensions.Asp.CompatibilityAdapter

For backwards compatibility; will be deprecated in the future. This class provides convenience methods for common assertions. You should use Assert and WebAssert methods instead.
显示文件 Open project: vcsjones/NUnitAsp

Public Methods

Method Description
AssertEquals ( object expected, object actual ) : void

For backwards compatibility; will be deprecated in the future.

AssertEquals ( string message, object expected, object actual ) : void

For backwards compatibility; will be deprecated in the future.

AssertEquals ( string expected, string actual ) : void

For backwards compatibility; will be deprecated in the future.

AssertEquals ( string message, string expected, string actual ) : void

For backwards compatibility; will be deprecated in the future.

AssertEqualsIgnoreOrder ( string message, string expected, string actual ) : void

For backwards compatibility; will be deprecated in the future.

AssertNotNull ( object o ) : void

For backwards compatibility; will be deprecated in the future.

AssertNotNull ( string message, object o ) : void

For backwards compatibility; will be deprecated in the future.

AssertNull ( object o ) : void

For backwards compatibility; will be deprecated in the future.

AssertNull ( string message, object o ) : void

For backwards compatibility; will be deprecated in the future.

AssertSame ( object expected, object actual ) : void

For backwards compatibility; will be deprecated in the future.

AssertSame ( string message, object expected, object actual ) : void

For backwards compatibility; will be deprecated in the future.

AssertSortOrder ( string message, string data, int column, bool isAscending, DataType type ) : void

For backwards compatibility; will be deprecated in the future.

AssertTrue ( bool condition ) : void

For backwards compatibility; will be deprecated in the future.

AssertTrue ( string message, bool condition ) : void

For backwards compatibility; will be deprecated in the future.

AssertVisibility ( ControlTester tester, bool expectedVisibility ) : void

For backwards compatibility; will be deprecated in the future.

Fail ( string message ) : void

For backwards compatibility; will be deprecated in the future.

Method Details

AssertEquals() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertEquals ( object expected, object actual ) : void
expected object
actual object
return void

AssertEquals() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertEquals ( string message, object expected, object actual ) : void
message string
expected object
actual object
return void

AssertEquals() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertEquals ( string expected, string actual ) : void
expected string
actual string
return void

AssertEquals() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertEquals ( string message, string expected, string actual ) : void
message string
expected string
actual string
return void

AssertEqualsIgnoreOrder() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertEqualsIgnoreOrder ( string message, string expected, string actual ) : void
message string
expected string
actual string
return void

AssertNotNull() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertNotNull ( object o ) : void
o object
return void

AssertNotNull() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertNotNull ( string message, object o ) : void
message string
o object
return void

AssertNull() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertNull ( object o ) : void
o object
return void

AssertNull() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertNull ( string message, object o ) : void
message string
o object
return void

AssertSame() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertSame ( object expected, object actual ) : void
expected object
actual object
return void

AssertSame() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertSame ( string message, object expected, object actual ) : void
message string
expected object
actual object
return void

AssertSortOrder() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertSortOrder ( string message, string data, int column, bool isAscending, DataType type ) : void
message string
data string
column int
isAscending bool
type DataType
return void

AssertTrue() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertTrue ( bool condition ) : void
condition bool
return void

AssertTrue() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertTrue ( string message, bool condition ) : void
message string
condition bool
return void

AssertVisibility() public static method

For backwards compatibility; will be deprecated in the future.
public static AssertVisibility ( ControlTester tester, bool expectedVisibility ) : void
tester ControlTester
expectedVisibility bool
return void

Fail() public static method

For backwards compatibility; will be deprecated in the future.
public static Fail ( string message ) : void
message string
return void