IInstrumentationResultParser
public
interface
IInstrumentationResultParser
implements
IShellOutputReceiver
| com.android.ddmlib.testrunner.IInstrumentationResultParser |
Kabuktan çalıştırılan bir enstrümantasyon testinin sonuçlarını ayrıştırmak için kullanılan arayüz.
Özet
İç içe yerleştirilmiş sınıflar | |
|---|---|
class |
IInstrumentationResultParser.SessionResultCodes
Am instrument session result codes. |
class |
IInstrumentationResultParser.StatusCodes
Test sonucu durum kodları. |
class |
IInstrumentationResultParser.StatusKeys
İlgili test durumu anahtarları. |
Herkese açık yöntemler | |
|---|---|
abstract
void
|
cancel()
Test çalıştırmasının iptal edilmesini ister. |
abstract
void
|
handleTestRunFailed(String errorMsg)
Bu yöntem, "am instrument" komutu bir istisnayla çöktüğünde çağrılır. |
Herkese açık yöntemler
iptal
public abstract void cancel ()
Test çalıştırmasının iptal edilmesini ister.
handleTestRunFailed
public abstract void handleTestRunFailed (String errorMsg)
Bu yöntem, "am instrument" komutu bir istisnayla çöktüğünde çağrılır. Kayıtlı tüm dinleyicilere ITestRunListener.testRunFailed ve ardından test yürütülürken kilitlenme olursa ITestRunListener.testRunEnded(long, bildirimi gönderilmelidir.
| Parametreler | |
|---|---|
errorMsg |
String |