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 ()
取得發佈公告Spl
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 ()
應該使用KernelSpl
public boolean shouldUseKernelSpl ()