-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8286620: Create regression test for verifying setMargin() of JRadioButton #8721
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 TejeshR13! A progress list of the required criteria for merging this PR into |
|
|
|
@TejeshR13 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
|
|
@TejeshR13 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 178 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. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@jayathirthrao, @aivanov-jdk) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
Just an idea for discussion: I remember that we added some support for the manual tests, kind of framework or something. Probably it will be useful to reuse when we add "new" tests? https://bugs.openjdk.java.net/browse/JDK-8283803 |
Means you are suggesting to use the passfailFrame? |
Why not? The framework allows you to re-use the functionality for creating the UI and for handling Pass/Fail buttons instead of creating your own. |
|
@TejeshR13 As mentioned by @aivanov-jdk, @mrserb PassFailJFrame Framework, allows you to create the required UI for manual tests and automatically handles the disposal of any test resources. |
Thank you for the suggestion @mrserb , it did good. |
|
Tested on Win10, visually the insets look fine. Minor formatting changes suggested. |
I see. I noticed it in recent code reviews, so I wanted to clarify.
I agree to some extent… When using an IDE to compile and run a test, a separate folder is quite convenient: add it as test source, and you're done. When there are many tests in one folder, it could result in compilation errors. Some tests declare the same class names, a number of manual tests have On the other hand, the shorter filesystem tree is easier to navigate. As such, flatter structure is the way to go.
Descriptive names are easier to remember and to refer to, they give you an idea of what test does when you see a failure. With a bugid, you have to open the test source or the bug in JBS for getting that info. I fully support meaningful, descriptive names for new tests. |
Sorry, had really misunderstood what you had meant, removing os specific is a great idea. Thank you @aivanov-jdk . |
aivanov-jdk
left a comment
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.
Except for the minor comments, it looks good now.
|
Mailing list message from Justin Senseney on client-libs-dev: Please unsubscribe me from your mailing list On Sat, Jun 4, 2022, 20:01 Tejesh R <tr at openjdk.java.net> wrote: |
|
Mailing list message from Aleksei Ivanov on client-libs-dev: Hi Justin, To unsubscribe from any OpenJDK mailing lists, go to its page; for https://mail.openjdk.java.net/mailman/listinfo/client-libs-dev Scroll to the bottom of the page, enter your email address in the On 05/06/2022 01:10, Justin Senseney wrote:
-- |
|
/integrate |
|
@TejeshR13 |
|
/sponsor |
|
Going to push as commit 67f1bd7.
Your commit was automatically rebased without conflicts. |
|
@aivanov-jdk @TejeshR13 Pushed as commit 67f1bd7. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Added test for checking setMargin() of JRadioButton.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/8721/head:pull/8721$ git checkout pull/8721Update a local copy of the PR:
$ git checkout pull/8721$ git pull https://git.openjdk.java.net/jdk pull/8721/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 8721View PR using the GUI difftool:
$ git pr show -t 8721Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/8721.diff