Package org.apache.tinkerpop.gremlin
Annotation Interface ExceptionCoverage
@Retention(RUNTIME)
@Target(TYPE)
@Repeatable(ExceptionCoverageSet.class)
public @interface ExceptionCoverage
Defines the list of standard exceptions covered by a test set. Used in conjunction with the exception compliance
unit tests to ensure full coverage of defined exceptions in Gremlin Structure. The list of exceptions is defined with by
the exception class and the list of methods that generate the exceptions that are covered by the test.
- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe exception class from Gremlin Structure that contains the exceptions that are covered by the block of tests.String[]The list of method names from the relatedexceptionClass()that are covered by the tests.
-
Element Details
-
exceptionClass
Class exceptionClassThe exception class from Gremlin Structure that contains the exceptions that are covered by the block of tests. -
methods
String[] methodsThe list of method names from the relatedexceptionClass()that are covered by the tests.
-