GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update JUnit and make use of `@AutoClose` by chrisvest · Pull Request #14000 · netty/netty

Conversation

@chrisvest

@chrisvest chrisvest commented Apr 23, 2024

Copy link
Copy Markdown
Member

Motivation:
JUnit put out a milestone release so people could test it. It's potentially interesting, so let's give it a try.

Modification:
Update JUnit to 5.11.0-M1.
Replace a number of obvious @AfterEach/All methods with @AutoClose field annotations.

Result:
Cleaner test code.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sbrannen reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@chrisvest
chrisvest force-pushed the 5x-update-junit branch from a7636c2 to f68935d Compare April 23, 2024 19:52
@sbrannen

sbrannen commented Apr 24, 2024

Copy link
Copy Markdown

We're glad to see people making use of the new @AutoClose feature. 👏

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest
chrisvest marked this pull request as ready for review April 24, 2024 18:40
@chrisvest
chrisvest requested a review from normanmaurer April 24, 2024 18:40
@chrisvest
Update JUnit and make use of @AutoClose
30b88f1
Motivation:
JUnit put out a milestone release so people could test it.
It's potentially interesting, so let's give it a try.

Modification:
Update JUnit to 5.11.0-M1.
Replace a number of obvious `@AfterEach/All` methods with `@AutoClose` field annotations.

Result:
Cleaner test code.
@chrisvest
chrisvest force-pushed the 5x-update-junit branch from f68935d to 30b88f1 Compare April 25, 2024 02:53
normanmaurer
normanmaurer approved these changes Apr 25, 2024
View reviewed changes
@normanmaurer
normanmaurer merged commit 421bac2 into netty:main Apr 25, 2024
@chrisvest
chrisvest deleted the 5x-update-junit branch April 26, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@normanmaurer normanmaurer normanmaurer approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@chrisvest @sbrannen @normanmaurer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.