Skip to content

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

Conversation

sbrannen
Copy link
Member

@sbrannen sbrannen commented Jun 30, 2025

Overview

This PR addresses the issues raised in #4698 by annotating all "reason" parameters with @Nullable.

Related Issues

@sbrannen

This comment was marked as outdated.

@sbrannen sbrannen force-pushed the issues/4698-ConditionEvaluationResult-nullability branch from 8062b9f to ae16e45 Compare June 30, 2025 12:31
@marcphilipp

This comment was marked as outdated.

@sbrannen

This comment was marked as outdated.

@sbrannen sbrannen force-pushed the issues/4698-ConditionEvaluationResult-nullability branch from b9b3c7e to b206754 Compare June 30, 2025 14:52
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
sbrannen added a commit that referenced this pull request Jul 2, 2025
See #4698
See #4699

(cherry picked from commit 6b7f17d)
@sbrannen sbrannen force-pushed the issues/4698-ConditionEvaluationResult-nullability branch 2 times, most recently from aadd53d to 4ae681f Compare July 3, 2025 10:57
sbrannen added a commit to sbrannen/junit-framework that referenced this pull request Jul 3, 2025
@sbrannen sbrannen force-pushed the issues/4698-ConditionEvaluationResult-nullability branch from 4ae681f to dc4b365 Compare July 3, 2025 10:58
@sbrannen sbrannen force-pushed the issues/4698-ConditionEvaluationResult-nullability branch from dc4b365 to 3a6fddf Compare July 3, 2025 11:03
@sbrannen sbrannen linked an issue Jul 3, 2025 that may be closed by this pull request
@sbrannen sbrannen merged commit 8c5ab7f into junit-team:main Jul 3, 2025
14 checks passed
@sbrannen sbrannen deleted the issues/4698-ConditionEvaluationResult-nullability branch July 3, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ConditionEvaluationResult APIs should accept @Nullable reasons
2 participants