SuiteResultCacheUtil

public class SuiteResultCacheUtil
extends Object

java.lang.Object
   ↳ com.android.tradefed.testtype.suite.SuiteResultCacheUtil


Utility to upload and download cache results for a test module.

Summary

Nested classes

class SuiteResultCacheUtil.CacheResultDescriptor

Describes the cache results. 

Fields

public static final String DEVICE_IMAGE_KEY

Public constructors

SuiteResultCacheUtil()

Public methods

static SuiteResultCacheUtil.CacheResultDescriptor lookUpModuleResults(IConfiguration mainConfig, ModuleDefinition module, File moduleConfig, File moduleDir, SkipContext skipContext)

Look up results in RBE for the test module.

static void uploadModuleResults(IConfiguration mainConfig, TestInformation testInfo, ModuleDefinition module, File moduleConfig, File protoResults, File moduleDir, SkipContext skipContext)

Upload results to RBE

Fields

DEVICE_IMAGE_KEY

public static final String DEVICE_IMAGE_KEY

Public constructors

SuiteResultCacheUtil

public SuiteResultCacheUtil ()

Public methods

lookUpModuleResults

public static SuiteResultCacheUtil.CacheResultDescriptor lookUpModuleResults (IConfiguration mainConfig, 
                ModuleDefinition module, 
                File moduleConfig, 
                File moduleDir, 
                SkipContext skipContext)

Look up results in RBE for the test module.

Returns
SuiteResultCacheUtil.CacheResultDescriptor a CacheResultDescriptor describing the cache result.

uploadModuleResults

public static void uploadModuleResults (IConfiguration mainConfig, 
                TestInformation testInfo, 
                ModuleDefinition module, 
                File moduleConfig, 
                File protoResults, 
                File moduleDir, 
                SkipContext skipContext)

Upload results to RBE