stefanbirkner / system-rules

A collection of JUnit rules for testing code which uses java.lang.System.
http://stefanbirkner.github.io/system-rules
Other
546 stars 71 forks source link

ExpectedSystemExit improvement in multi-threads environment #46

Open akryvtsun opened 7 years ago

akryvtsun commented 7 years ago

Implementation of #44 fix

akryvtsun commented 7 years ago

Implemented your notes. Fixed FindBug warning.

stefanbirkner commented 7 years ago

We are getting closer to a final version of the pull request. Thank you for your patience.

akryvtsun commented 7 years ago

@stefanbirkner you have to supprese Firebugs check for intentional ignoring return value in line exitStatusHolder.offer(status); somehow.

akryvtsun commented 7 years ago

Here is information how to do this http://stackoverflow.com/questions/1829904/is-there-a-way-to-ignore-a-single-findbugs-warning