LocalDeviceBuildProvider

public class LocalDeviceBuildProvider
extends StubBuildProvider

java.lang.Object
   ↳ com.android.tradefed.build.StubBuildProvider
     ↳ com.android.tradefed.build.LocalDeviceBuildProvider


A IBuildProvider that constructs a IDeviceBuildInfo based on a provided filesystem directory path.

Specific device build files are recognized based on a configurable set of patterns.

Summary

Public constructors

LocalDeviceBuildProvider()

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.

File getTestDir()

Returns the directory where the tests are located.

Public constructors

LocalDeviceBuildProvider

LocalDeviceBuildProvider ()

Public methods

buildNotTested

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

cleanUp

void cleanUp (IBuildInfo info)

Clean up any temporary build files.

Parameters
info IBuildInfo

getBuild

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

getTestDir

File getTestDir ()

Returns the directory where the tests are located.

Returns
File