C# Class Adf.Test.TestProvider

Inheritance: ITestProvider
Datei anzeigen Open project: NLADP/ADF

Public Methods

Method Description
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.

Private Methods

Method Description
IsActionPresent ( TestItemType type, TestAction action ) : bool

Method Details

Clear() public method

Clear registry.
public Clear ( ) : void
return void

FindItems() public method

public FindItems ( TestItemType type, TestAction action ) : IEnumerable
type Adf.Core.Test.TestItemType
action Adf.Core.Test.TestAction
return IEnumerable

FindItems() public method

public FindItems ( TestItemType type, object subject, TestAction action ) : IEnumerable
type Adf.Core.Test.TestItemType
subject object
action Adf.Core.Test.TestAction
return IEnumerable

IsNotPresent() public method

public IsNotPresent ( TestItemType type, TestAction action ) : bool
type Adf.Core.Test.TestItemType
action Adf.Core.Test.TestAction
return bool

IsNotPresent() public method

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
return bool

IsPresent() public method

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
return bool

IsPresent() public method

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
return bool

IsPresent() public method

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
return bool

Register() public method

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
return void

Register() public method

Register a test item.
public Register ( TestItemType type, object subject ) : void
type Adf.Core.Test.TestItemType Type of test item
subject object Subject
return void

Register() public method

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
return void