C# Class NUnit.Gui.Presenters.OutcomeGrouping

OutcomeGrouping groups tests by outcome. The contents of the groups change during execution but the display icon remains the same.
Inheritance: NUnit.Gui.Presenters.TestGrouping
Show file Open project: nunit/nunit-gui

Public Methods

Method Description
Load ( IEnumerable tests ) : void
OnTestFinished ( ResultNode result ) : void

Post a test result to the tree, changing the treeNode color to reflect success or failure. Overridden here to allow for moving nodes from one group to another based on the result of running the test.

OutcomeGrouping ( NUnit.Gui.Presenters.GroupDisplayStrategy display ) : System

Protected Methods

Method Description
SelectGroups ( TestNode testNode ) : NUnit.Gui.Presenters.TestGroup[]

Private Methods

Method Description
SelectGroup ( TestNode testNode ) : NUnit.Gui.Presenters.TestGroup

Method Details

Load() public method

public Load ( IEnumerable tests ) : void
tests IEnumerable
return void

OnTestFinished() public method

Post a test result to the tree, changing the treeNode color to reflect success or failure. Overridden here to allow for moving nodes from one group to another based on the result of running the test.
public OnTestFinished ( ResultNode result ) : void
result ResultNode
return void

OutcomeGrouping() public method

public OutcomeGrouping ( NUnit.Gui.Presenters.GroupDisplayStrategy display ) : System
display NUnit.Gui.Presenters.GroupDisplayStrategy
return System

SelectGroups() protected method

protected SelectGroups ( TestNode testNode ) : NUnit.Gui.Presenters.TestGroup[]
testNode TestNode
return NUnit.Gui.Presenters.TestGroup[]