Class PropertyTest.PropertyValidationOnAddExceptionConsistencyTest

java.lang.Object
org.apache.tinkerpop.gremlin.AbstractGremlinTest
org.apache.tinkerpop.gremlin.structure.PropertyTest.PropertyValidationOnAddExceptionConsistencyTest
Enclosing class:
PropertyTest

public static class PropertyTest.PropertyValidationOnAddExceptionConsistencyTest extends AbstractGremlinTest
Checks that properties added to an Element are validated in a consistent way when they are added at Vertex or Edge construction by throwing an appropriate exception.
  • Field Details

    • name

      public String name
    • arguments

      public Object[] arguments
    • expectedException

      public Exception expectedException
  • Constructor Details

    • PropertyValidationOnAddExceptionConsistencyTest

      public PropertyValidationOnAddExceptionConsistencyTest()
  • Method Details

    • data

      public static Iterable<Object[]> data()
    • shouldThrowOnGraphAddVertex

      public void shouldThrowOnGraphAddVertex() throws Exception
      Throws:
      Exception
    • shouldThrowOnGraphAddEdge

      public void shouldThrowOnGraphAddEdge() throws Exception
      Throws:
      Exception