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.Framework.Internal.Execution.SimpleWorkItem Class Reference

A SimpleWorkItem represents a single test case and is marked as completed immediately upon execution. This class is also used for skipped or ignored test suites. More...

+ Inheritance diagram for NUnit.Framework.Internal.Execution.SimpleWorkItem:
+ Collaboration diagram for NUnit.Framework.Internal.Execution.SimpleWorkItem:

Public Member Functions

 SimpleWorkItem (TestMethod test, ITestFilter filter)
 Construct a simple work item for a test. 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...
 
virtual void Execute ()
 Execute the current work item, including any child work items. More...
 

Protected Member Functions

override void PerformWork ()
 Method that performs actually performs the work. 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...
 

Private Attributes

TestCommand _command
 

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...
 
- Events inherited from NUnit.Framework.Internal.Execution.WorkItem
EventHandler Completed
 Event triggered when the item is complete More...
 

Detailed Description

A SimpleWorkItem represents a single test case and is marked as completed immediately upon execution. This class is also used for skipped or ignored test suites.

Constructor & Destructor Documentation

NUnit.Framework.Internal.Execution.SimpleWorkItem.SimpleWorkItem ( TestMethod  test,
ITestFilter  filter 
)
inline

Member Function Documentation

override void NUnit.Framework.Internal.Execution.SimpleWorkItem.PerformWork ( )
inlineprotectedvirtual

Method that performs actually performs the work.

Implements NUnit.Framework.Internal.Execution.WorkItem.

References NUnit.Framework.Internal.Commands.TestCommand.Execute().

Member Data Documentation

TestCommand NUnit.Framework.Internal.Execution.SimpleWorkItem._command
private

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