Closedown

This commit is contained in:
boccioli_m
2015-06-22 10:08:23 +02:00
parent c685ece44f
commit 9662e17d6a

View File

@@ -56,7 +56,8 @@ public class TestingList extends Panel {
}
//listen to script end of execution and get return value
protected void onExecutedFile(String fileName) {
@Override
protected void onExecutedFile(String fileName, Object result, Throwable exception) {
int iCurrentTestPos = 0;
try {
Object ret = eval("ret");
@@ -64,7 +65,7 @@ public class TestingList extends Panel {
Object deviceName = eval("DEVICE");
String sStatus = (status == true) ? TestStatus.SUCCESS.toString() : TestStatus.FAILURE.toString();
SwingUtils.showMessage(getComponent(), "onExecutedFile()", result.toString());
if (ret != "" ) {
//SwingUtils.showMessage(getComponent(), "", ret.toString() + " - " + ret.getClass().getName());
iCurrentTestPos = testingList.showResult(deviceName.toString(), fileName, ret.toString(), sStatus);