org.apache.tinkerpop.gremlin.structure.io

## Class IoTest.GraphSONV2D0Test

- java.lang.Object
- - org.apache.tinkerpop.gremlin.AbstractGremlinTest
  - - org.apache.tinkerpop.gremlin.structure.io.IoTest.GraphSONV2D0Test

- Enclosing class:
    IoTest

      public static final class IoTest.GraphSONV2D0Test
      extends AbstractGremlinTest

- - ### Field Summary

    - ### Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest

      `config, g, graph, graphProvider, name, shouldTestIteratorLeak`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GraphSONV2D0Test()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setupBeforeEachTest()`
    `void` | `shouldProperlySerializeCustomIdWithGraphSON()` This is just a serialization check for JSON.
    `void` | `shouldReadWriteModernWrappedInJsonObject()`
    `void` | `shouldReadWriteSelfLoopingEdges()`
    `void` | `shouldWriteNormalizedGraphSON()` Only need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.

    - ### Methods inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest

      `afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdge, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRollback, validateException`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GraphSONV2D0Test

          public GraphSONV2D0Test()

  - ### Method Detail

    - #### setupBeforeEachTest

          public void setupBeforeEachTest()

    - #### shouldWriteNormalizedGraphSON

          public void shouldWriteNormalizedGraphSON()
                                             throws Exception

      Only need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.
      Throws:
        `Exception`

    - #### shouldReadWriteModernWrappedInJsonObject

          public void shouldReadWriteModernWrappedInJsonObject()
                                                        throws Exception

      Throws:
        `Exception`

    - #### shouldProperlySerializeCustomIdWithGraphSON

          public void shouldProperlySerializeCustomIdWithGraphSON()
                                                           throws Exception

      This is just a serialization check for JSON.
      Throws:
        `Exception`

    - #### shouldReadWriteSelfLoopingEdges

          public void shouldReadWriteSelfLoopingEdges()
                                               throws Exception

      Throws:
        `Exception`

Copyright © 2013–2020 Apache Software Foundation. All rights reserved.