/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectOutputStream2Test.java | 35 TWO { enumConstant 50 os.writeObject(MyEnum.TWO); in test_writeReadEnum() 57 assertSame(MyEnum.TWO, readObj); in test_writeReadEnum()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldAndroidEnumTest.java | 26 ZERO, ONE, TWO, THREE, FOUR {boolean isFour() { in isFour() enumConstant 42 assertTrue(MyEnum.TWO.compareTo(MyEnum.ONE) > 0); in testEnum()
|
D | OldClassTest.java | 97 public enum enumExm {ONE, TWO, THREE}; enumConstant 422 ONE, TWO, THREE enumConstant
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | ComparatorTest.java | 30 private static final Item TWO = new Item(2); field in ComparatorTest 39 private final List<Item> orderedItems = listOf(ZERO, ONE, TWO, THREE, FOUR); 40 private final List<Item> nullsFirstItems = listOf(null, ZERO, ONE, TWO, THREE, FOUR); 41 private final List<Item> nullsLastItems = listOf(ZERO, ONE, TWO, THREE, FOUR, null);
|
D | OldAndroidHashMapTest.java | 25 private static final Integer TWO = 2; field in OldAndroidHashMapTest 31 map.put("two", TWO); in addItems() 38 assertEquals(TWO, map.get("two")); in addItems() 159 } else if (o.equals(TWO)) { in testValueIterator()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | EnumConstantNotPresentExceptionTest.java | 24 ONE, TWO, THREE enumConstant
|
/libcore/luni/src/test/parameter_metadata/src/libcore/java/lang/reflect/parameter/ |
D | ParameterMetadataTestClasses.java | 62 enum TestEnum { ONE, TWO } enumConstant
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigInteger.java | 796 return TWO; in nextProbablePrime() 814 result = result.add(TWO); in nextProbablePrime() 827 result = result.add(TWO); in nextProbablePrime() 1044 z = z.modPow(TWO, this); in passesMillerRabin() 1214 @NonNull private static final BigInteger TWO = valueOf(2); 3711 if (w.equals(TWO))
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ParameterTest.java | 489 enum TestEnum { ONE, TWO } enumConstant
|