Browse Source

Remove logging dots per test step in AjcTest.runTest

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>
tags/V1_9_8_RC1
Alexander Kriegisch 2 years ago
parent
commit
18fd62a4e3
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      testing/src/test/java/org/aspectj/testing/AjcTest.java

+ 1
- 2
testing/src/test/java/org/aspectj/testing/AjcTest.java View 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 {

Loading…
Cancel
Save