Class GraphTest
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.AbstractGremlinTest
- 
- org.apache.tinkerpop.gremlin.structure.GraphTest
 
 
- 
 public class GraphTest extends AbstractGremlinTest - Author:
- Stephen Mallette (http://stephen.genoprime.com), Marko A. Rodriguez (http://markorodriguez.com)
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTestconfig, g, graph, graphProvider, name, shouldTestIteratorLeak
 
- 
 - 
Constructor SummaryConstructors Constructor Description GraphTest()
 - 
Method Summary- 
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- 
shouldImplementAndExposeFeaturespublic void shouldImplementAndExposeFeatures() Ensure compliance with Features by checking that all Features are exposed by the implementation.
 - 
shouldHaveExceptionConsistencyWhenFindVertexByIdThatIsNonExistentViaIteratorpublic void shouldHaveExceptionConsistencyWhenFindVertexByIdThatIsNonExistentViaIterator() 
 - 
shouldHaveExceptionConsistencyWhenFindEdgeByIdThatIsNonExistentViaIteratorpublic void shouldHaveExceptionConsistencyWhenFindEdgeByIdThatIsNonExistentViaIterator() 
 - 
shouldHaveExceptionConsistencyWhenAssigningSameIdOnVertexpublic void shouldHaveExceptionConsistencyWhenAssigningSameIdOnVertex() 
 - 
shouldUpsertWhenAssigningSameIdOnVertexpublic void shouldUpsertWhenAssigningSameIdOnVertex() 
 - 
shouldAddVertexWithUserSuppliedNumericIdpublic void shouldAddVertexWithUserSuppliedNumericId() 
 - 
shouldAddVertexWithUserSuppliedStringIdpublic void shouldAddVertexWithUserSuppliedStringId() 
 - 
shouldAddVertexWithUserSuppliedUuidIdpublic void shouldAddVertexWithUserSuppliedUuidId() 
 - 
shouldAddVertexWithUserSuppliedAnyIdUsingUuidpublic void shouldAddVertexWithUserSuppliedAnyIdUsingUuid() 
 - 
shouldAddVertexWithUserSuppliedAnyIdUsingStringpublic void shouldAddVertexWithUserSuppliedAnyIdUsingString() 
 - 
shouldAddVertexWithUserSuppliedAnyIdUsingAnyObjectpublic void shouldAddVertexWithUserSuppliedAnyIdUsingAnyObject() 
 - 
shouldIterateVerticesWithUuidIdSupportUsingVertexpublic void shouldIterateVerticesWithUuidIdSupportUsingVertex() 
 - 
shouldIterateVerticesWithUuidIdSupportUsingDetachedVertexpublic void shouldIterateVerticesWithUuidIdSupportUsingDetachedVertex() 
 - 
shouldIterateVerticesWithUuidIdSupportUsingReferenceVertexpublic void shouldIterateVerticesWithUuidIdSupportUsingReferenceVertex() 
 - 
shouldIterateVerticesWithUuidIdSupportUsingStarVertexpublic void shouldIterateVerticesWithUuidIdSupportUsingStarVertex() 
 - 
shouldIterateVerticesWithUuidIdSupportUsingVertexIdpublic void shouldIterateVerticesWithUuidIdSupportUsingVertexId() 
 - 
shouldIterateVerticesWithUuidIdSupportUsingStringRepresentationpublic void shouldIterateVerticesWithUuidIdSupportUsingStringRepresentation() 
 - 
shouldIterateVerticesWithUuidIdSupportUsingVerticespublic void shouldIterateVerticesWithUuidIdSupportUsingVertices() 
 - 
shouldIterateVerticesWithUuidIdSupportUsingVertexIdspublic void shouldIterateVerticesWithUuidIdSupportUsingVertexIds() 
 - 
shouldIterateVerticesWithUuidIdSupportUsingStringRepresentationspublic void shouldIterateVerticesWithUuidIdSupportUsingStringRepresentations() 
 - 
shouldIterateVerticesWithCustomIdSupportUsingVertexpublic void shouldIterateVerticesWithCustomIdSupportUsingVertex() 
 - 
shouldIterateVerticesWithCustomIdSupportUsingDetachedVertexpublic void shouldIterateVerticesWithCustomIdSupportUsingDetachedVertex() 
 - 
shouldIterateVerticesWithCustomIdSupportUsingReferenceVertexpublic void shouldIterateVerticesWithCustomIdSupportUsingReferenceVertex() 
 - 
shouldIterateVerticesWithCustomIdSupportUsingStarVertexpublic void shouldIterateVerticesWithCustomIdSupportUsingStarVertex() 
 - 
shouldIterateVerticesWithCustomIdSupportUsingVertexIdpublic void shouldIterateVerticesWithCustomIdSupportUsingVertexId() 
 - 
shouldIterateVerticesWithCustomIdSupportUsingStringRepresentationpublic void shouldIterateVerticesWithCustomIdSupportUsingStringRepresentation() 
 - 
shouldIterateVerticesWithCustomIdSupportUsingVerticespublic void shouldIterateVerticesWithCustomIdSupportUsingVertices() 
 - 
shouldIterateVerticesWithCustomIdSupportUsingVertexIdspublic void shouldIterateVerticesWithCustomIdSupportUsingVertexIds() 
 - 
shouldIterateVerticesWithCustomIdSupportUsingStringRepresentationspublic void shouldIterateVerticesWithCustomIdSupportUsingStringRepresentations() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingVertexpublic void shouldIterateVerticesWithNumericIdSupportUsingVertex() 
 - 
shouldIterateVerticesWithNumericSupportUsingDetachedVertexpublic void shouldIterateVerticesWithNumericSupportUsingDetachedVertex() 
 - 
shouldIterateVerticesWithNumericSupportUsingReferenceVertexpublic void shouldIterateVerticesWithNumericSupportUsingReferenceVertex() 
 - 
shouldIterateVerticesWithNumericSupportUsingStarVertexpublic void shouldIterateVerticesWithNumericSupportUsingStarVertex() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingVertexIdpublic void shouldIterateVerticesWithNumericIdSupportUsingVertexId() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingLongRepresentationpublic void shouldIterateVerticesWithNumericIdSupportUsingLongRepresentation() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingIntegerRepresentationpublic void shouldIterateVerticesWithNumericIdSupportUsingIntegerRepresentation() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingFloatRepresentationpublic void shouldIterateVerticesWithNumericIdSupportUsingFloatRepresentation() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingDoubleRepresentationpublic void shouldIterateVerticesWithNumericIdSupportUsingDoubleRepresentation() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingStringRepresentationpublic void shouldIterateVerticesWithNumericIdSupportUsingStringRepresentation() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingVerticespublic void shouldIterateVerticesWithNumericIdSupportUsingVertices() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingVertexIdspublic void shouldIterateVerticesWithNumericIdSupportUsingVertexIds() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingLongRepresentationspublic void shouldIterateVerticesWithNumericIdSupportUsingLongRepresentations() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingIntegerRepresentationspublic void shouldIterateVerticesWithNumericIdSupportUsingIntegerRepresentations() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingFloatRepresentationspublic void shouldIterateVerticesWithNumericIdSupportUsingFloatRepresentations() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingDoubleRepresentationspublic void shouldIterateVerticesWithNumericIdSupportUsingDoubleRepresentations() 
 - 
shouldIterateVerticesWithNumericIdSupportUsingStringRepresentationspublic void shouldIterateVerticesWithNumericIdSupportUsingStringRepresentations() 
 - 
shouldIterateVerticesWithStringIdSupportUsingVertexpublic void shouldIterateVerticesWithStringIdSupportUsingVertex() 
 - 
shouldIterateVerticesWithStringSupportUsingDetachedVertexpublic void shouldIterateVerticesWithStringSupportUsingDetachedVertex() 
 - 
shouldIterateVerticesWithStringSupportUsingReferenceVertexpublic void shouldIterateVerticesWithStringSupportUsingReferenceVertex() 
 - 
shouldIterateVerticesWithStringSupportUsingStarVertexpublic void shouldIterateVerticesWithStringSupportUsingStarVertex() 
 - 
shouldIterateVerticesWithStringIdSupportUsingVertexIdpublic void shouldIterateVerticesWithStringIdSupportUsingVertexId() 
 - 
shouldIterateVerticesWithStringIdSupportUsingStringRepresentationpublic void shouldIterateVerticesWithStringIdSupportUsingStringRepresentation() 
 - 
shouldIterateVerticesWithStringIdSupportUsingVerticespublic void shouldIterateVerticesWithStringIdSupportUsingVertices() 
 - 
shouldIterateVerticesWithStringIdSupportUsingVertexIdspublic void shouldIterateVerticesWithStringIdSupportUsingVertexIds() 
 - 
shouldIterateVerticesWithStringIdSupportUsingStringRepresentationspublic void shouldIterateVerticesWithStringIdSupportUsingStringRepresentations() 
 - 
shouldOverwriteEarlierKeyValuesWithLaterKeyValuesOnAddVertexIfNoMultiPropertypublic void shouldOverwriteEarlierKeyValuesWithLaterKeyValuesOnAddVertexIfNoMultiProperty() 
 - 
shouldOverwriteEarlierKeyValuesWithLaterKeyValuesOnAddVertexIfMultiPropertypublic void shouldOverwriteEarlierKeyValuesWithLaterKeyValuesOnAddVertexIfMultiProperty() 
 - 
shouldHaveStandardStringRepresentationpublic void shouldHaveStandardStringRepresentation() throws ExceptionGraphs should have a standard toString representation where the value is generated byStringFactory.graphString(Graph, String).- Throws:
- Exception
 
 - 
shouldRemoveEdgespublic void shouldRemoveEdges() Generate a graph with lots of edges and vertices, then test vertex/edge counts on removal of each edge.
 - 
shouldRemoveVerticespublic void shouldRemoveVertices() Generate a graph with lots of edges and vertices, then test vertex/edge counts on removal of each vertex.
 - 
shouldRemoveVerticesWithoutConcurrentModificationExceptionpublic void shouldRemoveVerticesWithoutConcurrentModificationException() Generate a graph with lots of vertices, then iterate the vertices and remove them from the graph
 - 
shouldRemoveEdgesWithoutConcurrentModificationExceptionpublic void shouldRemoveEdgesWithoutConcurrentModificationException() Generate a graph with lots of edges, then iterate the edges and remove them from the graph
 - 
shouldEvaluateConnectivityPatternspublic void shouldEvaluateConnectivityPatterns() Create a smallGraphand ensure that counts of edges per vertex are correct.
 - 
shouldTraverseInOutFromVertexWithSingleEdgeLabelFilterpublic void shouldTraverseInOutFromVertexWithSingleEdgeLabelFilter() 
 - 
shouldTraverseInOutFromVertexWithMultipleEdgeLabelFilterpublic void shouldTraverseInOutFromVertexWithMultipleEdgeLabelFilter() 
 - 
shouldTestTreeConnectivitypublic void shouldTestTreeConnectivity() 
 - 
shouldIterateEdgesWithUuidIdSupportUsingEdgepublic void shouldIterateEdgesWithUuidIdSupportUsingEdge() 
 - 
shouldIterateEdgesWithUuidIdSupportUsingEdgeIdpublic void shouldIterateEdgesWithUuidIdSupportUsingEdgeId() 
 - 
shouldIterateEdgesWithUuidIdSupportUsingStringRepresentationpublic void shouldIterateEdgesWithUuidIdSupportUsingStringRepresentation() 
 - 
shouldIterateEdgesWithUuidIdSupportUsingEdgespublic void shouldIterateEdgesWithUuidIdSupportUsingEdges() 
 - 
shouldIterateEdgesWithUuidIdSupportUsingEdgeIdspublic void shouldIterateEdgesWithUuidIdSupportUsingEdgeIds() 
 - 
shouldIterateEdgesWithUuidIdSupportUsingStringRepresentationspublic void shouldIterateEdgesWithUuidIdSupportUsingStringRepresentations() 
 - 
shouldIterateEdgesWithCustomIdSupportUsingEdgepublic void shouldIterateEdgesWithCustomIdSupportUsingEdge() 
 - 
shouldIterateEdgesWithCustomIdSupportUsingEdgeIdpublic void shouldIterateEdgesWithCustomIdSupportUsingEdgeId() 
 - 
shouldIterateEdgesWithCustomIdSupportUsingStringRepresentationpublic void shouldIterateEdgesWithCustomIdSupportUsingStringRepresentation() 
 - 
shouldIterateEdgesWithCustomIdSupportUsingEdgespublic void shouldIterateEdgesWithCustomIdSupportUsingEdges() 
 - 
shouldIterateEdgesWithCustomIdSupportUsingEdgeIdspublic void shouldIterateEdgesWithCustomIdSupportUsingEdgeIds() 
 - 
shouldIterateEdgesWithCustomIdSupportUsingStringRepresentationspublic void shouldIterateEdgesWithCustomIdSupportUsingStringRepresentations() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingEdgepublic void shouldIterateEdgesWithNumericIdSupportUsingEdge() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingEdgeIdpublic void shouldIterateEdgesWithNumericIdSupportUsingEdgeId() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingLongRepresentationpublic void shouldIterateEdgesWithNumericIdSupportUsingLongRepresentation() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingIntegerRepresentationpublic void shouldIterateEdgesWithNumericIdSupportUsingIntegerRepresentation() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingFloatRepresentationpublic void shouldIterateEdgesWithNumericIdSupportUsingFloatRepresentation() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingDoubleRepresentationpublic void shouldIterateEdgesWithNumericIdSupportUsingDoubleRepresentation() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingStringRepresentationpublic void shouldIterateEdgesWithNumericIdSupportUsingStringRepresentation() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingVerticespublic void shouldIterateEdgesWithNumericIdSupportUsingVertices() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingEdgeIdspublic void shouldIterateEdgesWithNumericIdSupportUsingEdgeIds() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingLongRepresentationspublic void shouldIterateEdgesWithNumericIdSupportUsingLongRepresentations() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingIntegerRepresentationspublic void shouldIterateEdgesWithNumericIdSupportUsingIntegerRepresentations() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingFloatRepresentationspublic void shouldIterateEdgesWithNumericIdSupportUsingFloatRepresentations() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingDoubleRepresentationspublic void shouldIterateEdgesWithNumericIdSupportUsingDoubleRepresentations() 
 - 
shouldIterateEdgesWithNumericIdSupportUsingStringRepresentationspublic void shouldIterateEdgesWithNumericIdSupportUsingStringRepresentations() 
 - 
shouldIterateEdgesWithStringIdSupportUsingEdgepublic void shouldIterateEdgesWithStringIdSupportUsingEdge() 
 - 
shouldIterateEdgesWithStringIdSupportUsingEdgeIdpublic void shouldIterateEdgesWithStringIdSupportUsingEdgeId() 
 - 
shouldIterateEdgesWithStringIdSupportUsingStringRepresentationpublic void shouldIterateEdgesWithStringIdSupportUsingStringRepresentation() 
 - 
shouldIterateEdgesWithStringIdSupportUsingEdgespublic void shouldIterateEdgesWithStringIdSupportUsingEdges() 
 - 
shouldIterateEdgesWithStringIdSupportUsingEdgeIdspublic void shouldIterateEdgesWithStringIdSupportUsingEdgeIds() 
 - 
shouldIterateEdgesWithStringIdSupportUsingStringRepresentationspublic void shouldIterateEdgesWithStringIdSupportUsingStringRepresentations() 
 
- 
 
-