IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
FakeWorkItem is used in tests to simulate an actual WorkItem More...
Public Member Functions | |
FakeWorkItem (Test test, TestExecutionContext context) | |
override void | Execute () |
Execute the current work item, including any child work items. More... | |
FakeWorkItem (Test test, TestExecutionContext context) | |
override void | Execute () |
Execute the current work item, including any child work items. More... | |
![]() | |
WorkItem (Test test) | |
Construct a WorkItem for a particular test. More... | |
void | InitializeContext (TestExecutionContext context) |
Initialize the TestExecutionContext. This must be done before executing the WorkItem. More... | |
Protected Member Functions | |
override void | PerformWork () |
Method that performs actually performs the work. It should set the State to WorkItemState.Complete when done. More... | |
override void | PerformWork () |
Method that performs actually performs the work. It should set the State to WorkItemState.Complete when done. More... | |
![]() | |
void | WorkItemComplete () |
Method called by the derived class when all work is complete More... | |
Events | |
System.EventHandler | Executed |
![]() | |
EventHandler | Completed |
Event triggered when the item is complete More... | |
Additional Inherited Members | |
![]() | |
static WorkItem | CreateWorkItem (ITest test, ITestFilter filter) |
Creates a work item. More... | |
![]() | |
WorkItemState | State [get] |
Gets the current state of the WorkItem More... | |
Test | Test [get] |
The test being executed by the work item More... | |
TestExecutionContext | Context [get] |
The execution context More... | |
List< ITestAction > | Actions [get] |
The test actions to be performed before and after this test More... | |
TestResult | Result [get, protected set] |
The test result More... | |
FakeWorkItem is used in tests to simulate an actual WorkItem
|
inline |
|
inline |
|
inlinevirtual |
Execute the current work item, including any child work items.
Reimplemented from NUnit.Framework.Internal.Execution.WorkItem.
|
inlineprotectedvirtual |
Method that performs actually performs the work. It should set the State to WorkItemState.Complete when done.
Implements NUnit.Framework.Internal.Execution.WorkItem.
|
inlinevirtual |
Execute the current work item, including any child work items.
Reimplemented from NUnit.Framework.Internal.Execution.WorkItem.
|
inlineprotectedvirtual |
Method that performs actually performs the work. It should set the State to WorkItemState.Complete when done.
Implements NUnit.Framework.Internal.Execution.WorkItem.
System EventHandler NUnit.TestUtilities.FakeWorkItem.Executed |