All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class test.ui.TestRunner

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----test.ui.TestRunner

public class TestRunner
extends Frame
implements ActionListener, ItemListener, MouseListener, TextListener, WindowListener, Runnable
A simple user interface to run tests. Enter the name of a class with a suite method which should return the tests to be run.
 Synopsis: java java.ui.TestRunner [TestCase]
 
TestRunner takes as an optional argument the name of the testcase class to be run.


Constructor Index

 o TestRunner()
Constructor
 o TestRunner(String)
TestMonitor constructor comment.

Method Index

 o actionPerformed(ActionEvent)
Method to handle events for the ActionListener interface.
 o addError(TestResult, Test, Throwable)
This method was created by a SmartGuide.
 o addFailure(TestResult, Test, Throwable)
This method was created by a SmartGuide.
 o endTest(TestResult, Test)
This method was created by a SmartGuide.
 o itemStateChanged(ItemEvent)
Method to handle events for the ItemListener interface.
 o main(String[])
main entrypoint - starts the part when it is run as an application
 o mouseClicked(MouseEvent)
Method to handle events for the MouseListener interface.
 o mouseEntered(MouseEvent)
Method to handle events for the MouseListener interface.
 o mouseExited(MouseEvent)
Method to handle events for the MouseListener interface.
 o mousePressed(MouseEvent)
Method to handle events for the MouseListener interface.
 o mouseReleased(MouseEvent)
Method to handle events for the MouseListener interface.
 o run()
This method was created by a SmartGuide.
 o runSuite()
This method was created by a SmartGuide.
 o setSuiteName(String)
 o textValueChanged(TextEvent)
Method to handle events for the TextListener interface.
 o windowActivated(WindowEvent)
Method to handle events for the WindowListener interface.
 o windowClosed(WindowEvent)
Method to handle events for the WindowListener interface.
 o windowClosing(WindowEvent)
Method to handle events for the WindowListener interface.
 o windowDeactivated(WindowEvent)
Method to handle events for the WindowListener interface.
 o windowDeiconified(WindowEvent)
Method to handle events for the WindowListener interface.
 o windowIconified(WindowEvent)
Method to handle events for the WindowListener interface.
 o windowOpened(WindowEvent)
Method to handle events for the WindowListener interface.

Constructors

 o TestRunner
 public TestRunner()
Constructor

 o TestRunner
 public TestRunner(String title)
TestMonitor constructor comment.

Parameters:
title - java.lang.String

Methods

 o actionPerformed
 public void actionPerformed(ActionEvent e)
Method to handle events for the ActionListener interface.

Parameters:
e - java.awt.event.ActionEvent
 o addError
 public void addError(TestResult result,
                      Test test,
                      Throwable t)
This method was created by a SmartGuide.

Parameters:
fixture - test.framework.Fixture
 o addFailure
 public void addFailure(TestResult result,
                        Test test,
                        Throwable t)
This method was created by a SmartGuide.

Parameters:
fixture - Fixture
 o endTest
 public void endTest(TestResult result,
                     Test test)
This method was created by a SmartGuide.

Parameters:
fixture - test.framework.Fixture
 o itemStateChanged
 public void itemStateChanged(ItemEvent e)
Method to handle events for the ItemListener interface.

Parameters:
e - java.awt.event.ItemEvent
 o main
 public static void main(String args[])
main entrypoint - starts the part when it is run as an application

Parameters:
args - java.lang.String[]
 o mouseClicked
 public void mouseClicked(MouseEvent e)
Method to handle events for the MouseListener interface.

Parameters:
e - java.awt.event.MouseEvent
 o mouseEntered
 public void mouseEntered(MouseEvent e)
Method to handle events for the MouseListener interface.

Parameters:
e - java.awt.event.MouseEvent
 o mouseExited
 public void mouseExited(MouseEvent e)
Method to handle events for the MouseListener interface.

Parameters:
e - java.awt.event.MouseEvent
 o mousePressed
 public void mousePressed(MouseEvent e)
Method to handle events for the MouseListener interface.

Parameters:
e - java.awt.event.MouseEvent
 o mouseReleased
 public void mouseReleased(MouseEvent e)
Method to handle events for the MouseListener interface.

Parameters:
e - java.awt.event.MouseEvent
 o run
 public void run()
This method was created by a SmartGuide.

 o runSuite
 public void runSuite()
This method was created by a SmartGuide.

 o setSuiteName
 public void setSuiteName(String suite)
 o textValueChanged
 public void textValueChanged(TextEvent e)
Method to handle events for the TextListener interface.

Parameters:
e - java.awt.event.TextEvent
 o windowActivated
 public void windowActivated(WindowEvent e)
Method to handle events for the WindowListener interface.

Parameters:
e - java.awt.event.WindowEvent
 o windowClosed
 public void windowClosed(WindowEvent e)
Method to handle events for the WindowListener interface.

Parameters:
e - java.awt.event.WindowEvent
 o windowClosing
 public void windowClosing(WindowEvent e)
Method to handle events for the WindowListener interface.

Parameters:
e - java.awt.event.WindowEvent
 o windowDeactivated
 public void windowDeactivated(WindowEvent e)
Method to handle events for the WindowListener interface.

Parameters:
e - java.awt.event.WindowEvent
 o windowDeiconified
 public void windowDeiconified(WindowEvent e)
Method to handle events for the WindowListener interface.

Parameters:
e - java.awt.event.WindowEvent
 o windowIconified
 public void windowIconified(WindowEvent e)
Method to handle events for the WindowListener interface.

Parameters:
e - java.awt.event.WindowEvent
 o windowOpened
 public void windowOpened(WindowEvent e)
Method to handle events for the WindowListener interface.

Parameters:
e - java.awt.event.WindowEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index