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


Cách triển khai StsLogic phía máy chủ.

Tóm tắt

Trường

public DescriptionProvider descriptionProvider

Hàm khởi tạo công khai

StsExtraBusinessLogicHostTestBase()

Phương thức công khai

List<String> getExtraBusinessLogics()
Optional<LocalDate> getKernelBuildDate()
LocalDate getPlatformSpl()
LocalDate getReleaseBulletinSpl()

Chỉ định bản tin phát hành mới nhất.

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

Trường

descriptionProvider

public DescriptionProvider descriptionProvider

Hàm khởi tạo công khai

StsExtraBusinessLogicHostTestBase

public StsExtraBusinessLogicHostTestBase ()

Phương thức công khai

getExtraBusinessLogics

public List<String> getExtraBusinessLogics ()

Giá trị trả về
List<String>

getKernelBuildDate

public Optional<LocalDate> getKernelBuildDate ()

Giá trị trả về
Optional<LocalDate>

getPlatformSpl

public LocalDate getPlatformSpl ()

Giá trị trả về
LocalDate

getReleaseBulletinSpl

public LocalDate getReleaseBulletinSpl ()

Chỉ định bản tin phát hành mới nhất. Kiểm soát điều này từ dòng lệnh bằng đối số dòng lệnh sau: --build-attribute "release-bulletin-spl=2021-06"

Giá trị trả về
LocalDate

getTestDescription

public Description getTestDescription ()

Giá trị trả về
Description

logDebug

public void logDebug (String logTag, 
                String format, 
                Object... args)

Tham số
logTag String

format String

args Object

logError

public void logError (String logTag, 
                String format, 
                Object... args)

Tham số
logTag String

format String

args Object

logInfo

public void logInfo (String logTag, 
                String format, 
                Object... args)

Tham số
logTag String

format String

args Object

logWarn

public void logWarn (String logTag, 
                String format, 
                Object... args)

Tham số
logTag String

format String

args Object

shouldSkipMainlineTests

public boolean shouldSkipMainlineTests ()

Giá trị trả về
boolean

shouldUseKernelSpl

public boolean shouldUseKernelSpl ()

Giá trị trả về
boolean