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

字段

descriptionProvider(说明提供方)

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

日志调试

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

shouldSkipMainlineTest

public boolean shouldSkipMainlineTests ()

返回
boolean

shouldUseKernelSpl

public boolean shouldUseKernelSpl ()

返回
boolean