to top
public class

LocalAppBuildProvider

extends StubBuildProvider
@OptionClass(alias = "local-app")
java.lang.Object
   ↳ com.android.tradefed.build.StubBuildProvider
     ↳ com.android.tradefed.build.LocalAppBuildProvider

Class Overview

A IBuildProvider that constructs a IAppBuildInfo based on a provided local path

Summary

Fields
private Collection<File> mApkPaths @Option(name = "app-path", description = "the local filesystem path to apk.", importance = com.android.tradefed.config.Option.Importance.IF_UNSET, mandatory = true)
[Expand]
Inherited Fields
From class com.android.tradefed.build.StubBuildProvider
Public Constructors
LocalAppBuildProvider()
Public Methods
void buildNotTested(IBuildInfo info)
Mark the given build as untested.
void cleanUp(IBuildInfo info)
Clean up any temporary build files.
IBuildInfo getBuild()
Retrieve the data for build under test.
[Expand]
Inherited Methods
From class com.android.tradefed.build.StubBuildProvider
From class java.lang.Object
From interface com.android.tradefed.build.IBuildProvider

Fields

private Collection<File> mApkPaths

Public Constructors

public LocalAppBuildProvider ()

Public Methods

public void buildNotTested (IBuildInfo info)

Mark the given build as untested.

Called in cases where TradeFederation has failed to complete testing on the build due to an environment problem.

Parameters
info IBuildInfo: the IBuildInfo to reset

public void cleanUp (IBuildInfo info)

Clean up any temporary build files.

Parameters
info IBuildInfo

public IBuildInfo getBuild ()

Retrieve the data for build under test.

Returns
IBuildInfo the IBuildInfo for build under test or null if no build is available for testing
Throws
BuildRetrievalError