TestDependencyResolver

public class TestDependencyResolver
extends Object

java.lang.Object
   ↳ com.android.tradefed.dependency.TestDependencyResolver


Helper to resolve dependencies if needed.

Summary

Public constructors

TestDependencyResolver()

Public methods

static File resolveDependencyFromContext(File dependency, IBuildInfo build, IInvocationContext context)

Resolve a single dependency based on some context.

Public constructors

TestDependencyResolver

public TestDependencyResolver ()

Public methods

resolveDependencyFromContext

public static File resolveDependencyFromContext (File dependency, 
                IBuildInfo build, 
                IInvocationContext context)

Resolve a single dependency based on some context.

Parameters
dependency File: The dependency to be resolved.

build IBuildInfo: The current build information being created.

context IInvocationContext: The invocation context.

Returns
File The resolved dependency or null if unresolved.

Throws
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError