Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

junit.logswingui
Interface TestRunView  view TestRunView download TestRunView.java

All Known Implementing Classes:
FailureRunView, TestHierarchyRunView

interface TestRunView

A TestRunView is shown as a page in a tabbed folder. It contributes the page contents and can return the currently selected tests. A TestRunView is notified about the start and finish of a run.


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
 

Method Detail

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


addTab

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


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