HostGTest

public class HostGTest
extends GTestBase implements IBuildReceiver

java.lang.Nesne
com.android.tradefed.testtype.GTestBase
com.android.tradefed.testtype.HostGTest


Yerel bir test paketi çalıştıran bir Test.

Özet

Kamu inşaatçıları

HostGTest ()

Genel yöntemler

CommandResult executeHostCommand (String cmd, long timeoutMs)
CommandResult executeHostCommand (String cmd)
String loadFilter (String binaryOnHost)

Get filtre yöntemini tanımlayın.

void run ( TestInformation testInfo, ITestInvocationListener listener)

void setBuild ( IBuildInfo buildInfo)

Kamu inşaatçıları

HostGTest

public HostGTest ()

Genel yöntemler

yürütmekHostKomut

public CommandResult executeHostCommand (String cmd, 
                long timeoutMs)

parametreler
cmd String : ana bilgisayarda yürütmek isteyen komut

timeoutMs long : komut için milisaniye cinsinden zaman aşımı

İadeler
CommandResult CommandResult Komut Sonucu

yürütmekHostKomut

public CommandResult executeHostCommand (String cmd)

parametreler
cmd String : ana bilgisayarda yürütmek isteyen komut

İadeler
CommandResult CommandResult Komut Sonucu

yük filtresi

public String loadFilter (String binaryOnHost)

Get filtre yöntemini tanımlayın.

Alt sınıf, kendi filtresini nasıl alacağını uygulamalıdır.

parametreler
binaryOnHost String : filtre dosyasının tam yolu.

İadeler
String filtre dizisi.

koşmak

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

parametreler
testInfo TestInformation

listener ITestInvocationListener

atar
DeviceNotAvailableException

setYapı

public void setBuild (IBuildInfo buildInfo)

parametreler
buildInfo IBuildInfo