UTJML

edu.utep.cs.utjml.canica.tool
Class TestHierarchyRunView

java.lang.Object
  extended by edu.utep.cs.utjml.canica.tool.TestHierarchyRunView

public class TestHierarchyRunView
extends 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(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
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)
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


testSelected

protected void testSelected()

UTJML

UTJML is Copyright (C) 2004-2006 by University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the JML project.