StsExtraBusinessLogicHostTestBase

public class StsExtraBusinessLogicHostTestBase
extends ExtraBusinessLogicHostTestBase implements StsLogic

java.lang.Object
   ↳ com.android.tradefed.testtype.junit4.BaseHostJUnit4Test
     ↳ com.android.compatibility.common.tradefed.testtype.BusinessLogicHostTestBase
       ↳ com.android.compatibility.common.tradefed.testtype.ExtraBusinessLogicHostTestBase
         ↳ com.android.sts.common.tradefed.testtype.StsExtraBusinessLogicHostTestBase


The host-side implementation of StsLogic.

Summary

Fields

public DescriptionProvider descriptionProvider

Public constructors

StsExtraBusinessLogicHostTestBase()

Public methods

List<String> getExtraBusinessLogics()
Optional<LocalDate> getKernelBuildDate()
LocalDate getPlatformSpl()
LocalDate getReleaseBulletinSpl()

Specify the latest release bulletin.

Description getTestDescription()
void logDebug(String logTag, String format, Object... args)
void logError(String logTag, String format, Object... args)
void logInfo(String logTag, String format, Object... args)
void logWarn(String logTag, String format, Object... args)
boolean shouldSkipMainlineTests()
boolean shouldUseKernelSpl()

Fields

descriptionProvider

public DescriptionProvider descriptionProvider

Public constructors

StsExtraBusinessLogicHostTestBase

public StsExtraBusinessLogicHostTestBase ()

Public methods

getExtraBusinessLogics

public List<String> getExtraBusinessLogics ()

Returns
List<String>

getKernelBuildDate

public Optional<LocalDate> getKernelBuildDate ()

Returns
Optional<LocalDate>

getPlatformSpl

public LocalDate getPlatformSpl ()

Returns
LocalDate

getReleaseBulletinSpl

public LocalDate getReleaseBulletinSpl ()

Specify the latest release bulletin. Control this from the command-line with the following command line argument: --build-attribute "release-bulletin-spl=2021-06"

Returns
LocalDate

getTestDescription

public Description getTestDescription ()

Returns
Description

logDebug

public void logDebug (String logTag, 
                String format, 
                Object... args)

Parameters
logTag String

format String

args Object

logError

public void logError (String logTag, 
                String format, 
                Object... args)

Parameters
logTag String

format String

args Object

logInfo

public void logInfo (String logTag, 
                String format, 
                Object... args)

Parameters
logTag String

format String

args Object

logWarn

public void logWarn (String logTag, 
                String format, 
                Object... args)

Parameters
logTag String

format String

args Object

shouldSkipMainlineTests

public boolean shouldSkipMainlineTests ()

Returns
boolean

shouldUseKernelSpl

public boolean shouldUseKernelSpl ()

Returns
boolean