Class PropertyTest.BasicPropertyTest
java.lang.Object
org.apache.tinkerpop.gremlin.AbstractGremlinTest
org.apache.tinkerpop.gremlin.structure.PropertyTest.BasicPropertyTest
- Enclosing class:
- PropertyTest
Basic tests for the
Property class.-
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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
-
Constructor Details
-
BasicPropertyTest
public BasicPropertyTest()
-
-
Method Details
-
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
- Throws:
Exception
-
shouldNotAllowNullAddEdge
- Throws:
Exception
-
shouldAllowNullAddVertex
- Throws:
Exception
-
shouldAllowNullAddEdge
- Throws:
Exception
-
shouldAllowNullAddVertexProperty
- Throws:
Exception
-
shouldNotAllowNullAddVertexProperty
- Throws:
Exception
-