Closedown
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user