Annotation Interface Graph.OptOut

Enclosing interface:
Graph

@Retention(RUNTIME) @Target(TYPE) @Repeatable(OptOuts.class) @Inherited public static @interface Graph.OptOut
Defines a test in the suite that the implementer does not want to run.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The specific name of the test method to opt out of or asterisk to opt out of all methods in a test().
    The reason the implementation is opting out of this test.
    The test class to opt out of.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The list of GraphComputer implementations by class name that a test should opt-out from using (i.e.
    For parameterized tests specify the name of the test itself without its "square brackets".
  • Element Details

    • test

      String test
      The test class to opt out of. This may be set to a base class of a test as in the case of the Gremlin process class of tests from which Gremlin flavors extend. If the actual test class is an inner class of then use a "$" as a separator between the outer class and inner class.
    • method

      String method
      The specific name of the test method to opt out of or asterisk to opt out of all methods in a test().
    • reason

      String reason
      The reason the implementation is opting out of this test.
    • specific

      String specific
      For parameterized tests specify the name of the test itself without its "square brackets".
      Default:
      ""
    • computers

      String[] computers
      The list of GraphComputer implementations by class name that a test should opt-out from using (i.e. other graph computers not in this list will execute the test). This setting should only be included when the test is one that uses the TraversalEngine.COMPUTER - it will otherwise be ignored. By default, an empty array is assigned and it is thus assumed that all computers are excluded when an OptOut annotation is used, therefore this value must be overridden to be more specific.
      Default:
      {}