Closedown
This commit is contained in:
@@ -290,27 +290,6 @@ public class TestingList extends Panel {
|
||||
|
||||
private void jButtonRunActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonRunActionPerformed
|
||||
this.executeTest(0);
|
||||
/*
|
||||
try {
|
||||
boolean var1 = true;
|
||||
int var2 = 2;// (Integer)spinner.getValue();
|
||||
int result;
|
||||
String deviceName = "RS";
|
||||
String testName = "Range Shifter Tests";
|
||||
HashMap args = new HashMap();
|
||||
args.put("relative", var1);
|
||||
args.put("steps", var2);
|
||||
args.put("deviceName", deviceName);
|
||||
args.put("testName", testName);
|
||||
run("power-supply", args);
|
||||
//this is just to try, must be modified
|
||||
showResult(deviceName, testName, "Test running", "Running");
|
||||
//evalAsync("run('args', locals = {'relative':" + (var1 ? "True" :"False") + ", 'steps':" + var2 + "})");
|
||||
|
||||
} catch (Exception ex) {
|
||||
SwingUtils.showException(this, ex);
|
||||
}
|
||||
*/
|
||||
}//GEN-LAST:event_jButtonRunActionPerformed
|
||||
|
||||
private void jCheckBox1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCheckBox1ActionPerformed
|
||||
@@ -393,7 +372,8 @@ public class TestingList extends Panel {
|
||||
String sTestName;
|
||||
HashMap args = new HashMap();
|
||||
//scan through the table starting from 'position' and execute the first selected test found
|
||||
int row = position;
|
||||
int row = position;
|
||||
Thread.sleep(1000);
|
||||
if (row <= jTable1.getRowCount() ) {
|
||||
for(row = position ; row <= jTable1.getRowCount() ; row++){
|
||||
bSelected = (boolean) jTable1.getValueAt(row, COL_CHECK);
|
||||
|
||||
Reference in New Issue
Block a user