Google 致力于为黑人社区推动种族平等。查看具体举措

FileProtoResultReporter

public class FileProtoResultReporter
extends ProtoResultReporter

java.lang.Object
   ↳ com.android.tradefed.result.proto.ProtoResultReporter
     ↳ com.android.tradefed.result.proto.FileProtoResultReporter


Proto reporter that dumps the TestRecord into a file.

Summary

Public constructors

FileProtoResultReporter()

Public methods

void processFinalProto(TestRecordProto.TestRecord finalRecord)

Handling of the final proto with all results.

void setFileOutput(File output)

Sets the file where to output the result.

Public constructors

FileProtoResultReporter

public FileProtoResultReporter ()

Public methods

processFinalProto

public void processFinalProto (TestRecordProto.TestRecord finalRecord)

Handling of the final proto with all results.

Parameters
finalRecord TestRecordProto.TestRecord: The finalized proto with all the invocation results.

setFileOutput

public void setFileOutput (File output)

Sets the file where to output the result.

Parameters
output File