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 tasarlanmış bir sonuç raporlayıcı. Bu modülde yeniden giriş desteklenmez. Bu raporlayıcının amacı öncelikle modül düzeyinde önbelleğe almaktır.
Özet
Sabitler | |
|---|---|
String |
INVOCATION_ID_KEY
|
Herkese açık oluşturucular | |
|---|---|
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()
|
Sabitler
INVOCATION_ID_KEY
public static final String INVOCATION_ID_KEY
Sabit Değer: "invocation_id"
Herkese açık oluşturucular
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 sonlandırılmış test durumu kaydı proto'sunun işlenmesi.
| Parametreler | |
|---|---|
testCaseRecord |
TestRecordProto.TestRecord: Bir test durumunu temsil eden sonlandırılmış proto. |
processTestModuleEnd
public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)
testModuleEnded() gerçekleştikten sonra sonlandırılmış modül kaydı proto'sunun işlenmesi.
| Parametreler | |
|---|---|
moduleRecord |
TestRecordProto.TestRecord: Modülü temsil eden son proto. |
processTestRunEnded
public void processTestRunEnded (TestRecordProto.TestRecord runRecord,
boolean moduleInProgress)ERROR(/#testRunEnded(long,HashMap)) işleminden sonra tamamlanmış çalıştırma kaydı proto'sunun işlenmesi.
| Parametreler | |
|---|---|
runRecord |
TestRecordProto.TestRecord: Çalıştırmayı temsil eden son proto. |
moduleInProgress |
boolean: Bir modülün devam edip etmediği |
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 |
|