-
-
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
base: main
Are you sure you want to change the base?
Support @Nullable
reasons in ConditionEvaluationResult
APIs
#4699
Conversation
We should decide if we want to backport any of the following to 5.13.x.
|
d27adba
to
8062b9f
Compare
junit-jupiter-api/src/main/java/org/junit/jupiter/api/extension/ConditionEvaluationResult.java
Show resolved
Hide resolved
8062b9f
to
ae16e45
Compare
junit-jupiter-api/src/main/java/org/junit/jupiter/api/extension/ConditionEvaluationResult.java
Outdated
Show resolved
Hide resolved
I think we should backport all of them. |
In that case, I will create a separate GitHub issue to track all of that, since they are actually unrelated to the |
Closes junit-team#4698 Co-authored-by: Marc Philipp <[email protected]>
b9b3c7e
to
b206754
Compare
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)
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)
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