Adding junits for JsonToStringStyle#391
Conversation
59ef8c8 to
77bd11f
Compare
97ce7f8 to
5edde33
Compare
|
This is ready for merge , could we please have this handled. |
|
This project is maintained by volunteers @RahulNagekar. Please be patient as maintainers can be busy or under pressure with other issues, work, life, etc. |
|
Can you make your arrays in the new test cases final? Also perhaps avoid using the new keyword when you don't need memory allocated at that exact moment. Paging @chtompki for context. Should the JSON blurbs that are the expected output be final Strings as well? That's not the existing pattern, but it seems a bit odd to be concatenating to make deterministic Strings during an assert. |
|
I'm fairly indifferent about how the strings are declared as they are tests. The concatenation is a tad odd to me because it seems to be unnecessary. That said, I'm all for more tests. I say we pull this in and clean it up in |
|
I'll try to get to this today. |
|
Will post 1 more commit improving this. I am all agree with all comnents , its best to follow best practices. |
Signed-off-by: RahulNagekar <rahul.nagekar1@gmail.com>
5edde33 to
cee7cc6
Compare
|
@chtompki This seems reasonable and passes both verify and checkstyle. Worth pulling in? |
No description provided.