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 
- 
- 
Field Summary- 
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTestconfig, g, graph, graphProvider, name, shouldTestIteratorLeak
 
- 
 - 
Constructor SummaryConstructors Constructor Description GraphMLTest()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshouldNotWriteGraphMLFromGraphWithMultiProperties()voidshouldProperlyEncodeWithGraphML()Note: this is only a very lightweight test of writer/reader encoding.voidshouldReadGraphML()voidshouldReadGraphMLUnorderedElements()voidshouldReadGraphMLWithAllSupportedDataTypes()voidshouldReadGraphMLWithCommonVertexAndEdgePropertyNames()voidshouldReadGraphMLWithNoEdgeLabels()voidshouldReadGraphMLWithoutEdgeIds()voidshouldReadGraphMLWithoutStrictOption()voidshouldReadGraphMLWithStrictOption()voidshouldReadWriteSelfLoopingEdges()voidshouldTransformGraphMLV2ToV3ViaXSLT()voidshouldWriteNormalizedGraphML()Only need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.- 
Methods inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTestafterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdge, convertToEdge, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRollback, validateException, verifyRootIdentification, verifyUniqueStepIds
 
- 
 
- 
- 
- 
Method Detail- 
shouldReadGraphMLpublic void shouldReadGraphML() throws IOException- Throws:
- IOException
 
 - 
shouldReadGraphMLWithNoEdgeLabelspublic void shouldReadGraphMLWithNoEdgeLabels() throws IOException- Throws:
- IOException
 
 - 
shouldReadGraphMLUnorderedElementspublic void shouldReadGraphMLUnorderedElements() throws IOException- Throws:
- IOException
 
 - 
shouldReadGraphMLWithAllSupportedDataTypespublic void shouldReadGraphMLWithAllSupportedDataTypes() throws IOException- Throws:
- IOException
 
 - 
shouldReadGraphMLWithoutStrictOptionpublic void shouldReadGraphMLWithoutStrictOption() throws IOException- Throws:
- IOException
 
 - 
shouldReadGraphMLWithoutEdgeIdspublic void shouldReadGraphMLWithoutEdgeIds() throws IOException- Throws:
- IOException
 
 - 
shouldReadGraphMLWithCommonVertexAndEdgePropertyNamespublic void shouldReadGraphMLWithCommonVertexAndEdgePropertyNames() throws IOException- Throws:
- IOException
 
 - 
shouldReadGraphMLWithStrictOptionpublic void shouldReadGraphMLWithStrictOption() throws IOException- Throws:
- IOException
 
 - 
shouldWriteNormalizedGraphMLpublic void shouldWriteNormalizedGraphML() throws ExceptionOnly need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.- Throws:
- Exception
 
 - 
shouldNotWriteGraphMLFromGraphWithMultiPropertiespublic void shouldNotWriteGraphMLFromGraphWithMultiProperties() throws Exception- Throws:
- Exception
 
 - 
shouldProperlyEncodeWithGraphMLpublic void shouldProperlyEncodeWithGraphML() throws ExceptionNote: 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
 
 - 
shouldReadWriteSelfLoopingEdgespublic void shouldReadWriteSelfLoopingEdges() throws Exception- Throws:
- Exception
 
 
- 
 
-