InvocationToJUnitResultForwarder.TestIdentifierResult

static class InvocationToJUnitResultForwarder.TestIdentifierResult
extends Object implements Test

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


A class that converts a TestIdentifier 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

int countTestCases ()

Returns
int

equals

boolean equals (Object other)

Specialize this to base equality on TestIdentifier.

Parameters
other Object

Returns
boolean

hashCode

int hashCode ()

Specialize this to base hashCode on TestIdentifier.

Returns
int

run

void run (TestResult result)

Parameters
result TestResult

toString

String toString ()

Return a user-friendly descriptive string.

Returns
String