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

公共方法

取得額外的業務邏輯

public List<String> getExtraBusinessLogics ()

退貨
List<String>

取得內核建置日期

public Optional<LocalDate> getKernelBuildDate ()

退貨
Optional<LocalDate>

獲取平台Spl

public LocalDate getPlatformSpl ()

退貨
LocalDate

取得發佈公告Spl

public LocalDate getReleaseBulletinSpl ()

指定最新版本公告。使用下列命令列參數從命令列控制此操作: --build-attribute "release-bulletin-spl=2021-06"

退貨
LocalDate

取得測試描述

public Description getTestDescription ()

退貨
Description

日誌偵錯

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

參數
logTag String

format String

args Object

日誌錯誤

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

日誌警告

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

參數
logTag String

format String

args Object

應該跳過主線測試

public boolean shouldSkipMainlineTests ()

退貨
boolean

應該使用KernelSpl

public boolean shouldUseKernelSpl ()

退貨
boolean