C# Class NUnit.Framework.Internal.ActionsHelper

Mostra file Open project: nunit/nunit

Public Methods

Method Description
ExecuteAfterActions ( IEnumerable actions, ITest test ) : void
ExecuteBeforeActions ( IEnumerable actions, ITest test ) : void
GetActionsFromAttributeProvider ( Assembly attributeProvider ) : ITestAction[]
GetActionsFromAttributeProvider ( ICustomAttributeProvider attributeProvider ) : ITestAction[]
GetActionsFromAttributeProvider ( MemberInfo attributeProvider ) : ITestAction[]
GetActionsFromTypesAttributes ( Type type ) : ITestAction[]

Private Methods

Method Description
ExecuteActions ( ActionPhase phase, IEnumerable actions, ITest test ) : void
GetDeclaredInterfaces ( Type type ) : System.Type[]
GetFilteredAndSortedActions ( IEnumerable actions, ActionPhase phase ) : ITestAction[]
SortByTargetDescending ( ITestAction x, ITestAction y ) : int

Method Details

ExecuteAfterActions() public static method

public static ExecuteAfterActions ( IEnumerable actions, ITest test ) : void
actions IEnumerable
test ITest
return void

ExecuteBeforeActions() public static method

public static ExecuteBeforeActions ( IEnumerable actions, ITest test ) : void
actions IEnumerable
test ITest
return void

GetActionsFromAttributeProvider() public static method

public static GetActionsFromAttributeProvider ( Assembly attributeProvider ) : ITestAction[]
attributeProvider System.Reflection.Assembly
return ITestAction[]

GetActionsFromAttributeProvider() public static method

public static GetActionsFromAttributeProvider ( ICustomAttributeProvider attributeProvider ) : ITestAction[]
attributeProvider ICustomAttributeProvider
return ITestAction[]

GetActionsFromAttributeProvider() public static method

public static GetActionsFromAttributeProvider ( MemberInfo attributeProvider ) : ITestAction[]
attributeProvider System.Reflection.MemberInfo
return ITestAction[]

GetActionsFromTypesAttributes() public static method

public static GetActionsFromTypesAttributes ( Type type ) : ITestAction[]
type System.Type
return ITestAction[]