Skip to content

Myfaces 4311 Unit Tests#77

Merged
wtlucy merged 1 commit intoapache:2.3.xfrom
volosied:myfaces-4311-unit-tests
Jan 9, 2020
Merged

Myfaces 4311 Unit Tests#77
wtlucy merged 1 commit intoapache:2.3.xfrom
volosied:myfaces-4311-unit-tests

Conversation

@volosied
Copy link
Copy Markdown
Contributor

@volosied volosied commented Jan 9, 2020

Added two unit tests to ensure that the generic converter & validator work as expected.

And let me know if there are any issues. Particularly, I'm not sure if I should implement testValidator another way. I kept it simple with the try catch, but I can use some JUnit feature to expect a FacesException if recommended.

Tested issue:
https://issues.apache.org/jira/browse/MYFACES-4311
#75

@volosied volosied force-pushed the myfaces-4311-unit-tests branch from e651ced to 7ee0597 Compare January 9, 2020 18:11
@volosied volosied force-pushed the myfaces-4311-unit-tests branch from 7ee0597 to bdc2a01 Compare January 9, 2020 18:47
@wtlucy
Copy link
Copy Markdown
Contributor

wtlucy commented Jan 9, 2020

This looks good @volosied, thanks for circling back to add these tests.

@wtlucy wtlucy merged commit 95e3896 into apache:2.3.x Jan 9, 2020
@wtlucy wtlucy mentioned this pull request Jan 9, 2020
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