IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
A utility class to create TestCommands More...
Static Public Member Functions | |
static TestCommand | MakeOneTimeSetUpCommand (TestSuite suite, List< SetUpTearDownItem > setUpTearDown, List< TestActionItem > actions) |
Gets the command to be executed before any of the child tests are run. More... | |
static TestCommand | MakeOneTimeTearDownCommand (TestSuite suite, List< SetUpTearDownItem > setUpTearDownItems, List< TestActionItem > actions) |
Gets the command to be executed after all of the child tests are run. More... | |
static TestCommand | MakeTestCommand (TestMethod test) |
Creates a test command for use in running this test. More... | |
static SkipCommand | MakeSkipCommand (Test test) |
Creates a command for skipping a test. The result returned will depend on the test RunState. More... | |
static List< SetUpTearDownItem > | BuildSetUpTearDownList (Type fixtureType, Type setUpType, Type tearDownType) |
Builds the set up tear down list. More... | |
Static Private Member Functions | |
static SetUpTearDownItem | BuildNode (Type fixtureType, IList< MethodInfo > setUpMethods, IList< MethodInfo > tearDownMethods) |
static List< MethodInfo > | SelectMethodsByDeclaringType (Type type, IList< MethodInfo > methods) |
A utility class to create TestCommands
|
inlinestatic |
Gets the command to be executed before any of the child tests are run.
References NUnit.Framework.Internal.Test.Method, NUnit.Framework.Internal.Test.RunState, and NUnit.Framework.Internal.Test.TypeInfo.
Referenced by NUnit.Framework.Internal.Execution.CompositeWorkItem.InitializeSetUpAndTearDownCommands().
|
inlinestatic |
Gets the command to be executed after all of the child tests are run.
References NUnit.Framework.Internal.Test.TestType.
Referenced by NUnit.Framework.Internal.Execution.CompositeWorkItem.InitializeSetUpAndTearDownCommands().
|
inlinestatic |
Creates a test command for use in running this test.
References NUnit.Framework.Interfaces.ICommandWrapper.Wrap().
Referenced by NUnit.Framework.Internal.Execution.SimpleWorkItem.SimpleWorkItem().
|
inlinestatic |
Creates a command for skipping a test. The result returned will depend on the test RunState.
Referenced by NUnit.Framework.Internal.Execution.SimpleWorkItem.SimpleWorkItem().
|
inlinestatic |
Builds the set up tear down list.
fixtureType | Type of the fixture. |
setUpType | Type of the set up attribute. |
tearDownType | Type of the tear down attribute. |
References NUnit.Framework.Internal.Reflect.GetMethodsWithAttribute().
Referenced by NUnit.Framework.Internal.Execution.CompositeWorkItem.InitializeSetUpAndTearDownCommands(), and NUnit.Framework.Internal.Commands.SetUpTearDownCommand.SetUpTearDownCommand().
|
inlinestaticprivate |
|
inlinestaticprivate |