org.apache.tinkerpop.gremlin.structure.io

## Class IoEdgeTest

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

-     public class IoEdgeTest
      extends AbstractGremlinTest

  Tests for all IO implementations that are specific to reading and writing of a `Edge`.
  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `boolean` | `assertDouble`
    `boolean` | `assertIdDirectly`
    `String` | `ioType`
    `Function<Graph,GraphReader>` | `readerMaker`
    `Function<Graph,GraphWriter>` | `writerMaker`

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

      `config, g, graph, graphProvider, name`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `IoEdgeTest()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Iterable<Object[]>` | `data()`
    `void` | `shouldReadWriteDetachedEdge()`
    `void` | `shouldReadWriteDetachedEdgeAsReference()`
    `void` | `shouldReadWriteEdge()`

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

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

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

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

- - ### Field Detail

    - #### ioType

          public String ioType

    - #### assertIdDirectly

          public boolean assertIdDirectly

    - #### assertDouble

          public boolean assertDouble

    - #### readerMaker

          public Function<Graph,GraphReader> readerMaker

    - #### writerMaker

          public Function<Graph,GraphWriter> writerMaker

  - ### Constructor Detail

    - #### IoEdgeTest

          public IoEdgeTest()

  - ### Method Detail

    - #### data

          public static Iterable<Object[]> data()

    - #### shouldReadWriteEdge

          public void shouldReadWriteEdge()
                                   throws Exception

      Throws:
        `Exception`

    - #### shouldReadWriteDetachedEdge

          public void shouldReadWriteDetachedEdge()
                                           throws Exception

      Throws:
        `Exception`

    - #### shouldReadWriteDetachedEdgeAsReference

          public void shouldReadWriteDetachedEdgeAsReference()
                                                      throws Exception

      Throws:
        `Exception`

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