-
Notifications
You must be signed in to change notification settings - Fork 134
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
Fix issue #201: GenProxyProcessor and Lists (Second try) #280
Conversation
Move tests for gwtp-processors project from gwtp-dispatch-shared to correct project. Refactor big test into several smaller tests each testing one specific generator.
If a field has a UseProxy annotation and is of type List or Set, then in the generated Proxy class this field (and its getters and setters) will also be of type List or Set. Extending test case for both scenarios; unfortunately it's not possible to test if the generic type of the List or Set has been generated correctly.
@branflake2267 Now it looks better, right? |
Commits look great, thanks :) |
|
||
@Test | ||
public void shouldGenerateDispatchWithOptionalFields() { | ||
RetrieveFooAction action = new RetrieveFooAction.Builder(42).additionalQuestion("meaning of life").build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol, I like the test number and meaning :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but I can't take credit for it; the code was already there ;-)
…er Set or List interface Adapt tests accordingly.
LGTM |
Fix issue #201: GenProxyProcessor and Lists (Second try)
Fix issue #201: GenProxyProcessor and Lists (Second try)
Fix issue ArcBees#201: GenProxyProcessor and Lists (Second try) Former-commit-id: 798a0d0
Fixes issue #201; additionally tests for gwtp-processors have been moved from gwtp-dispatch-shared to their correct project (the maven dependencies also needed to be reverted for this)