TestRecordProtoUtil

public class TestRecordProtoUtil
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.proto.TestRecordProtoUtil


Utility to read the TestRecord proto from a file.

Summary

Public constructors

TestRecordProtoUtil()

Public methods

static TestRecordProto.TestRecord readFromFile(File protoFile)

Read TestRecord from a file and return it.

Public constructors

TestRecordProtoUtil

public TestRecordProtoUtil ()

Public methods

readFromFile

public static TestRecordProto.TestRecord readFromFile (File protoFile)

Read TestRecord from a file and return it.

Parameters
protoFile File: The ERROR(/File) containing the record

Returns
TestRecordProto.TestRecord a TestRecord created from the file.

Throws
InvalidProtocolBufferException
InvalidProtocolBufferException