This commit is contained in:
boccioli_m
2015-06-16 09:06:16 +02:00
parent 8701f50e9b
commit 44adfe0822

View File

@@ -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());