TINKERPOP-1130 Enabled testing of int/double for GraphSON Thanks to fixes in tp32/master it's now possible to test these primitive data types.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/179e09a2 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/179e09a2 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/179e09a2 Branch: refs/heads/TINKERPOP-1130 Commit: 179e09a20cede8262187bdf20070209f53ce033d Parents: ebb855f Author: Stephen Mallette <[email protected]> Authored: Wed Dec 21 15:52:30 2016 -0500 Committer: Stephen Mallette <[email protected]> Committed: Thu Dec 29 06:55:51 2016 -0500 ---------------------------------------------------------------------- .../java/org/apache/tinkerpop/gremlin/structure/io/Model.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/179e09a2/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java b/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java index 99d6d4c..90078b0 100644 --- a/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java +++ b/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java @@ -114,9 +114,9 @@ public class Model { // IMPORTANT - the "title" or name of the Entry needs to be unique addCoreEntry(File.class, "Class", GryoCompatibility.V1D0_3_2_3, GryoCompatibility.V1D0_3_3_0); addCoreEntry(new Date(1481750076295L), "Date"); - addCoreEntry(100.00d, "Double", GraphSONCompatibility.V2D0_PARTIAL_3_2_3, GraphSONCompatibility.V2D0_PARTIAL_3_3_0); + addCoreEntry(100.00d, "Double"); addCoreEntry(100.00f, "Float"); - addCoreEntry(100, "Integer", GraphSONCompatibility.V2D0_PARTIAL_3_2_3, GraphSONCompatibility.V2D0_PARTIAL_3_3_0); + addCoreEntry(100, "Integer"); addCoreEntry(100L, "Long"); addCoreEntry(new java.sql.Timestamp(1481750076295L), "Timestamp", GryoCompatibility.V1D0_3_2_3, GryoCompatibility.V1D0_3_3_0); addCoreEntry(UUID.fromString("41d2e28a-20a4-4ab0-b379-d810dede3786"), "UUID");
