Skip to content

Comments

@NotNull + custom ConstraintValidator#145

Merged
arun-gupta merged 2 commits intojavaee-samples:masterfrom
dagguh:master
Dec 3, 2013
Merged

@NotNull + custom ConstraintValidator#145
arun-gupta merged 2 commits intojavaee-samples:masterfrom
dagguh:master

Conversation

@dagguh
Copy link
Contributor

@dagguh dagguh commented Dec 3, 2013

Added Arquillian test cases for:

  • @SiZe lastName
  • @NotNull firstName and lastName
  • custom ConstraintValidator - EmailValidator, which is activated by custom @Email annotation

Test pass on managed Wildfly profile

Restored tab indentation coding style.
Added test cases for failed last name size validation and at symbol email validation.
Reduced duplication in test code.
Made Name class immutable.
arun-gupta added a commit that referenced this pull request Dec 3, 2013
@NotNull + custom ConstraintValidator
@arun-gupta arun-gupta merged commit 36a8957 into javaee-samples:master Dec 3, 2013
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.

2 participants