JvmTestOperationDescriptor (Gradle API 2.14)
Date: 2016-06-14

Package: org.gradle.tooling.events.test

## [Java] Interface JvmTestOperationDescriptor

- org.gradle.tooling.events.test.TestOperationDescriptor

- All Superinterfaces:
    OperationDescriptor, TestOperationDescriptor

  Describes a test that runs on the JVM and for which an event has occurred. At least a suite name, class name, or method name is available for each JVM test.

  Since:
    2.4

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `String` | `getClassName()` Returns the name of the test class, if any.
    `JvmTestKind` | `getJvmTestKind()` Returns what kind of test this is.
    `String` | `getMethodName()` Returns the name of the test method, if any.
    `String` | `getSuiteName()` Returns the name of the test suite, if any.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface OperationDescriptor` | `getDisplayName, getName, getParent`

- - ### Method Detail

    - #### @Nullable public String getClassName()

      Returns the name of the test class, if any.

      Returns:
        The name of the test class.

    - #### public JvmTestKind getJvmTestKind()

      Returns what kind of test this is.

      Returns:
        The test kind.

    - #### @Nullable public String getMethodName()

      Returns the name of the test method, if any.

      Returns:
        The name of the test method.

    - #### @Nullable public String getSuiteName()

      Returns the name of the test suite, if any.

      Returns:
        The name of the test suite.