测试依赖解析器
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 |