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>

獲取內核構建日期

public Optional<LocalDate> getKernelBuildDate ()

退貨
Optional<LocalDate>

getPlatformSpl

public LocalDate getPlatformSpl ()

退貨
LocalDate

getReleaseBulletinSpl

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

shouldUseKernelSpl

public boolean shouldUseKernelSpl ()

退貨
boolean