diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 8bf091e..8b43806 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -141,15 +141,15 @@ public class TestingList extends Panel { switch(status){ case "Success": iconSource = "/icons/button_ok-16px.png"; - logger.log(Level.INFO, "Test "+ testName + " result: " + res + " (" + status + ")"); + logger.log(Level.INFO, "Device: "+ testName + "Test: "+ testName + " Result: " + res + " (" + status + ")"); break; case "Failed": iconSource = "/icons/button_close-16px.png"; - logger.log(Level.SEVERE, "Test "+ testName + " result: " + res + " (" + status + ")"); + logger.log(Level.SEVERE, "Device: "+ testName + "Test: "+ testName + " Result: " + res + " (" + status + ")"); break; case "Running": iconSource = "/icons/button_play-16px.png"; - logger.log(Level.INFO, "Running Test "+ testName + " ... "); + logger.log(Level.INFO, "Running Test: "+ testName + " ... "); break; } ImageIcon icon = new ImageIcon(getClass().getResource(iconSource)); @@ -406,6 +406,7 @@ public class TestingList extends Panel { File folder = new File(fileName); File testsFolder = null; String sTestName; + int iCounter = 0; //search of devices and their tests //Scan the list of devices File[] listOfFiles = folder.listFiles(); @@ -439,7 +440,8 @@ public class TestingList extends Panel { this.jTextField1.append(propDevice.getProperty("name")); this.jTextField1.append(propDevice.getProperty("description")); this.jTextField1.append(propDevice.getProperty("tests")); - this.jTextField1.append(propTest.getProperty("name")); + this.jTextField1.append(propTest.getProperty("name")); + iCounter++; } } } @@ -447,6 +449,7 @@ public class TestingList extends Panel { } } } + logger.log(Level.INFO, iCounter + " tests loaded."); }