UTJML

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

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

public class FailureRunView
extends Object

A view presenting the test failures as a list.


Constructor Summary
FailureRunView(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

FailureRunView

public FailureRunView(TestRunContext context)
Method Detail

getSelectedTest

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


activate

public void activate()
Activates the TestRunView


addTab

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


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.