Startup
This commit is contained in:
@@ -68,10 +68,7 @@ public class TestingList extends Panel {
|
||||
//start next test
|
||||
if(iCurrentTestPos>=0 && testingList.isTestRunAllowed())
|
||||
{
|
||||
final int position = iCurrentTestPos+1;
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
testingList.executeTest(position);
|
||||
});
|
||||
testingList.executeTest(iCurrentTestPos+1);
|
||||
}
|
||||
}
|
||||
else{ // ret empty means that either the test script does not have variable ret, or that the script could not be started at all
|
||||
@@ -85,10 +82,7 @@ public class TestingList extends Panel {
|
||||
//start next test
|
||||
if(iCurrentTestPos>=0 && testingList.isTestRunAllowed())
|
||||
{
|
||||
final int position = iCurrentTestPos+1;
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
testingList.executeTest(position);
|
||||
});
|
||||
testingList.executeTest(iCurrentTestPos+1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -103,10 +97,7 @@ public class TestingList extends Panel {
|
||||
//start next test
|
||||
if(iCurrentTestPos>=0 && testingList.isTestRunAllowed())
|
||||
{
|
||||
final int position = iCurrentTestPos+1;
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
testingList.executeTest(position);
|
||||
});
|
||||
testingList.executeTest(iCurrentTestPos+1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -572,7 +563,7 @@ public class TestingList extends Panel {
|
||||
args.put("DEVICE", sDeviceName);
|
||||
args.put("ret", "");
|
||||
args.put("status", false);
|
||||
run(sTestName, args);
|
||||
runAsync(sTestName, args);
|
||||
} catch (Exception ex) {
|
||||
SwingUtils.showMessage(this, "executeTest()", ex.toString());
|
||||
logger.log(Level.SEVERE, ex.toString());
|
||||
|
||||
Reference in New Issue
Block a user