Skip to content

@Target(ANNOTATION_TYPE) for @ValidateWith, fixes #1611 - #1612

Merged
marcphilipp merged 3 commits into
junit-team:masterfrom
panchenko:issue-1611
Oct 18, 2019
Merged

@Target(ANNOTATION_TYPE) for @ValidateWith, fixes #1611#1612
marcphilipp merged 3 commits into
junit-team:masterfrom
panchenko:issue-1611

Conversation

@panchenko

@panchenko panchenko commented May 21, 2019

Copy link
Copy Markdown
Contributor

Fixes #1611.

@marcphilipp
marcphilipp requested a review from kcooney May 23, 2019 07:08
@marcphilipp marcphilipp added this to the 4.13 milestone May 23, 2019

@ValidateWith(value = Validator.class)
public static class SampleTestWithValidator {
public @interface SampleTestWithValidator {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: maybe rename "SampleTestWithValidator" to "AnnotationWithValidator" or "SampleAnnotationWithValidator"?

(same thing below)

@marcphilipp

Copy link
Copy Markdown
Member

@kcooney Could you add this to the release notes, please?

@marcphilipp
marcphilipp merged commit 7065f37 into junit-team:master Oct 18, 2019
@marcphilipp

Copy link
Copy Markdown
Member

I added it to the release notes myself.

@panchenko Thanks for the PR! 👍

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.

Add @Target(ElementType.ANNOTATION_TYPE) to @ValidateWith

3 participants