viewguitest
Class TimerLabelTest

java.lang.Object
  extended by viewguitest.TimerLabelTest
All Implemented Interfaces:
ActionListener, EventListener

public class TimerLabelTest
extends Object
implements ActionListener

The TimerLabel test tests the TimerLabel class and the ChessClock class which in turn tests the methods in the GameTimer class that ChessClock relies on Because of the difficulty of writing automated tests for timers this is all implemented in a GUI.

Author:
nlharr

Constructor Summary
TimerLabelTest()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          Handles events for the TimerLabelTest
static void createAndShowGUI()
          Create the GUI and shows it.
 Container getContentPane()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerLabelTest

public TimerLabelTest()
Method Detail

getContentPane

public Container getContentPane()

actionPerformed

public void actionPerformed(ActionEvent e)
Handles events for the TimerLabelTest

Specified by:
actionPerformed in interface ActionListener

createAndShowGUI

public static void createAndShowGUI()
Create the GUI and shows it.


main

public static void main(String[] args)