소스 검색

Fix MultiProjectIncrementalTests.testInvalidAspectpath_pr121395

It failed with "RuntimeException: I never heard about what kind of build
it was!!" on my (@kriegaex) Windows machine, mostly because in case of a
failing full build the corresponding status is never set.

TODO: Ensure that 'MyStateListener.informedAboutKindOfBuild' is set for
failed builds, too.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tags/java16-add-opens
Alexander Kriegisch 3 년 전
부모
커밋
fa8369ebb8
1개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 8
    1
      tests/src/test/java/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java

+ 8
- 1
tests/src/test/java/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java 파일 보기

@@ -415,9 +415,16 @@ public class AjdeInteractionTestbed extends TestCase {
for (String s : woven) {
System.out.println(" :" + s);
}
try {
if (wasFullBuild()) {
System.out.println("It was a batch (full) build");
}
} catch (RuntimeException ignored) {
// There is "RuntimeException: I never heard about what kind of build it was!!" thrown by
// MyStateListener.wasFullBuild().
//
// TODO: Ensure that 'MyStateListener.informedAboutKindOfBuild' is set for failed builds, too.
}
System.out.println("=============================================");
}

@@ -554,4 +561,4 @@ public class AjdeInteractionTestbed extends TestCase {
log(s);
}
}
}
}

Loading…
취소
저장