測試依賴解析器
public class TestDependencyResolver
extends Object
java.lang.Object | |
↳ | com.android.tradefed.dependency.TestDependencyResolver |
如果需要,幫助解決依賴關係。
概括
公共構造函數 | |
---|---|
TestDependencyResolver () |
公共方法 | |
---|---|
static File | resolveDependencyFromContext (File dependency, IBuildInfo build, IInvocationContext context) 根據某些上下文解決單個依賴項。 |
公共構造函數
測試依賴解析器
public TestDependencyResolver ()
公共方法
resolveDependencyFromContext
public static File resolveDependencyFromContext (File dependency, IBuildInfo build, IInvocationContext context)
根據某些上下文解決單個依賴項。
參數 | |
---|---|
dependency | File :要解決的依賴關係。 |
build | IBuildInfo :正在創建的當前構建信息。 |
context | IInvocationContext :調用上下文。 |
退貨 | |
---|---|
File | 已解決的依賴項,如果未解決則為 null。 |
投擲 | |
---|---|
| com.android.tradefed.build.BuildRetrievalError |
BuildRetrievalError |