PtsBotTest
public
class
PtsBotTest
extends Object
implements
IRemoteTest,
IShardableTest,
ITestFilterReceiver,
ITestLogger
java.lang.Object | |
↳ | com.android.tradefed.testtype.pandora.PtsBotTest |
PTS-bot 테스트를 실행합니다. PTS-bot은 블루투스 호스트 인증 테스트를 실행하기 위해 블루투스 표준에서 제공하는 테스트 도구인 블루투스 프로필 미세 조정 모음의 완전한 자동화입니다(https://www.bluetooth.com/develop-with-bluetooth/qualification-listing/qualification-test-tools/profile-tuning-suite/ 참고).
요약
중첩된 클래스 | |
---|---|
class |
PtsBotTest.TestFlagConfiguration
|
공개 생성자 | |
---|---|
PtsBotTest()
|
공개 메서드 | |
---|---|
void
|
addAllExcludeFilters(
제외할 테스트의 필터 |
void
|
addAllIncludeFilters(
포함할 테스트의 필터 |
void
|
addExcludeFilter(String filter)
제외할 테스트의 필터를 추가합니다. |
void
|
addIncludeFilter(String filter)
포함할 테스트의 필터를 추가합니다. |
void
|
clearExcludeFilters()
현재 추적 중인 제외 필터를 모두 삭제합니다. |
void
|
clearIncludeFilters()
현재 추적 중인 모든 포함 필터를 삭제합니다. |
|
getExcludeFilters()
제외 필터의 현재 |
|
getIncludeFilters()
포함 필터의 현재 |
PtsBotTest.TestFlagConfiguration
|
getTestFlagConfiguration()
|
void
|
initFlagsConfig(ITestDevice testDevice, File testConfigFile)
|
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
테스트를 실행하고 리스너에 결과를 보고합니다. |
|
split(int shardCountHint)
실행하려는 shardCount도 제공하는 |
공개 생성자
PtsBotTest
public PtsBotTest ()
공개 메서드
addAllExcludeFilters
public void addAllExcludeFilters (filters)
제외할 테스트의 필터 ERROR(/Set)
를 추가합니다.
매개변수 | |
---|---|
filters |
|
addAllIncludeFilters
public void addAllIncludeFilters (filters)
포함할 테스트의 필터 ERROR(/Set)
를 추가합니다.
매개변수 | |
---|---|
filters |
|
addExcludeFilter
public void addExcludeFilter (String filter)
제외할 테스트의 필터를 추가합니다.
매개변수 | |
---|---|
filter |
String |
addIncludeFilter
public void addIncludeFilter (String filter)
포함할 테스트의 필터를 추가합니다.
매개변수 | |
---|---|
filter |
String |
clearExcludeFilters
public void clearExcludeFilters ()
현재 추적 중인 제외 필터를 모두 삭제합니다.
clearIncludeFilters
public void clearIncludeFilters ()
현재 추적 중인 모든 포함 필터를 삭제합니다.
getTestFlagConfiguration
public PtsBotTest.TestFlagConfiguration getTestFlagConfiguration ()
반환 값 | |
---|---|
PtsBotTest.TestFlagConfiguration |
initFlagsConfig
public void initFlagsConfig (ITestDevice testDevice, File testConfigFile)
매개변수 | |
---|---|
testDevice |
ITestDevice |
testConfigFile |
File |
실행
public void run (TestInformation testInfo, ITestInvocationListener listener)
테스트를 실행하고 리스너에 결과를 보고합니다.
매개변수 | |
---|---|
testInfo |
TestInformation : 테스트를 실행하는 데 유용한 정보를 포함하는 TestInformation 객체입니다. |
listener |
ITestInvocationListener : 테스트 결과의 ITestInvocationListener |
생성 값 | |
---|---|
DeviceNotAvailableException |
분할
publicsplit (int shardCountHint)
실행하려는 shardCount도 제공하는 split()
의 대체 버전입니다. 이는 때때로 임의로 결정할 수 없는 일부 테스트 실행기에 유용합니다.
매개변수 | |
---|---|
shardCountHint |
int : 시도된 샤드 수입니다. |
반환 값 | |
---|---|
|
개별적으로 실행할 하위 테스트 모음 또는 테스트가 현재 샤드할 수 없는 경우 null |