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ç muhabiri. 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 Map<String, String> parseResultsMetadata(File protoResults)

Aktarmış olabileceğimiz meta verileri ayıklamak için ayrıştırma yardımcı programı

void processTestCaseEnded(TestRecordProto.TestRecord testCaseRecord)

testEnded(TestDescription,long,HashMap) gerçekleştikten sonra sonlandırılmış test durumu kaydı proto'sunun işlenmesi.

void processTestModuleEnd(TestRecordProto.TestRecord moduleRecord)

testModuleEnded() gerçekleştikten sonra kesinleştirilmiş modül kaydı proto'sunun işlenmesi.

void processTestRunEnded(TestRecordProto.TestRecord runRecord, boolean moduleInProgress)

testRunEnded(long,HashMap) gerçekleştikten sonra tamamlanmış çalıştırma kaydı proto'sunun işlenmesi.

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 static Map<String, String> parseResultsMetadata (File protoResults)

Aktarmış olabileceğimiz meta verileri ayıklamak için ayrıştırma yardımcı programı

Parametreler
protoResults File

İadeler
Map<String, String>

processTestCaseEnded

public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)

testEnded(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 kesinleştirilmiş 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)

testRunEnded(long,HashMap) gerçekleştikten sonra tamamlanmış çalıştırma kaydı proto'sunun işlenmesi.

Parametreler
runRecord TestRecordProto.TestRecord: Çalıştırmayı temsil eden son proto.

moduleInProgress boolean: Modülün devam edip etmediği

reportGranularResults

public boolean reportGranularResults ()

İadeler
boolean

reportStopCaching

public void reportStopCaching ()

stopCaching

public boolean stopCaching ()

İadeler
boolean

Korunan yöntemler

afterModuleEnd

protected void afterModuleEnd ()

beforeModuleStart

protected void beforeModuleStart ()

createCachedContext

protected IInvocationContext createCachedContext ()

İadeler
IInvocationContext