junit.swingui
Class TestSuitePanel

JPanel
   |
   +--junit.swingui.TestSuitePanel
All Implemented Interfaces:
TestListener

class TestSuitePanel
extends JPanel
implements TestListener

Inner Class Summary
static classTestSuitePanel.TestTreeCellRenderer
          
Field Summary
private fModel
          
private fScrollTree
          
private fTree
          
Constructor Summary
TestSuitePanel()
           
 
Method Summary
public voidaddError(Test test, Throwable t)
          
public voidaddFailure(Test test, AssertionFailedError t)
          
public voidendTest(Test test)
          
private voidfireTestChanged(Test test, boolean expand)
          
public TestgetSelectedTest()
          
public JTreegetTree()
          
public voidshowTestTree(Test root)
          
public voidstartTest(Test test)
          
Field Detail

fModel

private TestTreeModel fModel
References to the field:
junit/swingui/TestSuitePanel.java 88
junit/swingui/TestSuitePanel.java 93
junit/swingui/TestSuitePanel.java 101
junit/swingui/TestSuitePanel.java 132
junit/swingui/TestSuitePanel.java 133
junit/swingui/TestSuitePanel.java 142
junit/swingui/TestSuitePanel.java 142
junit/swingui/TestSuitePanel.java 147
junit/swingui/TestSuitePanel.java 151

fScrollTree

private JScrollPane fScrollTree
References to the field:
junit/swingui/TestSuitePanel.java 83
junit/swingui/TestSuitePanel.java 84

fTree

private JTree fTree
References to the field:
junit/swingui/TestSuitePanel.java 78
junit/swingui/TestSuitePanel.java 79
junit/swingui/TestSuitePanel.java 80
junit/swingui/TestSuitePanel.java 81
junit/swingui/TestSuitePanel.java 82
junit/swingui/TestSuitePanel.java 83
junit/swingui/TestSuitePanel.java 115
junit/swingui/TestSuitePanel.java 125
junit/swingui/TestSuitePanel.java 133
junit/swingui/TestSuitePanel.java 134
junit/swingui/TestSuitePanel.java 153
Constructor Detail

TestSuitePanel

public  TestSuitePanel()
Call sites to the constructor:
junit/swingui/TestHierarchyRunView.java 21
Method Detail

addError

public void addError(Test test, Throwable t)

Locals in the method:
t
test Line 88, Line 89

addFailure

public void addFailure(Test test, AssertionFailedError t)

Locals in the method:
t
test Line 93, Line 94

endTest

public void endTest(Test test)

Locals in the method:
test Line 101, Line 102

fireTestChanged

private void fireTestChanged(Test test, boolean expand)
Click to Locals in the Method
Call sites to the method:
junit/swingui/TestSuitePanel.java 89
junit/swingui/TestSuitePanel.java 94
junit/swingui/TestSuitePanel.java 102

Locals in the method:
expand Line 148
fullPath Line 150, Line 151, Line 152
fullTreePath Line 153
index Line 143, Line 147, Line 151
path Line 145, Line 146
test Line 142
treePath Line 147, Line 151
vpath Line 142, Line 144, Line 145, Line 149, Line 150, Line 151

getSelectedTest

public Test getSelectedTest()
Click to Locals in the Method
Call sites to the method:
junit/swingui/TestHierarchyRunView.java 37

Locals in the method:
paths Line 116, Line 116, Line 117

getTree

public JTree getTree()
Call sites to the method:
junit/swingui/TestHierarchyRunView.java 22
junit/swingui/TestHierarchyRunView.java 45

showTestTree

public void showTestTree(Test root)
Click to Locals in the Method
Call sites to the method:
junit/swingui/TestHierarchyRunView.java 61

Locals in the method:
root Line 132

startTest

public void startTest(Test test)

Locals in the method:
test