PythonBinaryHostTest

public class PythonBinaryHostTest
extends Object implements IRemoteTest, ITestFilterReceiver

java.lang.Object
   ↳ com.android.tradefed.testtype.python.PythonBinaryHostTest


Android derleme sisteminden (Soong) bir Python ikili dosyası çalıştırmak için ana makine testi

Test çalıştırıcı, include-filter ve exclude-filter'ı destekler. Hariç tutma filtresinin, gerçek testi atlamak yerine test sonucunu yoksayarak çalıştığını unutmayın. exclude-filter içinde belirtilen testler yine de yürütülür.

Özet

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

class PythonBinaryHostTest.PythonForwarder

Çalıştırma adını ikili adıyla değiştirmek için sonuç yönlendirici. 

Sabitler

String ANDROID_SERIAL_VAR

String LD_LIBRARY_PATH

Herkese açık oluşturucular

PythonBinaryHostTest()

Herkese açık yöntemler

void addAllExcludeFilters( filters)

Hariç tutulacak testlerin ERROR(/Set) filtrelerini ekler.

void addAllIncludeFilters( filters)

Hangi testlerin dahil edileceğiyle ilgili filtrelerin ERROR(/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.

getExcludeFilters()

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

getIncludeFilters()

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

final void run(TestInformation testInfo, ITestInvocationListener listener)

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

Sabitler

ANDROID_SERIAL_VAR

protected static final String ANDROID_SERIAL_VAR

Sabit Değer: "ANDROID_SERIAL"

LD_LIBRARY_PATH

protected static final String LD_LIBRARY_PATH

Sabit Değer: "LD_LIBRARY_PATH"

Herkese açık oluşturucular

PythonBinaryHostTest

public PythonBinaryHostTest ()

Herkese açık yöntemler

addAllExcludeFilters

public void addAllExcludeFilters ( filters)

Hariç tutulacak testlerin ERROR(/Set) filtrelerini ekler.

Parametreler
filters

addAllIncludeFilters

public void addAllIncludeFilters ( filters)

Hangi testlerin dahil edileceğiyle ilgili filtrelerin ERROR(/Set) özelliğini ekler.

Parametreler
filters

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

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

İlerlemeler

getIncludeFilters

public  getIncludeFilters ()

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

İlerlemeler

çalıştır

public final 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

Dekoratif yastıklar
DeviceNotAvailableException