LegacySubprocessResultsReporter

public final class LegacySubprocessResultsReporter
extends SubprocessResultsReporter

java.lang.Object
   ↳ com.android.tradefed.result.SubprocessResultsReporter
     ↳ com.android.tradefed.result.LegacySubprocessResultsReporter


הטמעה קפואה של הכלי לדיווח על תוצאות של תהליך משנה, שצריכה להישאר תואמת לגרסאות קודמות של TF/CTS (למשל 8 ואילך), למרות השינויים במחלקה האב שלו.

אפשר להחדיר את הדיווח הזה באופן דינמי כדי לאפשר דיווח על תהליכים משניים בחבילות בדיקה ישנות שמבוססות על TF.

סיכום

קונסטרוקטורים גלויים לכולם

LegacySubprocessResultsReporter()

שיטות ציבוריות

void invocationEnded(long elapsedTime)

void invocationFailed(Throwable cause)

void invocationStarted(IBuildInfo buildInfo)
void logAssociation(String dataName, LogFile logFile)

void setLogSaver(ILogSaver logSaver)
void testAssumptionFailure(TestIdentifier testId, String trace)
void testEnded(TestIdentifier testId, metrics)
void testEnded(TestIdentifier testId, long endTime, metrics)
void testFailed(TestIdentifier testId, String reason)
void testIgnored(TestIdentifier testId)
void testLogSaved(String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile)
void testModuleEnded()

void testModuleStarted(IInvocationContext moduleContext)

void testRunEnded(long time, runMetrics)

void testRunFailed(String reason)

void testRunStarted(String runName, int testCount)

void testStarted(TestIdentifier testId)
void testStarted(TestIdentifier testId, long startTime)

קונסטרוקטורים גלויים לכולם

LegacySubprocessResultsReporter

public LegacySubprocessResultsReporter ()

שיטות ציבוריות

invocationEnded

public void invocationEnded (long elapsedTime)

פרמטרים
elapsedTime long

invocationFailed

public void invocationFailed (Throwable cause)

פרמטרים
cause Throwable

invocationStarted

public void invocationStarted (IBuildInfo buildInfo)

פרמטרים
buildInfo IBuildInfo

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

פרמטרים
dataName String

logFile LogFile

setLogSaver

public void setLogSaver (ILogSaver logSaver)

פרמטרים
logSaver ILogSaver

testAssumptionFailure

public void testAssumptionFailure (TestIdentifier testId, 
                String trace)

פרמטרים
testId TestIdentifier

trace String

testEnded

public void testEnded (TestIdentifier testId, 
                 metrics)

פרמטרים
testId TestIdentifier

metrics

testEnded

public void testEnded (TestIdentifier testId, 
                long endTime, 
                 metrics)

פרמטרים
testId TestIdentifier

endTime long

metrics

testFailed

public void testFailed (TestIdentifier testId, 
                String reason)

פרמטרים
testId TestIdentifier

reason String

testIgnored

public void testIgnored (TestIdentifier testId)

פרמטרים
testId TestIdentifier

testLogSaved

public void testLogSaved (String dataName, 
                LogDataType dataType, 
                InputStreamSource dataStream, 
                LogFile logFile)

פרמטרים
dataName String

dataType LogDataType

dataStream InputStreamSource

logFile LogFile

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

פרמטרים
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long time, 
                 runMetrics)

פרמטרים
time long

runMetrics

testRunFailed

public void testRunFailed (String reason)

פרמטרים
reason String

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

פרמטרים
runName String

testCount int

testStarted

public void testStarted (TestIdentifier testId)

פרמטרים
testId TestIdentifier

testStarted

public void testStarted (TestIdentifier testId, 
                long startTime)

פרמטרים
testId TestIdentifier

startTime long