Lines Matching refs:expected_info
77 const ChipInfo expected_info{"name", "label", 31}; in TEST_F() local
79 ASSERT_LE(expected_info.name.size(), sizeof(info.name)); in TEST_F()
80 strcpy(info.name, expected_info.name.c_str()); in TEST_F()
81 ASSERT_LE(expected_info.label.size(), sizeof(info.label)); in TEST_F()
82 strcpy(info.label, expected_info.label.c_str()); in TEST_F()
83 info.lines = expected_info.lines; in TEST_F()
88 EXPECT_EQ(expected_info.name, retrieved_info.name); in TEST_F()
89 EXPECT_EQ(expected_info.label, retrieved_info.label); in TEST_F()
90 EXPECT_EQ(expected_info.lines, retrieved_info.lines); in TEST_F()
103 const LineInfo expected_info{GPIOLINE_FLAG_ACTIVE_LOW, "name", "consumer"}; in TEST_F() local
106 ASSERT_LE(expected_info.name.size(), sizeof(info.name)); in TEST_F()
107 strcpy(info.name, expected_info.name.c_str()); in TEST_F()
108 ASSERT_LE(expected_info.consumer.size(), sizeof(info.consumer)); in TEST_F()
109 strcpy(info.consumer, expected_info.consumer.c_str()); in TEST_F()
121 EXPECT_EQ(expected_info.name, retrieved_info.name); in TEST_F()
122 EXPECT_EQ(expected_info.consumer, retrieved_info.consumer); in TEST_F()