Main Page | Compound List | File List | Compound Members

dndtester::DaqPanel::TestPanel Class Reference

TestPanel is a private class of testmodule::DaqPanel that extends a JPanel. More...

List of all members.

Public Member Functions

 TestPanel ()
 Constructor.


Package Attributes

JTextField commandText
 Field used to type the command to be tested.

JTextField resultText
 Field used to type the result to be compared.

JLabel commandLabel
 A label to identify the command field.

JLabel resultLabel
 A label to identify the result field.

JButton commandTestB
 A button to test the command typed in commandText.

JLabel dataNumLabel
 A label for how many times to read data.

JTextField readDataNum
 A text field that has how many times to read data.

JTextField suiteRuns
 A text field that allows the user to specify how many times to run the test suite.

JButton readDataB
 A button use to read Data from the DAQ.

JButton testSuiteB
 A button to begin the test suite.

JLabel suiteRunsL
 A label indicated what the suiteRuns does.


Detailed Description

TestPanel is a private class of testmodule::DaqPanel that extends a JPanel.

It is used to display fields to test commands individually or to run the test suite.

Definition at line 136 of file DaqPanel.java.


Constructor & Destructor Documentation

dndtester::DaqPanel::TestPanel::TestPanel  )  [inline]
 

Constructor.

The constructor initializes the members of TestPanel and adds these to the panel using a GridBagLayout so the panel can be added to DaqDriverTest::daqPanel.

Definition at line 184 of file DaqPanel.java.

References commandLabel, commandTestB, commandText, dataNumLabel, readDataB, readDataNum, resultLabel, resultText, suiteRuns, suiteRunsL, and testSuiteB.


Member Data Documentation

JTextField dndtester::DaqPanel::TestPanel::resultText [package]
 

Field used to type the result to be compared.

If the responce from the DAQ matches the result it will display a message containing the command and PASS. If the responce from the DAQ does not match the typed result then it will display FAIL and the responce from the DAQ.

Definition at line 146 of file DaqPanel.java.

Referenced by TestPanel().


The documentation for this class was generated from the following file:
Generated on Mon Jul 28 13:59:25 2003 by doxygen 1.3.2