JvmTestOperationDescriptor

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

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