Class DetachedVertexTest
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.AbstractGremlinTest
-
- org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertexTest
-
public class DetachedVertexTest extends AbstractGremlinTest
- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak
-
-
Constructor Summary
Constructors Constructor Description DetachedVertexTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
shouldAttachToGraph()
void
shouldAttachToVertex()
void
shouldBeAbleToCallPropertyIfThereIsASingleProperty()
void
shouldConstructDetachedVertex()
void
shouldConstructDetachedVertexAsReference()
void
shouldConstructDetachedVertexFromParts()
void
shouldConstructDetachedVertexFromPartsWithPropertiesOnProperties()
void
shouldCreateVertex()
void
shouldDetachCollections()
void
shouldDetachVertexWithMultiPropertiesAndMetaProperties()
void
shouldEvaluateToEqual()
void
shouldHashAndEqualCorrectly()
void
shouldHaveSameHashCode()
void
shouldIteratePropertiesOnDetached()
void
shouldNotAllowAddEdge()
void
shouldNotAllowRemove()
void
shouldNotAllowSetProperty()
void
shouldNotBeAbleToCallPropertyIfThereAreMultipleProperties()
void
shouldNotConstructNewWithSomethingAlreadyDetached()
void
shouldNotEvaluateToEqualDifferentId()
-
Methods inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
afterLoadGraphWith, 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
-
shouldIteratePropertiesOnDetached
public void shouldIteratePropertiesOnDetached()
-
shouldHashAndEqualCorrectly
public void shouldHashAndEqualCorrectly()
-
shouldNotConstructNewWithSomethingAlreadyDetached
public void shouldNotConstructNewWithSomethingAlreadyDetached()
-
shouldConstructDetachedVertex
public void shouldConstructDetachedVertex()
-
shouldConstructDetachedVertexAsReference
public void shouldConstructDetachedVertexAsReference()
-
shouldDetachVertexWithMultiPropertiesAndMetaProperties
public void shouldDetachVertexWithMultiPropertiesAndMetaProperties()
-
shouldEvaluateToEqual
public void shouldEvaluateToEqual()
-
shouldHaveSameHashCode
public void shouldHaveSameHashCode()
-
shouldAttachToGraph
public void shouldAttachToGraph()
-
shouldAttachToVertex
public void shouldAttachToVertex()
-
shouldNotEvaluateToEqualDifferentId
public void shouldNotEvaluateToEqualDifferentId()
-
shouldConstructDetachedVertexFromParts
public void shouldConstructDetachedVertexFromParts()
-
shouldConstructDetachedVertexFromPartsWithPropertiesOnProperties
public void shouldConstructDetachedVertexFromPartsWithPropertiesOnProperties()
-
shouldNotAllowAddEdge
public void shouldNotAllowAddEdge()
-
shouldNotAllowSetProperty
public void shouldNotAllowSetProperty()
-
shouldNotAllowRemove
public void shouldNotAllowRemove()
-
shouldNotBeAbleToCallPropertyIfThereAreMultipleProperties
public void shouldNotBeAbleToCallPropertyIfThereAreMultipleProperties()
-
shouldBeAbleToCallPropertyIfThereIsASingleProperty
public void shouldBeAbleToCallPropertyIfThereIsASingleProperty()
-
shouldCreateVertex
public void shouldCreateVertex()
-
shouldDetachCollections
public void shouldDetachCollections()
-
-