# 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
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
getParent
Link copied to clipboard
abstract fun getParent(): @Nullable OperationDescriptor
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
abstract fun getTestDisplayName(): String