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

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

Merged
merged 3 commits into from
Oct 18, 2019

Conversation

panchenko
Copy link
Contributor

@panchenko panchenko commented May 21, 2019

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
@@ -20,7 +20,7 @@ public void createAnnotationValidator() {
}

@ValidateWith(value = Validator.class)
public static class SampleTestWithValidator {
public @interface SampleTestWithValidator {
Copy link
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
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
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