SubprocessResultsReporter

public class SubprocessResultsReporter
extends Object implements ITestInvocationListener, ILogSaverListener, ISupportGranularResults

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


ITestInvocationListener öğesini bir result_reporter olarak belirtmek ve testlerin, test çalıştırmalarının, test çağrılarının sonuçlarını alt işlemden iletmek için uygular.

Özet

Herkese açık kurucular

SubprocessResultsReporter()

Herkese açık yöntemler

void close()

TestSummary getSummary()

void invocationEnded(long elapsedTime)

void invocationFailed(FailureDescription failure)

void invocationFailed(Throwable cause)

void invocationStarted(IInvocationContext context)

void logAssociation(String dataName, LogFile logFile)

void printEvent(String key, Object event)

Etkinlik anahtarını ve ardından json nesnesini yazdırmak için yardımcı program.

void setOutputTestLog(boolean outputTestLog)

Testin günlük kaydını oluşturup oluşturmayacağımızı belirler.

boolean supportGranularResults()
void testAssumptionFailure(TestDescription testId, String trace)

void testAssumptionFailure(TestDescription testId, FailureDescription failure)

void testEnded(TestDescription testId, long endTime, metrics)

void testEnded(TestDescription testId, metrics)

void testFailed(TestDescription testId, FailureDescription failure)

void testFailed(TestDescription testId, String reason)

void testIgnored(TestDescription testId)

void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream)

void testModuleEnded()

void testModuleStarted(IInvocationContext moduleContext)

void testRunEnded(long time, runMetrics)

void testRunFailed(FailureDescription failure)

void testRunFailed(String reason)

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

void testRunStarted(String runName, int testCount)

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

void testRunStopped(long arg0)

void testStarted(TestDescription testId, long startTime)

void testStarted(TestDescription testId)

Herkese açık kurucular

SubprocessResultsReporter

public SubprocessResultsReporter ()

Herkese açık yöntemler

kapat

public void close ()

getSummary

public TestSummary getSummary ()

İlerlemeler
TestSummary

invocationEnded

public void invocationEnded (long elapsedTime)

Parametreler
elapsedTime long

invocationFailed

public void invocationFailed (FailureDescription failure)

Parametreler
failure FailureDescription

invocationFailed

public void invocationFailed (Throwable cause)

Parametreler
cause Throwable

invocationStarted

public void invocationStarted (IInvocationContext context)

Parametreler
context IInvocationContext

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

Parametreler
dataName String

logFile LogFile

printEvent

public void printEvent (String key, 
                Object event)

Etkinlik anahtarını ve ardından JSON nesnesini yazdırmak için yardımcı program.

Parametreler
key String

event Object

setOutputTestLog

public void setOutputTestLog (boolean outputTestLog)

Testin günlük kaydını oluşturup oluşturmayacağımızı belirler.

Parametreler
outputTestLog boolean

supportGranularResults

public boolean supportGranularResults ()

İlerlemeler
boolean

testAssumptionFailure

public void testAssumptionFailure (TestDescription testId, 
                String trace)

Parametreler
testId TestDescription

trace String

testAssumptionFailure

public void testAssumptionFailure (TestDescription testId, 
                FailureDescription failure)

Parametreler
testId TestDescription

failure FailureDescription

testEnded

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

Parametreler
testId TestDescription

endTime long

metrics

testEnded

public void testEnded (TestDescription testId, 
                 metrics)

Parametreler
testId TestDescription

metrics

testFailed

public void testFailed (TestDescription testId, 
                FailureDescription failure)

Parametreler
testId TestDescription

failure FailureDescription

testFailed

public void testFailed (TestDescription testId, 
                String reason)

Parametreler
testId TestDescription

reason String

testIgnored

public void testIgnored (TestDescription testId)

Parametreler
testId TestDescription

testLog

public void testLog (String dataName, 
                LogDataType dataType, 
                InputStreamSource dataStream)

Parametreler
dataName String

dataType LogDataType

dataStream InputStreamSource

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

Parametreler
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long time, 
                 runMetrics)

Parametreler
time long

runMetrics

testRunFailed

public void testRunFailed (FailureDescription failure)

Parametreler
failure FailureDescription

testRunFailed

public void testRunFailed (String reason)

Parametreler
reason String

testRunStarted

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

Parametreler
runName String

testCount int

attemptNumber int

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

Parametreler
runName String

testCount int

testRunStarted

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

Parametreler
runName String

testCount int

attemptNumber int

startTime long

testRunStopped

public void testRunStopped (long arg0)

Parametreler
arg0 long

testStarted

public void testStarted (TestDescription testId, 
                long startTime)

Parametreler
testId TestDescription

startTime long

testStarted

public void testStarted (TestDescription testId)

Parametreler
testId TestDescription