ソースを参照

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

+ 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);
}
}
}
}

読み込み中…
キャンセル
保存