Closedown
This commit is contained in:
@@ -678,7 +678,7 @@ public class TestingList extends Panel {
|
||||
logger.addHandler(fh);
|
||||
SimpleFormatter formatter = new SimpleFormatter();
|
||||
fh.setFormatter(formatter);
|
||||
log("INFO - " + "New testing session");
|
||||
log("INF - " + "New testing session");
|
||||
} catch (SecurityException e) {
|
||||
SwingUtils.showMessage(this, "initLogger()", e.toString());
|
||||
} catch (IOException e) {
|
||||
@@ -1715,7 +1715,7 @@ public class TestingList extends Panel {
|
||||
case "Success":
|
||||
icon = TestStatus.SUCCESS.Icon();
|
||||
logger.log(Level.INFO, sStatus + " - Device: " + deviceName + "; Test: " + sTestName + "; Result: " + res);
|
||||
log("INFO - " + sStatus + " - Device: " + deviceName + "; Test: " + sTestName + "; Result: " + res);
|
||||
log("INF - " + sStatus + " - Device: " + deviceName + "; Test: " + sTestName + "; Result: " + res);
|
||||
break;
|
||||
case "Failure":
|
||||
icon = TestStatus.FAILURE.Icon();
|
||||
@@ -1748,7 +1748,9 @@ public class TestingList extends Panel {
|
||||
*/
|
||||
public void updateResultSummary() {
|
||||
ImageIcon summaryIcon = null;
|
||||
if(countFailureTests()>0){
|
||||
if(countRunningTests()>0){
|
||||
summaryIcon = TestStatus.RUNNING.Icon();
|
||||
} else if(countFailureTests()>0){
|
||||
summaryIcon = TestStatus.FAILURE.Icon();
|
||||
} else if(countSuccessTests()>0){
|
||||
summaryIcon = TestStatus.SUCCESS.Icon();
|
||||
|
||||
Reference in New Issue
Block a user