Class IoTest.GraphMLTest

java.lang.Object
org.apache.tinkerpop.gremlin.AbstractGremlinTest
org.apache.tinkerpop.gremlin.structure.io.IoTest.GraphMLTest
Enclosing class:
IoTest

public static class IoTest.GraphMLTest extends AbstractGremlinTest
  • Constructor Details

    • GraphMLTest

      public GraphMLTest()
  • Method Details

    • shouldReadGraphML

      public void shouldReadGraphML() throws IOException
      Throws:
      IOException
    • shouldReadGraphMLWithNoEdgeLabels

      public void shouldReadGraphMLWithNoEdgeLabels() throws IOException
      Throws:
      IOException
    • shouldReadGraphMLUnorderedElements

      public void shouldReadGraphMLUnorderedElements() throws IOException
      Throws:
      IOException
    • shouldReadGraphMLWithAllSupportedDataTypes

      public void shouldReadGraphMLWithAllSupportedDataTypes() throws IOException
      Throws:
      IOException
    • shouldReadGraphMLWithoutStrictOption

      public void shouldReadGraphMLWithoutStrictOption() throws IOException
      Throws:
      IOException
    • shouldReadGraphMLWithoutEdgeIds

      public void shouldReadGraphMLWithoutEdgeIds() throws IOException
      Throws:
      IOException
    • shouldReadGraphMLWithCommonVertexAndEdgePropertyNames

      public void shouldReadGraphMLWithCommonVertexAndEdgePropertyNames() throws IOException
      Throws:
      IOException
    • shouldReadGraphMLWithStrictOption

      public void shouldReadGraphMLWithStrictOption() throws IOException
      Throws:
      IOException
    • shouldWriteNormalizedGraphML

      public void shouldWriteNormalizedGraphML() throws Exception
      Only need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.
      Throws:
      Exception
    • shouldNotWriteGraphMLFromGraphWithMultiProperties

      public void shouldNotWriteGraphMLFromGraphWithMultiProperties() throws Exception
      Throws:
      Exception
    • shouldProperlyEncodeWithGraphML

      public void shouldProperlyEncodeWithGraphML() throws Exception
      Note: this is only a very lightweight test of writer/reader encoding. It is known that there are characters which, when written by GraphMLWriter, cause parse errors for GraphMLReader. However, this happens uncommonly enough that is not yet known which characters those are. Only need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.
      Throws:
      Exception
    • shouldReadWriteSelfLoopingEdges

      public void shouldReadWriteSelfLoopingEdges() throws Exception
      Throws:
      Exception
    • shouldTransformGraphMLV2ToV3ViaXSLT

      public void shouldTransformGraphMLV2ToV3ViaXSLT() throws Exception
      Throws:
      Exception