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