-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Support @Nullable
reasons in ConditionEvaluationResult
APIs
#4699
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
Merged
sbrannen
merged 1 commit into
junit-team:main
from
sbrannen:issues/4698-ConditionEvaluationResult-nullability
Jul 3, 2025
Merged
Support @Nullable
reasons in ConditionEvaluationResult
APIs
#4699
sbrannen
merged 1 commit into
junit-team:main
from
sbrannen:issues/4698-ConditionEvaluationResult-nullability
Jul 3, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment was marked as outdated.
This comment was marked as outdated.
d27adba
to
8062b9f
Compare
marcphilipp
approved these changes
Jun 30, 2025
junit-jupiter-api/src/main/java/org/junit/jupiter/api/extension/ConditionEvaluationResult.java
Show resolved
Hide resolved
8062b9f
to
ae16e45
Compare
marcphilipp
reviewed
Jun 30, 2025
junit-jupiter-api/src/main/java/org/junit/jupiter/api/extension/ConditionEvaluationResult.java
Outdated
Show resolved
Hide resolved
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
b9b3c7e
to
b206754
Compare
sbrannen
added a commit
that referenced
this pull request
Jun 30, 2025
Prior to this commit, we did not have any "unit tests" for ConditionEvaluationResult, and while working on #4698 I noticed that we in fact have several issues in the implementation of and documentation for ConditionEvaluationResult. Thus, this commit introduces dedicated unit tests for the status quo, where individual TODOs will be addressed in separate issues/commits. See #4698 See #4699 (comment)
marcphilipp
pushed a commit
that referenced
this pull request
Jul 1, 2025
Prior to this commit, we did not have any "unit tests" for ConditionEvaluationResult, and while working on #4698 I noticed that we in fact have several issues in the implementation of and documentation for ConditionEvaluationResult. Thus, this commit introduces dedicated unit tests for the status quo, where individual TODOs will be addressed in separate issues/commits. See #4698 See #4699 (comment) (cherry picked from commit 3026c62)
sbrannen
added a commit
that referenced
this pull request
Jul 2, 2025
aadd53d
to
4ae681f
Compare
sbrannen
added a commit
to sbrannen/junit-framework
that referenced
this pull request
Jul 3, 2025
4ae681f
to
dc4b365
Compare
dc4b365
to
3a6fddf
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Overview
This PR addresses the issues raised in #4698 by annotating all "reason" parameters with
@Nullable
.Related Issues
ConditionEvaluationResult
APIs should accept@Nullable
reasons #4698ConditionEvaluationResult
reason values #4715