-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8339524: Clean up a few ExtendedRobot tests #20846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
👋 Welcome back achung! A progress list of the required criteria for merging this PR into |
@alisenchung 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 2232 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 |
@alisenchung 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. |
test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotEnhancedKeyTest.java
Outdated
Show resolved
Hide resolved
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these the only two tests being changed as part of this PR?
Please update copyright years and expand import statements.
The title suggest a larger amount of clean-up. “Clean up a few tests” could be better. (Git recommends the use of imperative mood in titles: “Clean up” instead of “Cleaning up”, and it's shorter. |
@alisenchung This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@aivanov-jdk @honkar-jdk I've verified that these 2 tests are the only ones currently building ExtendedRobot unnecessarily. I will migrate some ExtendedRobot methods to Robot after this but I would like to clean these tests up first to make it simpler. Can you take another look at these 2 tests? |
test/jdk/java/awt/TrayIcon/ActionEventTest/ActionEventTest.java
Outdated
Show resolved
Hide resolved
test/jdk/java/awt/TrayIcon/ActionEventTest/ActionEventTest.java
Outdated
Show resolved
Hide resolved
test/jdk/java/awt/TrayIcon/ActionEventTest/ActionEventTest.java
Outdated
Show resolved
Hide resolved
Are you saying you'll add new public methods to |
Yes, I will be adding new public methods to Robot in this PR #20846 |
You referenced this same PR. Is it really the intention? What kind of methods are you planning to add to the
I will. If I understand correctly, you updated the PR less than 10 minutes ago. |
test/jdk/java/awt/TrayIcon/ActionEventTest/ActionEventTest.java
Outdated
Show resolved
Hide resolved
test/jdk/java/awt/TrayIcon/ActionEventTest/ActionEventTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM apart from the following minor inline comments.
Since @aivanov-jdk reviewed previously please wait to see in case he wants to add anything additional.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated changes LGTM
imports were fixed, test is passing on windows now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me except for adding robot.delay(500)
.
All comments resolved, can I get a re-approval for the new changes |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated changes LGTM.
/integrate |
Going to push as commit 1623257.
Your commit was automatically rebased without conflicts. |
@alisenchung Pushed as commit 1623257. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Cleaning up tests building ExtendedRobot that shouldn't be.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/20846/head:pull/20846
$ git checkout pull/20846
Update a local copy of the PR:
$ git checkout pull/20846
$ git pull https://git.openjdk.org/jdk.git pull/20846/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 20846
View PR using the GUI difftool:
$ git pr show -t 20846
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/20846.diff
Using Webrev
Link to Webrev Comment