Stay organized with collections
Save and categorize content based on your preferences.
ModuleProtoResultReporter
public
class
ModuleProtoResultReporter
extends FileProtoResultReporter
A result reporter meant to report only the module level results. No re-entry is supported in this
module. The intent of this reporter is primarily for caching at module level.
Summary
Fields
INVOCATION_ID_KEY
public static final String INVOCATION_ID_KEY
Public constructors
ModuleProtoResultReporter
public ModuleProtoResultReporter ()
ModuleProtoResultReporter
public ModuleProtoResultReporter (IInvocationContext mainInvocationContext,
boolean granularResults)
Parameters |
mainInvocationContext |
IInvocationContext |
granularResults |
boolean |
Public methods
public static parseResultsMetadata (File protoResults)
Parsing util to extract metadata we might have transferred
Parameters |
protoResults |
File |
processTestModuleEnd
public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)
Handling of the finalized module record proto after testModuleEnded()
occurred.
Parameters |
moduleRecord |
TestRecordProto.TestRecord : The finalized proto representing the module. |
processTestRunEnded
public void processTestRunEnded (TestRecordProto.TestRecord runRecord,
boolean moduleInProgress)
Handling of the finalized run record proto after ERROR(/#testRunEnded(long,HashMap))
occurred.
Parameters |
runRecord |
TestRecordProto.TestRecord : The finalized proto representing the run. |
moduleInProgress |
boolean : whether or not a module is in progress. |
reportGranularResults
public boolean reportGranularResults ()
reportStopCaching
public void reportStopCaching ()
stopCaching
public boolean stopCaching ()
Protected methods
afterModuleEnd
protected void afterModuleEnd ()
beforeModuleStart
protected void beforeModuleStart ()
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-01-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-30 UTC."],[],[]]