TestRecordProtoUtil
public class TestRecordProtoUtil
extends Object
java.lang.Object |
↳ | com.android.tradefed.util.proto.TestRecordProtoUtil |
从文件中读取TestRecord
原型的实用程序。
概括
公共构造函数
TestRecordProtoUtil
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 : 如果 proto 文件为分隔格式则为真。如果文件是默认格式,则为 False。 |
退货 |
---|
TestRecordProto.TestRecord | |