Lines Matching refs:expected_len
291 static const size_t expected_len = sizeof(expected_url); in TEST_F() local
304 EXPECT_EQ(static_cast<int>(expected_len - 1), in TEST_F()
305 FPDFLink_GetURL(pagelink, 0, fixed_buffer, expected_len - 1)); in TEST_F()
307 check_unsigned_shorts(expected_url, fixed_buffer, expected_len - 1)); in TEST_F()
308 EXPECT_EQ(0xbdbd, fixed_buffer[expected_len - 1]); in TEST_F()
312 EXPECT_EQ(static_cast<int>(expected_len), in TEST_F()
313 FPDFLink_GetURL(pagelink, 0, fixed_buffer, expected_len)); in TEST_F()
314 EXPECT_TRUE(check_unsigned_shorts(expected_url, fixed_buffer, expected_len)); in TEST_F()
315 EXPECT_EQ(0u, fixed_buffer[expected_len - 1]); in TEST_F()
316 EXPECT_EQ(0xbdbd, fixed_buffer[expected_len]); in TEST_F()
320 EXPECT_EQ(static_cast<int>(expected_len), in TEST_F()
322 EXPECT_TRUE(check_unsigned_shorts(expected_url, fixed_buffer, expected_len)); in TEST_F()
323 EXPECT_EQ(0u, fixed_buffer[expected_len - 1]); in TEST_F()
324 EXPECT_EQ(0xbdbd, fixed_buffer[expected_len]); in TEST_F()