TestIdentifier
public
class
TestIdentifier
extends Object
| java.lang.Object | |
| ↳ | com.android.ddmlib.testrunner.TestIdentifier |
Identifies a parsed instrumentation test.
Summary
Public constructors | |
|---|---|
TestIdentifier(String className, String testName)
Creates a test identifier. |
|
TestIdentifier(String className, String testName, int testIndex)
Creates a test identifier with a test index. |
|
Public methods | |
|---|---|
boolean
|
equals(Object obj)
|
String
|
getClassName()
Returns the fully qualified class name of the test. |
int
|
getTestIndex()
Returns the index of the test. |
String
|
getTestName()
Returns the name of the test. |
int
|
hashCode()
|
String
|
toString()
|
Public constructors
TestIdentifier
public TestIdentifier (String className,
String testName)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. |
TestIdentifier
public TestIdentifier (String className,
String testName,
int testIndex)Creates a test identifier with a test index.
| Parameters | |
|---|---|
className |
String: fully qualified class name of the test. Cannot be null. |
testName |
String: name of the test. Cannot be null. |
testIndex |
int: an index of this test run. |
Public methods
equals
public boolean equals (Object obj)
| Parameters | |
|---|---|
obj |
Object |
| Returns | |
|---|---|
boolean |
|
getClassName
public String getClassName ()
Returns the fully qualified class name of the test.
| Returns | |
|---|---|
String |
|
getTestIndex
public int getTestIndex ()
Returns the index of the test.
| Returns | |
|---|---|
int |
|
getTestName
public String getTestName ()
Returns the name of the test.
| Returns | |
|---|---|
String |
|
hashCode
public int hashCode ()
| Returns | |
|---|---|
int |
|
toString
public String toString ()
| Returns | |
|---|---|
String |
|