/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
EnumsTest.java | 35 private enum TestEnum { 44 assertEquals(Optional.of(TestEnum.CHEETO), Enums.getIfPresent(TestEnum.class, "CHEETO")); 45 assertEquals(Optional.of(TestEnum.HONDA), Enums.getIfPresent(TestEnum.class, "HONDA")); 46 assertEquals(Optional.of(TestEnum.POODLE), Enums.getIfPresent(TestEnum.class, "POODLE")); 48 assertTrue(Enums.getIfPresent(TestEnum.class, "CHEETO").isPresent()); 49 assertTrue(Enums.getIfPresent(TestEnum.class, "HONDA").isPresent()); 50 assertTrue(Enums.getIfPresent(TestEnum.class, "POODLE").isPresent()) [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
EnumsTest.java | 44 private enum TestEnum { 53 assertEquals(Optional.of(TestEnum.CHEETO), Enums.getIfPresent(TestEnum.class, "CHEETO")); 54 assertEquals(Optional.of(TestEnum.HONDA), Enums.getIfPresent(TestEnum.class, "HONDA")); 55 assertEquals(Optional.of(TestEnum.POODLE), Enums.getIfPresent(TestEnum.class, "POODLE")); 57 assertTrue(Enums.getIfPresent(TestEnum.class, "CHEETO").isPresent()); 58 assertTrue(Enums.getIfPresent(TestEnum.class, "HONDA").isPresent()); 59 assertTrue(Enums.getIfPresent(TestEnum.class, "POODLE").isPresent()) [all...] |
/build/tools/droiddoc/test/generics/src/com/android/generics/ |
TestEnum.java | 19 public class TestEnum<E extends TestEnum<E>> implements TestComparable<E> {
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
test_bad_identifiers.proto | 74 enum TestEnum { 82 optional TestEnum field2 = 2 [deprecated=true]; 120 enum TestEnum { 126 repeated TestEnum enum_field = 2; 132 optional TestEnum enum_field_count = 12; 138 repeated TestEnum EnumField = 22;
|
/external/clang/test/Sema/ |
format-strings-enum.c | 15 typedef enum { Constant = 0 } TestEnum; 16 // Note that in C, the type of 'Constant' is 'int'. In C++ it is 'TestEnum'. 19 void test(TestEnum input) {
|
format-strings-enum-fixed-type.cpp | 13 typedef enum : short { Constant = 0 } TestEnum; 15 // In C++ (and Objective-C++) it is 'TestEnum'. 18 void test(TestEnum input) {
|
/external/llvm/test/DebugInfo/PDB/Inputs/ |
symbolformat.cpp | 8 enum TestEnum { 68 TestEnum Enum = Value;
|
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
ProvidesIntoTest.java | 96 @TestEnumKey(TestEnum.A) 100 @TestEnumKey(TestEnum.B) 144 Map<TestEnum, String> noAnnotationMap = 145 injector.getInstance(new Key<Map<TestEnum, String>>() {}); 146 assertEquals(ImmutableMap.of(TestEnum.A, "na", TestEnum.B, "na2"), noAnnotationMap); 165 enum TestEnum { 172 TestEnum value(); 275 @ProvidesIntoSet @TestEnumKey(TestEnum.A) String provideFoo() { return "foo"; } 292 @TestEnumKey(TestEnum.A [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
AnnotationTest.java | 41 public enum TestEnum { 56 TestEnum someEnum() default TestEnum.EnumA; 60 @TestAnnotation(name = "MyAnnotatedClass", someEnum = TestEnum.EnumB)
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidEnumTest.java | 39 public void testEnum() throws Exception {
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
cgo_test.go | 15 func TestEnum(t *testing.T) { testEnum(t) }
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
cgo_test.go | 15 func TestEnum(t *testing.T) { testEnum(t) }
|
/external/clang/test/SemaObjC/ |
boxing-illegal.m | 53 void testEnum(void *p) {
|
/external/clang/test/SemaObjCXX/ |
boxing-illegal-types.mm | 53 void testEnum(void *p) {
|
/external/protobuf/src/google/protobuf/ |
unittest_no_generic_services.proto | 43 enum TestEnum {
|
/cts/tests/app/app/res/values/ |
styles.xml | 89 <item name="testEnum">val1</item> 93 <item name="testEnum">val2</item> 97 <item name="testEnum">val10</item>
|
attrs.xml | 69 <attr name="testEnum"> 81 <attr name="testEnum" />
|
/cts/tests/tests/content/res/values/ |
styles.xml | 92 <item name="testEnum">val1</item> 96 <item name="testEnum">val2</item> 100 <item name="testEnum">val10</item>
|
attrs.xml | 75 <attr name="testEnum"> 87 <attr name="testEnum" />
|
/cts/tests/tests/graphics/res/values/ |
styles.xml | 89 <item name="testEnum">val1</item> 93 <item name="testEnum">val2</item> 97 <item name="testEnum">val10</item>
|
attrs.xml | 69 <attr name="testEnum"> 81 <attr name="testEnum" />
|
/cts/tests/tests/view/res/values/ |
styles.xml | 89 <item name="testEnum">val1</item> 93 <item name="testEnum">val2</item> 97 <item name="testEnum">val10</item>
|
attrs.xml | 69 <attr name="testEnum"> 81 <attr name="testEnum" />
|
/cts/tests/tests/widget/res/values/ |
styles.xml | 113 <item name="testEnum">val1</item> 117 <item name="testEnum">val2</item> 121 <item name="testEnum">val10</item>
|
/cts/tests/tests/text/res/values/ |
attrs.xml | 69 <attr name="testEnum"> 81 <attr name="testEnum" />
|