BuildInfoRecorder
public
class
BuildInfoRecorder
extends BaseTargetPreparer
| java.lang.Object | ||
| ↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
| ↳ | com.android.tradefed.targetprep.BuildInfoRecorder | |
用于将 build 信息元数据写入指定文件的 ITargetPreparer。
该文件采用简单的键值对格式编写;文件中的每一行都包含:
key=value
其中 key 是 IBuildInfo 中的元数据字段
目前,系统仅会写入 build ID。
摘要
公共构造函数 | |
|---|---|
BuildInfoRecorder()
|
|
公共方法 | |
|---|---|
void
|
setUp(TestInformation testInfo)
|
公共构造函数
BuildInfoRecorder
public BuildInfoRecorder ()
公共方法
setUp
public void setUp (TestInformation testInfo)
| 参数 | |
|---|---|
testInfo |
TestInformation |
| 抛出 | |
|---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
|