C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

AssertEquals() публичный статический Метод

For backwards compatibility; will be deprecated in the future.
public static AssertEquals ( object expected, object actual ) : void
expected object
actual object
Результат void

AssertEquals() публичный статический Метод

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
Результат void

AssertEquals() публичный статический Метод

For backwards compatibility; will be deprecated in the future.
public static AssertEquals ( string expected, string actual ) : void
expected string
actual string
Результат void

AssertEquals() публичный статический Метод

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
Результат void

AssertEqualsIgnoreOrder() публичный статический Метод

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
Результат void

AssertNotNull() публичный статический Метод

For backwards compatibility; will be deprecated in the future.
public static AssertNotNull ( object o ) : void
o object
Результат void

AssertNotNull() публичный статический Метод

For backwards compatibility; will be deprecated in the future.
public static AssertNotNull ( string message, object o ) : void
message string
o object
Результат void

AssertNull() публичный статический Метод

For backwards compatibility; will be deprecated in the future.
public static AssertNull ( object o ) : void
o object
Результат void

AssertNull() публичный статический Метод

For backwards compatibility; will be deprecated in the future.
public static AssertNull ( string message, object o ) : void
message string
o object
Результат void

AssertSame() публичный статический Метод

For backwards compatibility; will be deprecated in the future.
public static AssertSame ( object expected, object actual ) : void
expected object
actual object
Результат void

AssertSame() публичный статический Метод

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
Результат void

AssertSortOrder() публичный статический Метод

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
Результат void

AssertTrue() публичный статический Метод

For backwards compatibility; will be deprecated in the future.
public static AssertTrue ( bool condition ) : void
condition bool
Результат void

AssertTrue() публичный статический Метод

For backwards compatibility; will be deprecated in the future.
public static AssertTrue ( string message, bool condition ) : void
message string
condition bool
Результат void

AssertVisibility() публичный статический Метод

For backwards compatibility; will be deprecated in the future.
public static AssertVisibility ( ControlTester tester, bool expectedVisibility ) : void
tester ControlTester
expectedVisibility bool
Результат void

Fail() публичный статический Метод

For backwards compatibility; will be deprecated in the future.
public static Fail ( string message ) : void
message string
Результат void