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. |
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. 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. |
|
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(). |