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
公共構造函數
public StsExtraBusinessLogicHostTestBase ()
公共方法
public List<String> getExtraBusinessLogics ()
獲取內核構建日期
public Optional<LocalDate> getKernelBuildDate ()
public LocalDate getPlatformSpl ()
getReleaseBulletinSpl
public LocalDate getReleaseBulletinSpl ()
指定最新的發行公告。使用以下命令行參數從命令行對此進行控制:--build-attribute "release-bulletin-spl=2021-06"
獲取測試描述
public Description getTestDescription ()
日誌調試
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 ()
shouldUseKernelSpl
public boolean shouldUseKernelSpl ()