org.apache.tinkerpop.gremlin.structure

## Class PropertyTest.PropertyFeatureSupportTest

- java.lang.Object
- - org.apache.tinkerpop.gremlin.AbstractGremlinTest
  - - org.apache.tinkerpop.gremlin.structure.PropertyTest.PropertyFeatureSupportTest

- Enclosing class:
    PropertyTest

      public static class PropertyTest.PropertyFeatureSupportTest
      extends AbstractGremlinTest

  Tests for feature support on `Property`. The tests validate if `Graph.Features.PropertyFeatures` should be turned on or off and if the enabled features are properly supported by the implementation. Note that these tests are run in a separate test class as they are "parameterized" tests.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `String` | `featureName`
    `Object` | `value`

    - ### Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest

      `config, g, graph, graphProvider, name, shouldTestIteratorLeak`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PropertyFeatureSupportTest()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Iterable<Object[]>` | `data()`
    `void` | `shouldSetValueOnEdge()`
    `void` | `shouldSetValueOnEdgeOnAdd()`
    `void` | `shouldSetValueOnVertex()`
    `void` | `shouldSetValueOnVertexOnAdd()`

    - ### Methods inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest

      `afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdge, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRollback, validateException`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### featureName

          public String featureName

    - #### value

          public Object value

  - ### Constructor Detail

    - #### PropertyFeatureSupportTest

          public PropertyFeatureSupportTest()

  - ### Method Detail

    - #### data

          public static Iterable<Object[]> data()

    - #### shouldSetValueOnEdge

          public void shouldSetValueOnEdge()
                                    throws Exception

      Throws:
        `Exception`

    - #### shouldSetValueOnVertex

          public void shouldSetValueOnVertex()
                                      throws Exception

      Throws:
        `Exception`

    - #### shouldSetValueOnEdgeOnAdd

          public void shouldSetValueOnEdgeOnAdd()
                                         throws Exception

      Throws:
        `Exception`

    - #### shouldSetValueOnVertexOnAdd

          public void shouldSetValueOnVertexOnAdd()
                                           throws Exception

      Throws:
        `Exception`

Copyright © 2013–2020 Apache Software Foundation. All rights reserved.