JDK-8340332 : Open source mixed AWT tests - Set3 #21271
JDK-8340332 : Open source mixed AWT tests - Set3 #21271honkar-jdk wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back honkar! A progress list of the required criteria for merging this PR into |
|
@honkar-jdk This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 36 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
@honkar-jdk The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
| if (!eventCaught.await(2, TimeUnit.SECONDS)) { | ||
| if (!testSucceeded) { |
There was a problem hiding this comment.
These two conditions look independent.
If eventCaught.await returned false, the test should fail with a timeout.
Otherwise, the test fails if testSucceeded didn't become true.
There was a problem hiding this comment.
Did you mean this way ? Condition updated
if (eventCaught.await(2, TimeUnit.SECONDS)) {
if (!testSucceeded) {
throw new RuntimeException("Test Failed: Container.getMousePosition(boolean)"
+ " returned incorrect result while Container resized");
}
} else {
throw new RuntimeException("Test timeout: Didn't receive"
+ " Component Resized Event");
}
There was a problem hiding this comment.
I'd rather not put them into one condition either, even though the condition above looks correct.
if (!eventCaught.await(2, TimeUnit.SECONDS)) {
throw new RuntimeException("componentResized isn't received within a timeout");
}
if (!testSucceeded) {
throw new RuntimeException("Container.getMousePosition(boolean)"
+ " returned incorrect result while Container resized");
}There was a problem hiding this comment.
After re-reading the comment it makes sense to keep it separate. Thanks. Updated.
|
/integrate |
|
Going to push as commit bfdeb33.
Your commit was automatically rebased without conflicts. |
|
@honkar-jdk Pushed as commit bfdeb33. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Following tests are open-sourced in this PR:
Progress
Warning
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/21271/head:pull/21271$ git checkout pull/21271Update a local copy of the PR:
$ git checkout pull/21271$ git pull https://git.openjdk.org/jdk.git pull/21271/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 21271View PR using the GUI difftool:
$ git pr show -t 21271Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/21271.diff
Webrev
Link to Webrev Comment