-
Notifications
You must be signed in to change notification settings - Fork 20
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
add getters/setters to all Resultset classes and dependencies - issue… #92
base: StatisticsImpl_jackson
Are you sure you want to change the base?
add getters/setters to all Resultset classes and dependencies - issue… #92
Conversation
@pierrelambert |
…dencies and test for serialization - issue RedisGraph#89
…dencies and test for serialization - issue RedisGraph#89
// Assert.assertTrue((mapper.canSerialize(Statistics.class))); | ||
// Assert.assertTrue((mapper.canSerialize(Record.class))); |
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.
remove those
Assert.assertTrue((mapper.canSerialize(StatisticsImpl.class))); | ||
Assert.assertTrue((mapper.canSerialize(RecordImpl.class))); | ||
Assert.assertTrue((mapper.canSerialize(GraphEntity.class))); | ||
Assert.assertTrue((mapper.canSerialize(ResultSetImpl.class))); | ||
Assert.assertTrue((mapper.canSerialize(Property.class))); | ||
Assert.assertTrue((mapper.canSerialize(Node.class))); | ||
Assert.assertTrue((mapper.canSerialize(Edge.class))); | ||
Assert.assertTrue((mapper.canSerialize(Path.class))); | ||
Assert.assertTrue((mapper.canSerialize(ResultSet.class))); |
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.
align indentations, please
|
||
Assert.assertEquals(Arrays.asList("a", "r", "a.name", "a.age", "a.doubleValue", "a.boolValue", "a.nullValue", | ||
"r.place", "r.since", "r.doubleValue", "r.boolValue", "r.nullValue"), resultSet.getResults().get(0).keys()); | ||
//Serialization tests |
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.
can you add a scenario of serialization and deserialization?
resultsSet->JSON->resultSet
compare the original resultSet to the generated resultSet
… #89
Added getters and setters / Switch some methods from private to public