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

Avoid NPE from CaseResult.getName() #152

Merged
merged 1 commit into from
Sep 3, 2020

Conversation

jglick
Copy link
Member

@jglick jglick commented Sep 3, 2020

@jglick jglick requested a review from timja September 3, 2020 13:51
@jglick jglick added the bug label Sep 3, 2020
@timja timja merged commit d5f483e into jenkinsci:master Sep 3, 2020
@jglick jglick deleted the CaseResult.testName branch September 3, 2020 15:47
@timja
Copy link
Member

timja commented Sep 3, 2020

Away from computer till Sunday feel free to release yourself if you need this

@jglick
Copy link
Member Author

jglick commented Sep 3, 2020

Yes I would like to do that. Looks like I have release perms. Thanks!

@jglick
Copy link
Member Author

jglick commented Sep 3, 2020

https://github.com/jenkinsci/junit-plugin/releases/tag/junit-1.33

@@ -271,6 +271,14 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen
return rule.assertBuildStatus(Result.UNSTABLE, p.scheduleBuild2(0).get());
}

@Test
public void emptyName() throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missingName instead of emptyName?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I suppose so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants