GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — Document how to use `CloseableResource` by SveinKare · Pull Request #3840 · junit-team/junit-framework Conversation
|
| that are instances of `CloseableResource` are notified by an invocation of their `close()` | ||
| method in the inverse order they were added in. | ||
|
|
||
| An example use-case of `ClosableResource` is shown below, using an `HttpServer` resource. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Issue: junit-team#1555
CloseableResource
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! 👍
Instead of implementing BeforeAllCallback, I think we should implement ParameterResolver for HttpServer and start the server lazily when it's first being resolved.
@SveinKare Please let me know if you have time to make this change or if you'd like me to take over.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@marcphilipp You can go ahead and change it |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@SveinKare Thanks for taking care of this! 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Document how to useCloseableResource
There was an error while loading. Please reload this page.