jmathlib.tools.junit.swingui
Class TestHierarchyRunView

java.lang.Object
  extended by jmathlib.tools.junit.swingui.TestHierarchyRunView
All Implemented Interfaces:
TestRunView

 class TestHierarchyRunView
extends java.lang.Object
implements TestRunView

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


Field Summary
(package private)  TestRunContext fTestContext
           
(package private)  TestSuitePanel fTreeBrowser
           
 
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(javax.swing.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
 

Field Detail

fTreeBrowser

TestSuitePanel fTreeBrowser

fTestContext

TestRunContext fTestContext
Constructor Detail

TestHierarchyRunView

public TestHierarchyRunView(TestRunContext context)
Method Detail

addTab

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

Specified by:
addTab in interface TestRunView

getSelectedTest

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

Specified by:
getSelectedTest in interface TestRunView

activate

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

Specified by:
activate in interface TestRunView

revealFailure

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

Specified by:
revealFailure in interface TestRunView

aboutToStart

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

Specified by:
aboutToStart in interface TestRunView

runFinished

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

Specified by:
runFinished in interface TestRunView

testSelected

protected void testSelected()

FOOTER

BOTTOM