TestDescriptor

Describes a test. A test may be a single atomic test, such as the execution of a test method, or it may be a composite test, made up of zero or more tests.

Functions

Link copied to clipboard
@Nullable
abstract fun getClassName(): String
Returns the test class name for this test, if any.
Link copied to clipboard
abstract fun getDisplayName(): String
Returns the display name of the test.
Link copied to clipboard
abstract fun getName(): String
Returns the name of the test.
Link copied to clipboard
@Nullable
abstract fun getParent(): TestDescriptor
Returns the parent of this test, if any.
Link copied to clipboard
abstract fun isComposite(): Boolean
Is this test a composite test?