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.
-
TestRunner()
- Constructor
-
TestRunner(String)
- TestMonitor constructor comment.
-
actionPerformed(ActionEvent)
- Method to handle events for the ActionListener interface.
-
addError(TestResult, Test, Throwable)
- This method was created by a SmartGuide.
-
addFailure(TestResult, Test, Throwable)
- This method was created by a SmartGuide.
-
endTest(TestResult, Test)
- This method was created by a SmartGuide.
-
itemStateChanged(ItemEvent)
- Method to handle events for the ItemListener interface.
-
main(String[])
- main entrypoint - starts the part when it is run as an application
-
mouseClicked(MouseEvent)
- Method to handle events for the MouseListener interface.
-
mouseEntered(MouseEvent)
- Method to handle events for the MouseListener interface.
-
mouseExited(MouseEvent)
- Method to handle events for the MouseListener interface.
-
mousePressed(MouseEvent)
- Method to handle events for the MouseListener interface.
-
mouseReleased(MouseEvent)
- Method to handle events for the MouseListener interface.
-
run()
- This method was created by a SmartGuide.
-
runSuite()
- This method was created by a SmartGuide.
-
setSuiteName(String)
-
-
textValueChanged(TextEvent)
- Method to handle events for the TextListener interface.
-
windowActivated(WindowEvent)
- Method to handle events for the WindowListener interface.
-
windowClosed(WindowEvent)
- Method to handle events for the WindowListener interface.
-
windowClosing(WindowEvent)
- Method to handle events for the WindowListener interface.
-
windowDeactivated(WindowEvent)
- Method to handle events for the WindowListener interface.
-
windowDeiconified(WindowEvent)
- Method to handle events for the WindowListener interface.
-
windowIconified(WindowEvent)
- Method to handle events for the WindowListener interface.
-
windowOpened(WindowEvent)
- Method to handle events for the WindowListener interface.
TestRunner
public TestRunner()
- Constructor
TestRunner
public TestRunner(String title)
- TestMonitor constructor comment.
- Parameters:
- title - java.lang.String
actionPerformed
public void actionPerformed(ActionEvent e)
- Method to handle events for the ActionListener interface.
- Parameters:
- e - java.awt.event.ActionEvent
addError
public void addError(TestResult result,
Test test,
Throwable t)
- This method was created by a SmartGuide.
- Parameters:
- fixture - test.framework.Fixture
addFailure
public void addFailure(TestResult result,
Test test,
Throwable t)
- This method was created by a SmartGuide.
- Parameters:
- fixture - Fixture
endTest
public void endTest(TestResult result,
Test test)
- This method was created by a SmartGuide.
- Parameters:
- fixture - test.framework.Fixture
itemStateChanged
public void itemStateChanged(ItemEvent e)
- Method to handle events for the ItemListener interface.
- Parameters:
- e - java.awt.event.ItemEvent
main
public static void main(String args[])
- main entrypoint - starts the part when it is run as an application
- Parameters:
- args - java.lang.String[]
mouseClicked
public void mouseClicked(MouseEvent e)
- Method to handle events for the MouseListener interface.
- Parameters:
- e - java.awt.event.MouseEvent
mouseEntered
public void mouseEntered(MouseEvent e)
- Method to handle events for the MouseListener interface.
- Parameters:
- e - java.awt.event.MouseEvent
mouseExited
public void mouseExited(MouseEvent e)
- Method to handle events for the MouseListener interface.
- Parameters:
- e - java.awt.event.MouseEvent
mousePressed
public void mousePressed(MouseEvent e)
- Method to handle events for the MouseListener interface.
- Parameters:
- e - java.awt.event.MouseEvent
mouseReleased
public void mouseReleased(MouseEvent e)
- Method to handle events for the MouseListener interface.
- Parameters:
- e - java.awt.event.MouseEvent
run
public void run()
- This method was created by a SmartGuide.
runSuite
public void runSuite()
- This method was created by a SmartGuide.
setSuiteName
public void setSuiteName(String suite)
textValueChanged
public void textValueChanged(TextEvent e)
- Method to handle events for the TextListener interface.
- Parameters:
- e - java.awt.event.TextEvent
windowActivated
public void windowActivated(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowClosed
public void windowClosed(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowClosing
public void windowClosing(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowDeactivated
public void windowDeactivated(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowDeiconified
public void windowDeiconified(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowIconified
public void windowIconified(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
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