Home
last modified time | relevance | path

Searched refs:BasicEnum (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/tests/
Dvalidation_unittest.cc490 TEST(EnumValueValidationTest, BasicEnum) { in TEST() argument
492 EXPECT_FALSE(IsKnownEnumValue(static_cast<BasicEnum>(-4))); in TEST()
493 EXPECT_TRUE(IsKnownEnumValue(static_cast<BasicEnum>(-3))); in TEST()
494 EXPECT_FALSE(IsKnownEnumValue(static_cast<BasicEnum>(-2))); in TEST()
495 EXPECT_FALSE(IsKnownEnumValue(static_cast<BasicEnum>(-1))); in TEST()
496 EXPECT_TRUE(IsKnownEnumValue(static_cast<BasicEnum>(0))); in TEST()
497 EXPECT_TRUE(IsKnownEnumValue(static_cast<BasicEnum>(1))); in TEST()
498 EXPECT_FALSE(IsKnownEnumValue(static_cast<BasicEnum>(2))); in TEST()
499 EXPECT_FALSE(IsKnownEnumValue(static_cast<BasicEnum>(9))); in TEST()
501 EXPECT_TRUE(IsKnownEnumValue(static_cast<BasicEnum>(10))); in TEST()
[all …]
/external/libchrome/mojo/public/interfaces/bindings/tests/
Dvalidation_test_interfaces.mojom116 enum BasicEnum {