A partire dal 2026, per allinearci al nostro modello di sviluppo trunk stabile e garantire la stabilità della piattaforma per l'ecosistema, pubblicheremo il codice sorgente su AOSP nel secondo e nel quarto trimestre. Per compilare e contribuire ad AOSP, utilizza android-latest-release. Il branch del manifest android-latest-release farà sempre riferimento alla release più recente pubblicata su AOSP. Per saperne di più, consulta la sezione Modifiche ad AOSP.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
DeviceParameterizedRunner
public
class
DeviceParameterizedRunner
extends JUnitParamsRunner
implements
IAbiReceiver,
ISetOptionReceiver,
ITestInformationReceiver
| java.lang.Object
|
| ↳ |
org.junit.runner.Runner
|
| |
↳ |
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
|
| |
|
↳ |
org.junit.runners.BlockJUnit4ClassRunner
|
| |
|
|
↳ |
junitparams.JUnitParamsRunner
|
| |
|
|
|
↳ |
com.android.tradefed.testtype.junit4.DeviceParameterizedRunner
|
Runner con parametri in stile JUnit4 per test con parametri basati su host.
Questo runner si basa su JUnitParamsRunner e non su JUnit4 nativo Parameterized
ma il runner parametrizzato nativo non è molto buono e non consente di eseguire un singolo metodo.
Riepilogo
Costruttori pubblici
DeviceParameterizedRunner
public DeviceParameterizedRunner (Class<?> klass)
| Genera |
|
org.junit.runners.model.InitializationError |
InitializationError |
|
Metodi pubblici
getAbi
public IAbi getAbi ()
setAbi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
| Parametri |
testInformation |
TestInformation |
Metodi protetti
getKeyValueOptions
protected List<String> getKeyValueOptions ()
methodInvoker
protected Statement methodInvoker (FrameworkMethod method,
Object testObj)
| Parametri |
method |
FrameworkMethod |
testObj |
Object |
withAfterClasses
protected Statement withAfterClasses (Statement statement)
| Parametri |
statement |
Statement |
withBeforeClasses
protected Statement withBeforeClasses (Statement statement)
| Parametri |
statement |
Statement |
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2026-06-22 UTC.
[null,null,["Ultimo aggiornamento 2026-06-22 UTC."],[],[]]