Conversation
|
This should fix issue #507. A new test is also provided. It is basically using the data that failed. |
| @@ -0,0 +1,165 @@ | |||
| { | |||
There was a problem hiding this comment.
is it real dump or copy-paste of existed?
There was a problem hiding this comment.
You might notice that the DriverStatus part is quite different. Took me some time to put that all in. Also the other IDs, OS and so on are different. This is a dump from my machine. the only thing changed is the host name.
There was a problem hiding this comment.
👍 Hard work, i spent a lot of time filling and comparing all this things initially.
Current coverage is
|
|
sorry, have no test for this but the original is very obviously wrong. |
| final JavaType type = mapper.getTypeFactory().constructType(Info.class); | ||
|
|
||
| final Info info = testRoundTrip(VERSION_1_22, | ||
| "info/2.json", |
There was a problem hiding this comment.
Could you rename filename to something meaningful to initial issue that you had?
I called initial dump as 1.json because it was the first real dump, but it seems was bad idea to name file in such way.
There was a problem hiding this comment.
or if it tests everything, then you can keep it.
|
Also if it possible please PR single issues into single PRs as we are placing issue into milestones and it would be easier to list milestone issues when they 1 issue per 1 PR. (not critical but feel free to create as more prs as you need). Thanks. |
|
This was my first PR, so not really certain how to do this. I did one commit per change but the second PR showed all the changes from the first as well. |
|
Usually i do the next:
then checkout master back That will allow you jumping between branches. |
|
Could you add test for paths and i will handle commits to do the merge myself then? |
|
I'll try to write a testcase. |
|
I picked your commit and merged to master. |
This change is