junit.swingui
Class TestHierarchyRunView

java.lang.Object
  extended by junit.swingui.TestHierarchyRunView

public class TestHierarchyRunView
extends java.lang.Object

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(junit.framework.Test suite, junit.framework.TestResult result)
          Informs that the suite is about to start
 void activate()
          Activates the TestRunView
 void addTab(javax.swing.JTabbedPane pane)
          Adds the TestRunView to the test run views tab
 junit.framework.Test getSelectedTest()
          Returns the currently selected Test in the View
 void revealFailure(junit.framework.Test failure)
          Reveals the given failure
 void runFinished(junit.framework.Test suite, junit.framework.TestResult result)
          Informs that the run of the test suite has finished
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestHierarchyRunView

public TestHierarchyRunView(TestRunContext context)
Method Detail

addTab

public void addTab(javax.swing.JTabbedPane pane)
Adds the TestRunView to the test run views tab


getSelectedTest

public junit.framework.Test getSelectedTest()
Returns the currently selected Test in the View


activate

public void activate()
Activates the TestRunView


revealFailure

public void revealFailure(junit.framework.Test failure)
Reveals the given failure


aboutToStart

public void aboutToStart(junit.framework.Test suite,
                         junit.framework.TestResult result)
Informs that the suite is about to start


runFinished

public void runFinished(junit.framework.Test suite,
                        junit.framework.TestResult result)
Informs that the run of the test suite has finished