PtsBotTest

public class PtsBotTest
extends Object implements IRemoteTest, IShardableTest, ITestFilterReceiver, ITestLogger

java.lang.Object
   ↳ com.android.tradefed.testtype.pandora.PtsBotTest


PTS-bot testlerini çalıştırın. PTS-bot, Bluetooth Profile Tuning Suite'in tam otomasyonudur. Bluetooth Profile Tuning Suite, Bluetooth Host sertifika testlerini çalıştırmak için Bluetooth standardı tarafından sağlanan test aracıdır (bkz. https://www.bluetooth.com/develop-with-bluetooth/qualification-listing/qualification-test-tools/profile-tuning-suite/).

Özet

İç içe yerleştirilmiş sınıflar

class PtsBotTest.TestFlagConfiguration

 

class PtsBotTest.TestSyspropConfiguration

 

Herkese açık oluşturucular

PtsBotTest()

Herkese açık yöntemler

void addAllExcludeFilters(Set<String> filters)

Hariç tutulacak testlerin Set filtrelerini ekler.

void addAllIncludeFilters(Set<String> filters)

Hangi testlerin dahil edileceğiyle ilgili filtrelerin Set özelliğini ekler.

void addExcludeFilter(String filter)

Hariç tutulacak testlerin filtresini ekler.

void addIncludeFilter(String filter)

Hangi testlerin dahil edileceğine dair bir filtre ekler.

void clearExcludeFilters()

Şu anda izlenen tüm hariç tutma filtrelerini silin.

void clearIncludeFilters()

Şu anda izlenen tüm dahil etme filtrelerini silin.

Set<String> getExcludeFilters()

Hariç tutma filtrelerinin geçerli Set değerini döndürür.

Set<String> getIncludeFilters()

Dahil etme filtrelerinin geçerli Set değerini döndürür.

PtsBotTest.TestSyspropConfiguration getSyspropConfiguration()
PtsBotTest.TestFlagConfiguration getTestFlagConfiguration()
void initFlagsConfig(ITestDevice testDevice, File testConfigFile)
void initSystemPropertiesConfig(File testConfigFile)
void run(TestInformation testInfo, ITestInvocationListener listener)

Testleri çalıştırır ve sonuçları dinleyiciye bildirir.

Collection<IRemoteTest> split(int shardCountHint)

Çalıştırılmaya çalışılan shardCount değerini de sağlayan split() öğesinin alternatif sürümü.

Herkese açık oluşturucular

PtsBotTest

public PtsBotTest ()

Herkese açık yöntemler

addAllExcludeFilters

public void addAllExcludeFilters (Set<String> filters)

Hariç tutulacak testlerin Set filtrelerini ekler.

Parametreler
filters Set

addAllIncludeFilters

public void addAllIncludeFilters (Set<String> filters)

Hangi testlerin dahil edileceğiyle ilgili filtrelerin Set özelliğini ekler.

Parametreler
filters Set

addExcludeFilter

public void addExcludeFilter (String filter)

Hariç tutulacak testlerin filtresini ekler.

Parametreler
filter String

addIncludeFilter

public void addIncludeFilter (String filter)

Hangi testlerin dahil edileceğine dair bir filtre ekler.

Parametreler
filter String

clearExcludeFilters

public void clearExcludeFilters ()

Şu anda izlenen tüm hariç tutma filtrelerini silin.

clearIncludeFilters

public void clearIncludeFilters ()

Şu anda izlenen tüm dahil etme filtrelerini silin.

getExcludeFilters

public Set<String> getExcludeFilters ()

Hariç tutma filtrelerinin geçerli Set değerini döndürür.

İadeler
Set<String>

getIncludeFilters

public Set<String> getIncludeFilters ()

Dahil etme filtrelerinin geçerli Set değerini döndürür.

İadeler
Set<String>

getSyspropConfiguration

public PtsBotTest.TestSyspropConfiguration getSyspropConfiguration ()

İadeler
PtsBotTest.TestSyspropConfiguration

getTestFlagConfiguration

public PtsBotTest.TestFlagConfiguration getTestFlagConfiguration ()

İadeler
PtsBotTest.TestFlagConfiguration

initFlagsConfig

public void initFlagsConfig (ITestDevice testDevice, 
                File testConfigFile)

Parametreler
testDevice ITestDevice

testConfigFile File

initSystemPropertiesConfig

public void initSystemPropertiesConfig (File testConfigFile)

Parametreler
testConfigFile File

run

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Testleri çalıştırır ve sonuçları dinleyiciye bildirir.

Parametreler
testInfo TestInformation: Testleri çalıştırmak için yararlı bilgiler içeren TestInformation nesnesi.

listener ITestInvocationListener: Test sonuçlarının ITestInvocationListener

Verdiği hatalar
DeviceNotAvailableException

bölüşmek

public Collection<IRemoteTest> split (int shardCountHint)

Çalıştırılmaya çalışılan shardCount değerini de sağlayan split() öğesinin alternatif sürümü. Bu, bazen rastgele karar veremeyen bazı test çalıştırıcılar için yararlıdır.

Parametreler
shardCountHint int: denenmiş parça sayısı.

İadeler
Collection<IRemoteTest> ayrı ayrı yürütülecek bir alt test koleksiyonu veya test şu anda parçalanamıyorsa null