TestIdentifier

public class TestIdentifier
extends Object

java.lang.Object
   ↳ com.android.ddmlib.testrunner.TestIdentifier


Identyfikuje przeanalizowany test z instrumentacją.

Podsumowanie

Publiczne konstruktory

TestIdentifier(String className, String testName)

Tworzy identyfikator testowy.

TestIdentifier(String className, String testName, int testIndex)

Tworzy identyfikator testowy z indeksem testowym.

Metody publiczne

boolean equals(Object obj)
String getClassName()

Zwraca pełną nazwę klasy testu.

int getTestIndex()

Zwraca indeks testu.

String getTestName()

Zwraca nazwę testu.

int hashCode()
String toString()

Publiczne konstruktory

TestIdentifier

public TestIdentifier (String className, 
                String testName)

Tworzy identyfikator testowy.

Parametry
className String: pełna nazwa klasy testu. Nie może mieć wartości null.

testName String: nazwa testu. Nie może mieć wartości null.

TestIdentifier

public TestIdentifier (String className, 
                String testName, 
                int testIndex)

Tworzy identyfikator testowy z indeksem testowym.

Parametry
className String: pełna nazwa klasy testu. Nie może mieć wartości null.

testName String: nazwa testu. Nie może mieć wartości null.

testIndex int: indeks tego testu.

Metody publiczne

równa się

public boolean equals (Object obj)

Parametry
obj Object

Zwroty
boolean

getClassName

public String getClassName ()

Zwraca pełną nazwę klasy testu.

Zwroty
String

getTestIndex

public int getTestIndex ()

Zwraca indeks testu.

Zwroty
int

getTestName

public String getTestName ()

Zwraca nazwę testu.

Zwroty
String

hashCode

public int hashCode ()

Zwroty
int

toString

public String toString ()

Zwroty
String