ModuleProtoResultReporter
public
class
ModuleProtoResultReporter
extends FileProtoResultReporter
| java.lang.Object | |||
| ↳ | com.android.tradefed.result.proto.ProtoResultReporter | ||
| ↳ | com.android.tradefed.result.proto.FileProtoResultReporter | ||
| ↳ | com.android.tradefed.result.proto.ModuleProtoResultReporter | ||
Yalnızca modül düzeyindeki sonuçları bildirmek için kullanılan bir sonuç raporlayıcı. Bu modülde yeniden giriş desteklenmez. Bu raporlayıcının amacı, öncelikle modül düzeyinde önbelleğe alma işlemini gerçekleştirmektir.
Özet
Fields'ın oynadığı filmler | |
|---|---|
public
static
final
String |
INVOCATION_ID_KEY
|
Herkese açık kurucular | |
|---|---|
ModuleProtoResultReporter()
|
|
ModuleProtoResultReporter(IInvocationContext mainInvocationContext, boolean granularResults)
|
|
Herkese açık yöntemler | |
|---|---|
static
|
parseResultsMetadata(File protoResults)
Aktarmış olabileceğimiz meta verileri ayıklamak için ayrıştırma yardımcı programı |
void
|
processTestCaseEnded(TestRecordProto.TestRecord testCaseRecord)
|
void
|
processTestModuleEnd(TestRecordProto.TestRecord moduleRecord)
|
void
|
processTestRunEnded(TestRecordProto.TestRecord runRecord, boolean moduleInProgress)
|
boolean
|
reportGranularResults()
|
void
|
reportStopCaching()
|
boolean
|
stopCaching()
|
Korunan yöntemler | |
|---|---|
void
|
afterModuleEnd()
|
void
|
beforeModuleStart()
|
IInvocationContext
|
createCachedContext()
|
Fields'ın oynadığı filmler
INVOCATION_ID_KEY
public static final String INVOCATION_ID_KEY
Herkese açık kurucular
ModuleProtoResultReporter
public ModuleProtoResultReporter ()
ModuleProtoResultReporter
public ModuleProtoResultReporter (IInvocationContext mainInvocationContext, boolean granularResults)
| Parametreler | |
|---|---|
mainInvocationContext |
IInvocationContext |
granularResults |
boolean |
Herkese açık yöntemler
parseResultsMetadata
public staticparseResultsMetadata (File protoResults)
Aktarmış olabileceğimiz meta verileri ayıklamak için ayrıştırma yardımcı programı
| Parametreler | |
|---|---|
protoResults |
File |
| İlerlemeler | |
|---|---|
|
|
processTestCaseEnded
public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)
ERROR(/#testEnded(com.android.tradefed.result.TestDescription,long,HashMap)) gerçekleştikten sonra tamamlanmış test durumu kaydı prototipinin işlenmesi.
| Parametreler | |
|---|---|
testCaseRecord |
TestRecordProto.TestRecord: Bir test durumunu temsil eden nihai prototip. |
processTestModuleEnd
public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)
testModuleEnded() gerçekleştikten sonra nihai modül kaydı prototipinin işlenmesi.
| Parametreler | |
|---|---|
moduleRecord |
TestRecordProto.TestRecord: Modülü temsil eden nihai proto. |
processTestRunEnded
public void processTestRunEnded (TestRecordProto.TestRecord runRecord,
boolean moduleInProgress)ERROR(/#testRunEnded(long,HashMap)) meydana geldikten sonra tamamlanmış çalıştırma kaydı prototipinin işlenmesi.
| Parametreler | |
|---|---|
runRecord |
TestRecordProto.TestRecord: Çalıştırmayı temsil eden nihai proto. |
moduleInProgress |
boolean: Bir modülün devam edip etmediğini belirtir. |
reportGranularResults
public boolean reportGranularResults ()
| İlerlemeler | |
|---|---|
boolean |
|
reportStopCaching
public void reportStopCaching ()
stopCaching
public boolean stopCaching ()
| İlerlemeler | |
|---|---|
boolean |
|
Korunan yöntemler
afterModuleEnd
protected void afterModuleEnd ()
beforeModuleStart
protected void beforeModuleStart ()
createCachedContext
protected IInvocationContext createCachedContext ()
| İlerlemeler | |
|---|---|
IInvocationContext |
|