測試記錄協定工具
public class TestRecordProtoUtil
extends Object
java.lang.Object |
↳ | com.android.tradefed.util.proto.TestRecordProtoUtil |
用於從檔案讀取TestRecord
原型的實用程式。
概括
公共構造函數
測試記錄協定工具
public TestRecordProtoUtil ()
公共方法
從檔案讀取
public static TestRecordProto.TestRecord readFromFile (File protoFile)
從檔案中讀取TestRecord
並將其傳回。
從檔案讀取
public static TestRecordProto.TestRecord readFromFile (File protoFile,
boolean readDelimited)
從檔案中讀取TestRecord
並將其傳回。
參數 |
---|
protoFile | File :包含記錄的ERROR(/File) |
readDelimited | boolean :如果原始檔案採用分隔格式,則為 True。如果檔案是預設格式,則為 False。 |
退貨 |
---|
TestRecordProto.TestRecord | |