Skip to content
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

Fix for issue #1192: NotSerializableException with AssumptionViolatedException #1654

Merged

Conversation

sirchia
Copy link
Contributor

@sirchia sirchia commented Feb 21, 2020

Fix for issue #1192: NotSerializableException with AssumptionViolatedException

This PR resolves issues where AssumptionViolatedExceptions can't be serialized due to a non-serializable Matcher and/or value object.
I've added tests to make sure serialization is compatible with previous versions and most of the 'magic' should be documented properly.

Cheers!
Riccardo Sirchia

…n writeObject serialization of AssumptionViolatedException
@marcphilipp marcphilipp changed the base branch from master to main June 21, 2020 17:05
@marcphilipp marcphilipp added this to the 4.13.2 milestone Jan 4, 2021
@marcphilipp
Copy link
Member

@kcooney @stefanbirkner I added this to the 4.13.2 milestone. Any objections?

kcooney and others added 2 commits January 9, 2021 20:16
Give assertion methods shorter names.

Co-authored-by: Stefan Birkner <github@stefan-birkner.de>
Fix compile errors caused by previous commit.
Copy link

@jc7020 jc7020 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/test/resources/org/junit/assumptionViolatedExceptionWithoutValueAndMatcherCanBeReserialized_v4_13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants