diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 788b59f..fe74774 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -156,19 +156,19 @@ public class TestingList extends Panel { switch (this){ case SUCCESS: iconFileName = "/icons/button_ok-16px.png"; - break; + break; case FAILURE: iconFileName = "/icons/button_close-16px.png"; - break; + break; case PENDING: iconFileName = "/icons/button_stop-16px.png"; - break; + break; case DISABLED: iconFileName = ""; - break; + break; case RUNNING: iconFileName = "/icons/button_play-16px.png"; - break; + break; } return iconFileName; } @@ -546,7 +546,7 @@ public class TestingList extends Panel { if (bSelected) { sDeviceName = jTable1.getValueAt(row, COL.DEVICENAME.index()).toString(); sTestName = jTable1.getValueAt(row, COL.TESTNAME.index()).toString(); - showResult(sDeviceName, sTestName, "Test running", "Running"); + showResult(sDeviceName, sTestName, "Test running", TestStatus.RUNNING.toString()); //launch the test try{ args.put("DEVICE", sDeviceName); @@ -556,7 +556,7 @@ public class TestingList extends Panel { } catch (Exception ex) { SwingUtils.showMessage(this, "executeTest()", ex.toString()); logger.log(Level.SEVERE, ex.toString()); - showResult(sDeviceName, sTestName, ex.toString(), "Failure"); + showResult(sDeviceName, sTestName, ex.toString(), TestStatus.FAILURE.toString()); setButtonToStop(); } }