Package com.android.ddmlib.testrunner
Enum IRemoteAndroidTestRunner.TestSize
- java.lang.Object
-
- java.lang.Enum<IRemoteAndroidTestRunner.TestSize>
-
- com.android.ddmlib.testrunner.IRemoteAndroidTestRunner.TestSize
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IRemoteAndroidTestRunner.TestSize>
- Enclosing interface:
- IRemoteAndroidTestRunner
public static enum IRemoteAndroidTestRunner.TestSize extends java.lang.Enum<IRemoteAndroidTestRunner.TestSize>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IRemoteAndroidTestRunner.TestSize
getTestSize(java.lang.String value)
Return theIRemoteAndroidTestRunner.TestSize
corresponding to the given Android platform defined value.static IRemoteAndroidTestRunner.TestSize
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IRemoteAndroidTestRunner.TestSize[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMALL
public static final IRemoteAndroidTestRunner.TestSize SMALL
Run tests annotated with SmallTest
-
MEDIUM
public static final IRemoteAndroidTestRunner.TestSize MEDIUM
Run tests annotated with MediumTest
-
LARGE
public static final IRemoteAndroidTestRunner.TestSize LARGE
Run tests annotated with LargeTest
-
-
Method Detail
-
values
public static IRemoteAndroidTestRunner.TestSize[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IRemoteAndroidTestRunner.TestSize c : IRemoteAndroidTestRunner.TestSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IRemoteAndroidTestRunner.TestSize valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getTestSize
public static IRemoteAndroidTestRunner.TestSize getTestSize(java.lang.String value)
Return theIRemoteAndroidTestRunner.TestSize
corresponding to the given Android platform defined value.- Throws:
java.lang.IllegalArgumentException
- ifIRemoteAndroidTestRunner.TestSize
cannot be found.
-
-