IRemoteAndroidTestRunner.TestSize
public
static
final
enum
IRemoteAndroidTestRunner.TestSize
extends Enum<IRemoteAndroidTestRunner.TestSize>
| java.lang.Object | ||
| ↳ | java.lang.Enum<com.android.ddmlib.testrunner.IRemoteAndroidTestRunner.TestSize> | |
| ↳ | com.android.ddmlib.testrunner.IRemoteAndroidTestRunner.TestSize | |
Podsumowanie
Wartości typu wyliczeniowego | |
|---|---|
IRemoteAndroidTestRunner.TestSize |
LARGE
Uruchamianie testów z adnotacją LargeTest |
IRemoteAndroidTestRunner.TestSize |
MEDIUM
Uruchamianie testów z adnotacją MediumTest |
IRemoteAndroidTestRunner.TestSize |
SMALL
Uruchamianie testów oznaczonych adnotacją SmallTest |
Metody publiczne | |
|---|---|
static
IRemoteAndroidTestRunner.TestSize
|
getTestSize(String value)
Zwraca |
static
IRemoteAndroidTestRunner.TestSize
|
valueOf(String name)
|
static
final
TestSize[]
|
values()
|
Wartości typu wyliczeniowego
DUŻY
public static final IRemoteAndroidTestRunner.TestSize LARGE
Uruchamianie testów z adnotacją LargeTest
ŚREDNIE
public static final IRemoteAndroidTestRunner.TestSize MEDIUM
Uruchamianie testów z adnotacją MediumTest
MAŁY
public static final IRemoteAndroidTestRunner.TestSize SMALL
Uruchamianie testów oznaczonych adnotacją SmallTest
Metody publiczne
getTestSize
public static IRemoteAndroidTestRunner.TestSize getTestSize (String value)
Zwraca TestSize odpowiadającą podanej wartości zdefiniowanej na platformie Android.
| Parametry | |
|---|---|
value |
String |
| Zwroty | |
|---|---|
IRemoteAndroidTestRunner.TestSize |
|
| Zgłasza | |
|---|---|
IllegalArgumentException |
jeśli nie można znaleźć TestSize. |
valueOf
public static IRemoteAndroidTestRunner.TestSize valueOf (String name)
| Parametry | |
|---|---|
name |
String |
| Zwroty | |
|---|---|
IRemoteAndroidTestRunner.TestSize |
|