]> source.dussan.org Git - aspectj.git/commitdiff
Remove logging dots per test step in AjcTest.runTest 84/head
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Sun, 8 Aug 2021 05:15:11 +0000 (12:15 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Sun, 8 Aug 2021 05:15:11 +0000 (12:15 +0700)
Methods AjcTest.runTest was logging something like "TEST: ...."
(4 dots), i.e. one dot per performed test step. Not only did this not
add much value, but due to usage of PrintStream.print for line
continuation it also messed up test step logging by scattering seemingly
random dot characters across test step logs. This looked quite ugly, so
I simply removed it.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
testing/src/test/java/org/aspectj/testing/AjcTest.java

index cf356723e28984542bce87939a75dcc087cfd90f..5ae803205b4f0e22e07143409575e4e2bd465bda 100644 (file)
@@ -54,10 +54,9 @@ public class AjcTest {
        public boolean runTest(AjcTestCase testCase) {
                if (!canRunOnThisVM()) return false;
                try {
-                       System.out.print("TEST: " + getTitle() + "\t");
+                       System.out.println("TEST: " + getTitle());
                        for (ITestStep step: testSteps) {
                                step.setBaseDir(getDir());
-                               System.out.print(".");
                                step.execute(testCase);
                        }
                } finally {