Skip to content

Fix for issue #1192: NotSerializableException with AssumptionViolatedException - #1654

Merged
kcooney merged 4 commits into
junit-team:mainfrom
sirchia:makeAssumptionViolatedExceptionSerializable
Jan 11, 2021
Merged

kcooney merged 4 commits into
junit-team:mainfrom
sirchia:makeAssumptionViolatedExceptionSerializable

Conversation

@sirchia

@sirchia sirchia commented Feb 21, 2020 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

@jc7020 jc7020 left a comment

Copy link
Copy Markdown

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.

5 participants