IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.TestUtilities.FakeWorkItem Class Reference

FakeWorkItem is used in tests to simulate an actual WorkItem More...

+ Inheritance diagram for NUnit.TestUtilities.FakeWorkItem:
+ Collaboration diagram for NUnit.TestUtilities.FakeWorkItem:

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...
 
- Public Member Functions inherited from NUnit.Framework.Internal.Execution.WorkItem
 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...
 
- Protected Member Functions inherited from NUnit.Framework.Internal.Execution.WorkItem
void WorkItemComplete ()
 Method called by the derived class when all work is complete More...
 

Events

System.EventHandler Executed
 
- Events inherited from NUnit.Framework.Internal.Execution.WorkItem
EventHandler Completed
 Event triggered when the item is complete More...
 

Additional Inherited Members

- Static Public Member Functions inherited from NUnit.Framework.Internal.Execution.WorkItem
static WorkItem CreateWorkItem (ITest test, ITestFilter filter)
 Creates a work item. More...
 
- Properties inherited from NUnit.Framework.Internal.Execution.WorkItem
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< ITestActionActions [get]
 The test actions to be performed before and after this test More...
 
TestResult Result [get, protected set]
 The test result More...
 

Detailed Description

FakeWorkItem is used in tests to simulate an actual WorkItem

Constructor & Destructor Documentation

NUnit.TestUtilities.FakeWorkItem.FakeWorkItem ( Test  test,
TestExecutionContext  context 
)
inline
NUnit.TestUtilities.FakeWorkItem.FakeWorkItem ( Test  test,
TestExecutionContext  context 
)
inline

Member Function Documentation

override void NUnit.TestUtilities.FakeWorkItem.Execute ( )
inlinevirtual

Execute the current work item, including any child work items.

Reimplemented from NUnit.Framework.Internal.Execution.WorkItem.

override void NUnit.TestUtilities.FakeWorkItem.PerformWork ( )
inlineprotectedvirtual

Method that performs actually performs the work. It should set the State to WorkItemState.Complete when done.

Implements NUnit.Framework.Internal.Execution.WorkItem.

override void NUnit.TestUtilities.FakeWorkItem.Execute ( )
inlinevirtual

Execute the current work item, including any child work items.

Reimplemented from NUnit.Framework.Internal.Execution.WorkItem.

override void NUnit.TestUtilities.FakeWorkItem.PerformWork ( )
inlineprotectedvirtual

Method that performs actually performs the work. It should set the State to WorkItemState.Complete when done.

Implements NUnit.Framework.Internal.Execution.WorkItem.

Event Documentation

System EventHandler NUnit.TestUtilities.FakeWorkItem.Executed

The documentation for this class was generated from the following file: