Class ReferenceVertexTest
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.AbstractGremlinTest
 - 
- org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceVertexTest
 
 
 
- 
public class ReferenceVertexTest extends AbstractGremlinTest
- Author:
 - Marko A. Rodriguez (http://markorodriguez.com)
 
 
- 
- 
Field Summary
- 
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ReferenceVertexTest() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshouldAttachToGraph()voidshouldAttachToVertex()voidshouldConstructReferenceVertex()voidshouldDetachCollections()voidshouldEvaluateToEqualForVerticesAndDetachments()voidshouldHashAndEqualCorrectly()voidshouldHaveSameHashCode()voidshouldNotAllowAddEdge()voidshouldNotAllowRemove()voidshouldNotAllowSetProperty()voidshouldNotConstructNewWithSomethingAlreadyDetached()voidshouldNotEvaluateToEqualDifferentId()voidshouldNotHaveAnyEdges()voidshouldNotHaveAnyProperties()voidshouldNotHaveAnyVertices()- 
Methods inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdge, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRollback, validateException, verifyRootIdentification, verifyUniqueStepIds 
 - 
 
 - 
 
- 
- 
Method Detail
- 
shouldHashAndEqualCorrectly
public void shouldHashAndEqualCorrectly()
 
- 
shouldNotConstructNewWithSomethingAlreadyDetached
public void shouldNotConstructNewWithSomethingAlreadyDetached()
 
- 
shouldConstructReferenceVertex
public void shouldConstructReferenceVertex()
 
- 
shouldEvaluateToEqualForVerticesAndDetachments
public void shouldEvaluateToEqualForVerticesAndDetachments()
 
- 
shouldHaveSameHashCode
public void shouldHaveSameHashCode()
 
- 
shouldAttachToGraph
public void shouldAttachToGraph()
 
- 
shouldAttachToVertex
public void shouldAttachToVertex()
 
- 
shouldNotEvaluateToEqualDifferentId
public void shouldNotEvaluateToEqualDifferentId()
 
- 
shouldNotAllowAddEdge
public void shouldNotAllowAddEdge()
 
- 
shouldNotAllowSetProperty
public void shouldNotAllowSetProperty()
 
- 
shouldNotAllowRemove
public void shouldNotAllowRemove()
 
- 
shouldNotHaveAnyProperties
public void shouldNotHaveAnyProperties()
 
- 
shouldNotHaveAnyEdges
public void shouldNotHaveAnyEdges()
 
- 
shouldNotHaveAnyVertices
public void shouldNotHaveAnyVertices()
 
- 
shouldDetachCollections
public void shouldDetachCollections()
 
 - 
 
 -