Class PropertyTest.BasicPropertyTest
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.AbstractGremlinTest
-
- org.apache.tinkerpop.gremlin.structure.PropertyTest.BasicPropertyTest
-
- Enclosing class:
- PropertyTest
public static class PropertyTest.BasicPropertyTest extends AbstractGremlinTest
Basic tests for theProperty
class.
-
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak
-
-
Constructor Summary
Constructors Constructor Description BasicPropertyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
shouldAllowNullAddEdge()
void
shouldAllowNullAddVertex()
void
shouldAllowNullAddVertexProperty()
void
shouldAllowRemovalFromEdgeWhenAlreadyRemoved()
void
shouldAllowRemovalFromVertexWhenAlreadyRemoved()
void
shouldHaveStandardStringRepresentationForEdgeProperty()
void
shouldHaveStandardStringRepresentationForVertexProperty()
void
shouldHaveTruncatedStringRepresentationForEdgeProperty()
void
shouldHaveTruncatedStringRepresentationForVertexProperty()
void
shouldNotAllowNullAddEdge()
void
shouldNotAllowNullAddVertex()
void
shouldNotAllowNullAddVertexProperty()
void
shouldReturnEmptyPropertyIfKeyNonExistent()
-
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
-
shouldHaveStandardStringRepresentationForVertexProperty
public void shouldHaveStandardStringRepresentationForVertexProperty()
-
shouldHaveTruncatedStringRepresentationForVertexProperty
public void shouldHaveTruncatedStringRepresentationForVertexProperty()
-
shouldHaveStandardStringRepresentationForEdgeProperty
public void shouldHaveStandardStringRepresentationForEdgeProperty()
-
shouldHaveTruncatedStringRepresentationForEdgeProperty
public void shouldHaveTruncatedStringRepresentationForEdgeProperty()
-
shouldReturnEmptyPropertyIfKeyNonExistent
public void shouldReturnEmptyPropertyIfKeyNonExistent()
-
shouldAllowRemovalFromVertexWhenAlreadyRemoved
public void shouldAllowRemovalFromVertexWhenAlreadyRemoved()
-
shouldAllowRemovalFromEdgeWhenAlreadyRemoved
public void shouldAllowRemovalFromEdgeWhenAlreadyRemoved()
-
shouldNotAllowNullAddVertex
public void shouldNotAllowNullAddVertex() throws Exception
- Throws:
Exception
-
shouldNotAllowNullAddEdge
public void shouldNotAllowNullAddEdge() throws Exception
- Throws:
Exception
-
shouldAllowNullAddVertexProperty
public void shouldAllowNullAddVertexProperty() throws Exception
- Throws:
Exception
-
-