Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
TestRunToTestInvocationForwarder
public
class
TestRunToTestInvocationForwarder
extends Object
implements
ITestRunListener
java.lang.Object
|
↳ |
com.android.tradefed.result.ddmlib.TestRunToTestInvocationForwarder
|
Forwarder from ddmlib ITestRunListener
to ITestLifeCycleReceiver
. Interface that
ensure the convertion of results from ddmlib interface to Tradefed Interface.
Ddmlib interface is linked to running instrumentation tests.
Summary
Fields
public static final String ERROR_MESSAGE_FORMAT
Public constructors
TestRunToTestInvocationForwarder
public TestRunToTestInvocationForwarder ( listeners)
Public methods
testAssumptionFailure
public void testAssumptionFailure (TestIdentifier testId,
String trace)
Parameters |
testId |
TestIdentifier |
trace |
String |
testEnded
public void testEnded (TestIdentifier testId,
testMetrics)
Parameters |
testId |
TestIdentifier |
testMetrics |
|
testFailed
public void testFailed (TestIdentifier testId,
String trace)
Parameters |
testId |
TestIdentifier |
trace |
String |
testIgnored
public void testIgnored (TestIdentifier testId)
Parameters |
testId |
TestIdentifier |
testRunEnded
public void testRunEnded (long elapsedTime,
runMetrics)
Parameters |
elapsedTime |
long |
runMetrics |
|
testRunFailed
public void testRunFailed (String failure)
Parameters |
failure |
String |
testRunStarted
public void testRunStarted (String runName,
int testCount)
Parameters |
runName |
String |
testCount |
int |
testRunStopped
public void testRunStopped (long elapsedTime)
Parameters |
elapsedTime |
long |
testStarted
public void testStarted (TestIdentifier testId)
Parameters |
testId |
TestIdentifier |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-08-03 UTC."],[],[]]