Searched refs:TestEnum (Results 1 - 8 of 8) sorted by relevance

/external/guava/guava-tests/test/com/google/common/base/
H A DEnumsTest.java35 private enum TestEnum { enum in class:EnumsTest
44 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class);
45 assertEquals(TestEnum.CHEETO, function.apply("CHEETO"));
46 assertEquals(TestEnum.HONDA, function.apply("HONDA"));
47 assertEquals(TestEnum.POODLE, function.apply("POODLE"));
51 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class);
58 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum
[all...]
/external/clang/test/Sema/
H A Dformat-strings-enum.c15 typedef enum { Constant = 0 } TestEnum; typedef in typeref:enum:__anon4750
16 // Note that in C, the type of 'Constant' is 'int'. In C++ it is 'TestEnum'.
19 void test(TestEnum input) {
23 printf("%lld", input); // expected-warning{{format specifies type 'long long' but the argument has type 'TestEnum'}}
H A Dformat-strings-enum-fixed-type.cpp13 typedef enum : short { Constant = 0 } TestEnum;
15 // In C++ (and Objective-C++) it is 'TestEnum'.
18 void test(TestEnum input) {
19 printf("%hhd", input); // expected-warning{{format specifies type 'char' but the argument has type 'TestEnum'}}
29 printf("%lld", input); // expected-warning{{format specifies type 'long long' but the argument has type 'TestEnum'}}
/external/chromium/chrome/common/
H A Djson_schema_validator_unittest_base.h44 void TestEnum();
H A Djson_schema_validator_unittest_base.cc71 TestEnum();
132 void JSONSchemaValidatorTestBase::TestEnum() { function in class:JSONSchemaValidatorTestBase
/external/clang/test/Misc/
H A Dast-dump-attr.cpp40 int TestEnum __attribute__((visibility("default"))); variable
41 // CHECK: VarDecl{{.*}}TestEnum
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DServiceTest.java236 assertEquals(1, UnittestNoGenericServices.TestEnum.FOO.getNumber());
258 assertTrue(innerClassNames.contains("TestEnum"));
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_unittest.cc1190 no_generic_services_test::TestEnum e = no_generic_services_test::FOO;

Completed in 569 milliseconds