# JvmTestOperationDescriptor

interface JvmTestOperationDescriptor : TestOperationDescriptor(source)

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

## Functions

getClassName
Link copied to clipboard
@Nullable
abstract fun getClassName(): @Nullable String
Returns the name of the test class, if any.
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human consumable display name for the operation.
getJvmTestKind
Link copied to clipboard
abstract fun getJvmTestKind(): JvmTestKind
Returns what kind of test this is.
getMethodName
Link copied to clipboard
@Nullable
abstract fun getMethodName(): @Nullable String
Returns the name of the test method, if any.
getName
Link copied to clipboard
abstract fun getName(): String
Returns the name of the operation.
getParent
Link copied to clipboard
@Nullable
abstract fun getParent(): @Nullable OperationDescriptor
Returns the parent operation, if any.
getSource
Link copied to clipboard
@Incubating
abstract fun getSource(): TestSource
Returns information about the source of the test.
getSuiteName
Link copied to clipboard
@Nullable
abstract fun getSuiteName(): @Nullable String
Returns the name of the test suite, if any.
getTestDisplayName
Link copied to clipboard
@Incubating
abstract fun getTestDisplayName(): String
Returns the display name of the test.