HomeSort by relevance Sort by last modified time
    Searched refs:TestEnum (Results 1 - 12 of 12) sorted by null

  /build/tools/droiddoc/test/generics/src/com/android/generics/
TestEnum.java 19 public class TestEnum<E extends TestEnum<E>> implements TestComparable<E> {
  /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...]
  /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/clang/test/Misc/
ast-dump-attr.cpp 40 int TestEnum __attribute__((visibility("default")));
41 // CHECK: VarDecl{{.*}}TestEnum
  /libcore/luni/src/test/java/libcore/java/lang/
OldClassTest.java 414 Object [] constants = TestEnum.class.getEnumConstants();
415 assertEquals(TestEnum.values().length, constants.length);
417 assertEquals(TestEnum.values()[i], constants[i]);
421 public enum TestEnum {
572 assertTrue(TestEnum.ONE.getClass().isEnum());
573 assertTrue(TestEnum.class.isEnum());
579 assertFalse(TestEnum.class.isLocalClass());
587 assertTrue(TestEnum.class.isMemberClass());
    [all...]
  /external/protobuf/java/src/test/java/com/google/protobuf/
ServiceTest.java 230 assertEquals(1, UnittestNoGenericServices.TestEnum.FOO.getNumber());
260 assertTrue(innerClassNames.contains("TestEnum"));
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
FieldTest.java 151 static enum TestEnum {
    [all...]
  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_unittest.cc     [all...]

Completed in 428 milliseconds