InvocationToJUnitResultForwarder.TestIdentifierResult

static class InvocationToJUnitResultForwarder.TestIdentifierResult
extends Object implements Test

java.lang.Object
   ↳ com.android.tradefed.result.InvocationToJUnitResultForwarder.TestIdentifierResult


A class that converts a TestDescription to a JUnit Test

TODO: The JUnit TestListener seems to assume a descriptive interface of some sort for Test, that is not in its defined methods. Assume for now that its toString()

Summary

Public methods

int countTestCases()

boolean equals(Object other)

Specialize this to base equality on TestIdentifier.

int hashCode()

Specialize this to base hashCode on TestIdentifier.

void run(TestResult result)

String toString()

Return a user-friendly descriptive string.

Public methods

countTestCases

public int countTestCases ()

Returns
int

equals

public boolean equals (Object other)

Specialize this to base equality on TestIdentifier.

Parameters
other Object

Returns
boolean

hashCode

public int hashCode ()

Specialize this to base hashCode on TestIdentifier.

Returns
int

run

public void run (TestResult result)

Parameters
result TestResult

toString

public String toString ()

Return a user-friendly descriptive string.

Returns
String