C# Class NUnit.Gui.Presenters.CategoryGrouping

CategoryGrouping groups tests by category. A single test may fall into more than one group. The contents of the groups are stable once loaded but the icon changes according to the test results.
Inheritance: NUnit.Gui.Presenters.TestGrouping
显示文件 Open project: nunit/nunit-gui

Public Methods

Method Description
CategoryGrouping ( NUnit.Gui.Presenters.GroupDisplayStrategy display ) : System
Load ( IEnumerable tests ) : void
OnTestFinished ( ResultNode result ) : void

Protected Methods

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

Private Methods

Method Description
AddGroup ( NUnit.Gui.Presenters.TestGroup group ) : void

Method Details

CategoryGrouping() public method

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

Load() public method

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

OnTestFinished() public method

public OnTestFinished ( ResultNode result ) : void
result ResultNode
return void

SelectGroups() protected method

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