測試依賴解析器
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 ()
公共方法
從上下文中解析依賴關係
public static File resolveDependencyFromContext (File dependency, IBuildInfo build, IInvocationContext context)
根據某些上下文解決單一依賴關係。
參數 | |
---|---|
dependency | File :要解決的依賴關係。 |
build | IBuildInfo :目前正在建立的建置資訊。 |
context | IInvocationContext :呼叫上下文。 |
退貨 | |
---|---|
File | 已解決的依賴關係,如果未解決則為 null。 |
投擲 | |
---|---|
| com.android.tradefed.build.BuildRetrievalError |
BuildRetrievalError |