TestIdentifier


public class TestIdentifier


Identifies a parsed instrumentation test.

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

Summary

Public fields

final String
final String

Public constructors

TestIdentifier(String className, String testName)

Creates a test identifier.

Public methods

boolean
String

Returns the fully qualified class name of the test.

String

Returns the name of the test.

int
String

Public fields

className

public final String className

testName

public final String testName

Public constructors

TestIdentifier

public TestIdentifier(String className, String testName)

Creates a test identifier.

Parameters
String className

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

String testName

name of the test. Cannot be null.

Public methods

equals

public boolean equals(Object obj)

getClassName

public String getClassName()

Returns the fully qualified class name of the test.

getTestName

public String getTestName()

Returns the name of the test.

hashCode

public int hashCode()

toString

public String toString()