IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
OneTimeSetUpCommand runs any one-time setup methods for a suite, constructing the user test object if necessary. More...
Public Member Functions | |
OneTimeSetUpCommand (TestSuite suite, List< SetUpTearDownItem > setUpTearDown, List< TestActionItem > actions) | |
Constructs a OneTimeSetUpCommand for a suite More... | |
override TestResult | Execute (TestExecutionContext context) |
Overridden to run the one-time setup for a suite. More... | |
![]() | |
TestCommand (Test test) | |
Construct a TestCommand for a test. More... | |
Private Attributes | |
readonly TestSuite | _suite |
readonly ITypeInfo | _typeInfo |
readonly object[] | _arguments |
readonly List< SetUpTearDownItem > | _setUpTearDown |
readonly List< TestActionItem > | _actions |
Additional Inherited Members | |
![]() | |
Test | Test [get, private set] |
Gets the test associated with this command. More... | |
OneTimeSetUpCommand runs any one-time setup methods for a suite, constructing the user test object if necessary.
|
inline |
Constructs a OneTimeSetUpCommand for a suite
suite | The suite to which the command applies |
setUpTearDown | A SetUpTearDownList for use by the command |
actions | A List of TestActionItems to be run after Setup |
References NUnit.Framework.Internal.TestSuite.Arguments, and NUnit.Framework.Internal.Test.TypeInfo.
|
inlinevirtual |
Overridden to run the one-time setup for a suite.
context | The TestExecutionContext to be used. |
Implements NUnit.Framework.Internal.Commands.TestCommand.
References NUnit.Framework.Internal.TestExecutionContext.CurrentResult, and NUnit.Framework.Internal.TestExecutionContext.TestObject.
|
private |
|
private |
|
private |
|
private |
|
private |