JUnit 3.8.1

junit.swingui
Class TestHierarchyRunView

java.lang.Object
  extended byjunit.swingui.TestHierarchyRunView
All Implemented Interfaces:
junit.swingui.TestRunView

public class TestHierarchyRunView
extends Object
implements junit.swingui.TestRunView

A hierarchical view of a test run. The contents of a test suite is shown as a tree.


Constructor Summary
TestHierarchyRunView(TestRunContext context)
           
 
Method Summary
 void aboutToStart(Test suite, TestResult result)
          Informs that the suite is about to start
 void activate()
          Activates the TestRunView
 void addTab(JTabbedPane pane)
          Adds the TestRunView to the test run views tab
 Test getSelectedTest()
          Returns the currently selected Test in the View
 void revealFailure(Test failure)
          Reveals the given failure
 void runFinished(Test suite, TestResult result)
          Informs that the run of the test suite has finished
protected  void testSelected()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestHierarchyRunView

public TestHierarchyRunView(TestRunContext context)
Method Detail

addTab

public void addTab(JTabbedPane pane)
Description copied from interface: junit.swingui.TestRunView
Adds the TestRunView to the test run views tab

Specified by:
addTab in interface junit.swingui.TestRunView

getSelectedTest

public Test getSelectedTest()
Description copied from interface: junit.swingui.TestRunView
Returns the currently selected Test in the View

Specified by:
getSelectedTest in interface junit.swingui.TestRunView

activate

public void activate()
Description copied from interface: junit.swingui.TestRunView
Activates the TestRunView

Specified by:
activate in interface junit.swingui.TestRunView

revealFailure

public void revealFailure(Test failure)
Description copied from interface: junit.swingui.TestRunView
Reveals the given failure

Specified by:
revealFailure in interface junit.swingui.TestRunView

aboutToStart

public void aboutToStart(Test suite,
                         TestResult result)
Description copied from interface: junit.swingui.TestRunView
Informs that the suite is about to start

Specified by:
aboutToStart in interface junit.swingui.TestRunView

runFinished

public void runFinished(Test suite,
                        TestResult result)
Description copied from interface: junit.swingui.TestRunView
Informs that the run of the test suite has finished

Specified by:
runFinished in interface junit.swingui.TestRunView

testSelected

protected void testSelected()

JUnit 3.8.1