{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

TestIdentifier

class TestIdentifier


Identifies a parsed instrumentation test.

This is a copy of com.android.ddmlib.testrunner.TestIdentifier.

Summary

Public constructors

TestIdentifier(className: String!, testName: String!)

Creates a test identifier.

Public functions

Boolean
equals(obj: Any!)
String!

Returns the fully qualified class name of the test.

String!

Returns the name of the test.

Int
String!

Public constructors

TestIdentifier

TestIdentifier(className: String!, testName: String!)

Creates a test identifier.

Parameters
className: String!

fully qualified class name of the test. Cannot be null.

testName: String!

name of the test. Cannot be null.

Public functions

equals

fun equals(obj: Any!): Boolean

getClassName

fun getClassName(): String!

Returns the fully qualified class name of the test.

getTestName

fun getTestName(): String!

Returns the name of the test.

hashCode

fun hashCode(): Int

toString

fun toString(): String!