diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 506c616..69c4ea0 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -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);