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

[junit-platform] Handle null summary if no tests found #5408

Merged
merged 1 commit into from Oct 23, 2022

Conversation

kriegfrj
Copy link
Contributor

SummaryGeneratorListener.getSummary() can return null in some circumstances (eg, if no tests are found). This PR puts some protections in place.

Fixes #5402

Fixes bndtools#5402

Signed-off-by: Fr Jeremy Krieg <fr.jkrieg@greekwelfaresa.org.au>
@kriegfrj kriegfrj merged commit 2cc7ebc into bndtools:master Oct 23, 2022
@kriegfrj kriegfrj deleted the 5402-NPE-on-notests branch October 23, 2022 09:36
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.

NPE when no tests are detected
2 participants