沙盒調用執行
public class SandboxedInvocationExecution
extends InvocationExecution
java.lang.Object | ||
↳ | com.android.tradefed.invoker.InvocationExecution | |
↳ | com.android.tradefed.invoker.sandbox.SandboxedInvocationExecution |
調用的特殊沙箱執行:這是當我們在運行命令的沙箱中時的InvocationExection。該構建應該已經在上下文中可用。
概要
公共建設者 | |
---|---|
SandboxedInvocationExecution () |
公開方法 | |
---|---|
boolean | fetchBuild (TestInformation testInfo, IConfiguration config, IRescheduler rescheduler, ITestInvocationListener listener) 執行調用的build_provider步驟。 |
公共建設者
沙盒調用執行
public SandboxedInvocationExecution ()
公開方法
fetchBuild
public boolean fetchBuild (TestInformation testInfo, IConfiguration config, IRescheduler rescheduler, ITestInvocationListener listener)
執行調用的build_provider步驟。
參量 | |
---|---|
testInfo | TestInformation :調用的TestInformation 。 |
config | IConfiguration :此測試運行的IConfiguration 。 |
rescheduler | IRescheduler : IRescheduler ,用於重新安排部分調用以在另一個資源上執行 |
listener | ITestInvocationListener : ITestInvocation 報告構建下載失敗。 |
退貨 | |
---|---|
boolean | 如果我們成功下載了構建,則為True,否則為false。 |
投擲 | |
---|---|
BuildRetrievalError | |
DeviceNotAvailableException |