SetUpTearDownItem holds the setup and teardown methods for a single level of the inheritance hierarchy.
More...
|
bool | HasMethods [get] |
| Returns true if this level has any methods at all. This flag is used to discard levels that do nothing. More...
|
|
SetUpTearDownItem holds the setup and teardown methods for a single level of the inheritance hierarchy.
NUnit.Framework.Internal.Commands.SetUpTearDownItem.SetUpTearDownItem |
( |
IList< MethodInfo > |
setUpMethods, |
|
|
IList< MethodInfo > |
tearDownMethods |
|
) |
| |
|
inline |
Construct a SetUpTearDownNode
- Parameters
-
setUpMethods | A list of setup methods for this level |
tearDownMethods | A list teardown methods for this level |
Run SetUp on this level.
- Parameters
-
context | The execution context to use for running. |
void NUnit.Framework.Internal.Commands.SetUpTearDownItem.RunTearDown |
( |
TestExecutionContext |
context | ) |
|
|
inline |
void NUnit.Framework.Internal.Commands.SetUpTearDownItem.RunSetUpOrTearDownMethod |
( |
TestExecutionContext |
context, |
|
|
MethodInfo |
method |
|
) |
| |
|
inlineprivate |
object NUnit.Framework.Internal.Commands.SetUpTearDownItem.RunNonAsyncMethod |
( |
MethodInfo |
method, |
|
|
TestExecutionContext |
context |
|
) |
| |
|
inlineprivate |
IList<MethodInfo> NUnit.Framework.Internal.Commands.SetUpTearDownItem._setUpMethods |
|
private |
IList<MethodInfo> NUnit.Framework.Internal.Commands.SetUpTearDownItem._tearDownMethods |
|
private |
bool NUnit.Framework.Internal.Commands.SetUpTearDownItem._setUpWasRun |
|
private |
bool NUnit.Framework.Internal.Commands.SetUpTearDownItem.HasMethods |
|
get |
Returns true if this level has any methods at all. This flag is used to discard levels that do nothing.
The documentation for this class was generated from the following file: