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


StsLogic 的主機端實作。

摘要

欄位

public DescriptionProvider descriptionProvider

公用建構函式

StsExtraBusinessLogicHostTestBase()

公用方法

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

指定最新的發布公告。

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()

欄位

說明供應商

public DescriptionProvider descriptionProvider

公用建構函式

StsExtraBusinessLogicHostTestBase

public StsExtraBusinessLogicHostTestBase ()

公用方法

getExtraBusinessLogics

public List<String> getExtraBusinessLogics ()

傳回
List<String>

getKernelBuildDate

public Optional<LocalDate> getKernelBuildDate ()

傳回
Optional<LocalDate>

getPlatformSpl

public LocalDate getPlatformSpl ()

傳回
LocalDate

getReleaseBulletinSpl

public LocalDate getReleaseBulletinSpl ()

指定最新的發布公告。請使用以下指令透過指令列控管這項功能 指令列引數:--build-attribute "release-bulletin-spl=2021-06"

傳回
LocalDate

getTestDescription

public Description getTestDescription ()

傳回
Description

LogDebug

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

參數
logTag String

format String

args Object

logError

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

參數
logTag String

format String

args Object

記錄資訊

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

參數
logTag String

format String

args Object

LogWarn

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

參數
logTag String

format String

args Object

應略過 MainlineTests

public boolean shouldSkipMainlineTests ()

傳回
boolean

shouldUseKernelSpl

public boolean shouldUseKernelSpl ()

傳回
boolean