ErrorStorageUtil

public class ErrorStorageUtil
extends Object

java.lang.Object
   ↳ com.android.tradefed.result.error.ErrorStorageUtil


Helper class for manipulating the errors to align with the common storage.

Summary

Public constructors

ErrorStorageUtil()

Public methods

static String mapStatus(TestRecordProto.FailureStatus status)

Map Tradefed errors to our infrastructure common storage errors.

Public constructors

ErrorStorageUtil

public ErrorStorageUtil ()

Public methods

mapStatus

public static String mapStatus (TestRecordProto.FailureStatus status)

Map Tradefed errors to our infrastructure common storage errors. They map 1:1 but have slightly different names so we re-align them here.

Parameters
status TestRecordProto.FailureStatus

Returns
String