Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
DeviceJUnit4ClassRunner
public
class
DeviceJUnit4ClassRunner
extends BlockJUnit4ClassRunner
implements
IAbiReceiver,
ISetOptionReceiver,
ITestInformationReceiver
Java.lang.Nesne
|
🎃 |
org.junit.runner.Runner
|
|
🎃 |
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
|
|
|
🎃 |
org.junit.runners.BlockJUnit4ClassRunner
|
|
|
|
🎃 |
com.android.tradefed.testtype.DeviceJUnit4ClassRunner
|
IDeviceTest
için de uygun JUnit4 test çalıştırıcısı. JUnit4'ün üzerinde belirtilmelidir
RunWith ek açıklamasıyla test edin.
Özet
Kamu inşaatçıları
DeviceJUnit4ClassRunner
public DeviceJUnit4ClassRunner (Class<?> klass)
Fırlatma |
InitializationError |
|
Herkese açık yöntemler
getAbi
public IAbi getAbi ()
çalıştır
public void run (RunNotifier notifier)
Parametreler |
notifier |
RunNotifier |
setAbi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
Parametreler |
testInformation |
TestInformation |
Korunan yöntemler
createTest
protected Object createTest ()
Cihazı ayarlamak için createTest'i geçersiz kılarız.
çocuk
protected void runChild (FrameworkMethod method,
RunNotifier notifier)
Parametreler |
method |
FrameworkMethod |
notifier |
RunNotifier |
withAfterClasses
protected Statement withAfterClasses (Statement statement)
Parametreler |
statement |
Statement |
withBeforeClasses
protected Statement withBeforeClasses (Statement statement)
Parametreler |
statement |
Statement |
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-29 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-08-29 UTC."],[],[]]