Google is committed to advancing racial equity for Black communities. See how.

RetryLogSaverResultForwarder

public class RetryLogSaverResultForwarder
extends LogSaverResultForwarder

java.lang.Object
   ↳ com.android.tradefed.result.ResultForwarder
     ↳ com.android.tradefed.result.LogSaverResultForwarder
       ↳ com.android.tradefed.retry.RetryLogSaverResultForwarder


Forwarder that also handles passing the current attempt we are at.

Summary

Public constructors

RetryLogSaverResultForwarder(ILogSaver logSaver, listeners)

Public methods

void incrementAttempt()

Increment the attempt number.

void testRunStarted(String runName, int testCount)

void testRunStarted(String runName, int testCount, int attemptNumber, long startTime)

void testRunStarted(String runName, int testCount, int attemptNumber)

Public constructors

RetryLogSaverResultForwarder

public RetryLogSaverResultForwarder (ILogSaver logSaver, 
                 listeners)

Parameters
logSaver ILogSaver

listeners

Public methods

incrementAttempt

public void incrementAttempt ()

Increment the attempt number.

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

Parameters
runName String

testCount int

testRunStarted

public void testRunStarted (String runName, 
                int testCount, 
                int attemptNumber, 
                long startTime)

Parameters
runName String

testCount int

attemptNumber int

startTime long

testRunStarted

public void testRunStarted (String runName, 
                int testCount, 
                int attemptNumber)

Parameters
runName String

testCount int

attemptNumber int