JvmTestOperationDescriptor (Gradle API 7.6.4)

Package org.gradle.tooling.events.test

## Interface JvmTestOperationDescriptor

- All Superinterfaces:
    `OperationDescriptor`, `TestOperationDescriptor`

      public interface JvmTestOperationDescriptor
      extends 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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getClassName()` | Returns the name of the test class, if any.
    `JvmTestKind` | `getJvmTestKind()` | Returns what kind of test this is.
    `java.lang.String` | `getMethodName()` | Returns the name of the test method, if any.
    `java.lang.String` | `getSuiteName()` | Returns the name of the test suite, if any.

    - ### Methods inherited from interface org.gradle.tooling.events.OperationDescriptor

      `getDisplayName, getName, getParent`

- - ### Method Detail

    - #### getJvmTestKind

          JvmTestKind getJvmTestKind()

      Returns what kind of test this is.
      Returns:
        The test kind.

    - #### getSuiteName

          @Nullable
          java.lang.String getSuiteName()

      Returns the name of the test suite, if any.
      Returns:
        The name of the test suite.

    - #### getClassName

          @Nullable
          java.lang.String getClassName()

      Returns the name of the test class, if any.
      Returns:
        The name of the test class.

    - #### getMethodName

          @Nullable
          java.lang.String getMethodName()

      Returns the name of the test method, if any.
      Returns:
        The name of the test method.