C# Класс Adf.Test.TestProvider

Наследование: ITestProvider
Показать файл Открыть проект

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

Метод Описание
Clear ( ) : void

Clear registry.

FindItems ( TestItemType type, TestAction action ) : IEnumerable
FindItems ( TestItemType type, object subject, TestAction action ) : IEnumerable
IsNotPresent ( TestItemType type, TestAction action ) : bool
IsNotPresent ( TestItemType type, object subject, TestAction action ) : bool

Running a test, by checking if the requested item is not in the registry.

IsPresent ( TestItemType type, TestAction action ) : bool

Running a test, by checking if the requested item is in the registry.

IsPresent ( TestItemType type, object subject ) : bool

Running a test, by checking if the requested item is in the registry.

IsPresent ( TestItemType type, object subject, TestAction action ) : bool

Running a test, by checking if the requested item is in the registry.

Register ( TestItemType type, TestAction action ) : void

Register a test item.

Register ( TestItemType type, object subject ) : void

Register a test item.

Register ( TestItemType type, object subject, TestAction action ) : void

Register a test item.

Приватные методы

Метод Описание
IsActionPresent ( TestItemType type, TestAction action ) : bool

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

Clear() публичный Метод

Clear registry.
public Clear ( ) : void
Результат void

FindItems() публичный Метод

public FindItems ( TestItemType type, TestAction action ) : IEnumerable
type Adf.Core.Test.TestItemType
action Adf.Core.Test.TestAction
Результат IEnumerable

FindItems() публичный Метод

public FindItems ( TestItemType type, object subject, TestAction action ) : IEnumerable
type Adf.Core.Test.TestItemType
subject object
action Adf.Core.Test.TestAction
Результат IEnumerable

IsNotPresent() публичный Метод

public IsNotPresent ( TestItemType type, TestAction action ) : bool
type Adf.Core.Test.TestItemType
action Adf.Core.Test.TestAction
Результат bool

IsNotPresent() публичный Метод

Running a test, by checking if the requested item is not in the registry.
public IsNotPresent ( TestItemType type, object subject, TestAction action ) : bool
type Adf.Core.Test.TestItemType Type of test item
subject object Subject
action Adf.Core.Test.TestAction Action to be passed
Результат bool

IsPresent() публичный Метод

Running a test, by checking if the requested item is in the registry.
public IsPresent ( TestItemType type, TestAction action ) : bool
type Adf.Core.Test.TestItemType Type of test item
action Adf.Core.Test.TestAction Action to be passed
Результат bool

IsPresent() публичный Метод

Running a test, by checking if the requested item is in the registry.
public IsPresent ( TestItemType type, object subject ) : bool
type Adf.Core.Test.TestItemType Type of test item
subject object Subject
Результат bool

IsPresent() публичный Метод

Running a test, by checking if the requested item is in the registry.
public IsPresent ( TestItemType type, object subject, TestAction action ) : bool
type Adf.Core.Test.TestItemType Type of test item
subject object Subject
action Adf.Core.Test.TestAction Action to be passed
Результат bool

Register() публичный Метод

Register a test item.
public Register ( TestItemType type, TestAction action ) : void
type Adf.Core.Test.TestItemType Type of test item
action Adf.Core.Test.TestAction Action to be passed
Результат void

Register() публичный Метод

Register a test item.
public Register ( TestItemType type, object subject ) : void
type Adf.Core.Test.TestItemType Type of test item
subject object Subject
Результат void

Register() публичный Метод

Register a test item.
public Register ( TestItemType type, object subject, TestAction action ) : void
type Adf.Core.Test.TestItemType Type of test item
subject object Subject
action Adf.Core.Test.TestAction Action to be passed
Результат void