Lines Matching refs:symbols
412 ASSERT_THAT(enum_attr->symbols, SizeIs(3)); in TEST_F()
414 ASSERT_TRUE(enum_attr->symbols[0].symbol.name); in TEST_F()
415 EXPECT_THAT(enum_attr->symbols[0].symbol.name.value().entry, Eq("bar")); in TEST_F()
416 EXPECT_THAT(enum_attr->symbols[0].value, Eq(0u)); in TEST_F()
418 ASSERT_TRUE(enum_attr->symbols[1].symbol.name); in TEST_F()
419 EXPECT_THAT(enum_attr->symbols[1].symbol.name.value().entry, Eq("bat")); in TEST_F()
420 EXPECT_THAT(enum_attr->symbols[1].value, Eq(1u)); in TEST_F()
422 ASSERT_TRUE(enum_attr->symbols[2].symbol.name); in TEST_F()
423 EXPECT_THAT(enum_attr->symbols[2].symbol.name.value().entry, Eq("baz")); in TEST_F()
424 EXPECT_THAT(enum_attr->symbols[2].value, Eq(2u)); in TEST_F()
439 ASSERT_THAT(flag_attr->symbols, SizeIs(3)); in TEST_F()
441 ASSERT_TRUE(flag_attr->symbols[0].symbol.name); in TEST_F()
442 EXPECT_THAT(flag_attr->symbols[0].symbol.name.value().entry, Eq("bar")); in TEST_F()
443 EXPECT_THAT(flag_attr->symbols[0].value, Eq(0u)); in TEST_F()
445 ASSERT_TRUE(flag_attr->symbols[1].symbol.name); in TEST_F()
446 EXPECT_THAT(flag_attr->symbols[1].symbol.name.value().entry, Eq("bat")); in TEST_F()
447 EXPECT_THAT(flag_attr->symbols[1].value, Eq(1u)); in TEST_F()
449 ASSERT_TRUE(flag_attr->symbols[2].symbol.name); in TEST_F()
450 EXPECT_THAT(flag_attr->symbols[2].symbol.name.value().entry, Eq("baz")); in TEST_F()
451 EXPECT_THAT(flag_attr->symbols[2].value, Eq(2u)); in TEST_F()
791 ASSERT_THAT(attr->symbols, SizeIs(1)); in TEST_F()
792 EXPECT_THAT(attr->symbols[0].symbol.GetComment(), Eq("The very first")); in TEST_F()