Lines Matching defs:expected_url
287 static const char expected_url[] = "http://example.com?q=foo";
295 EXPECT_TRUE(check_unsigned_shorts(expected_url, fixed_buffer, 1));
301 sizeof(expected_url) - 1,
302 FPDFLink_GetURL(pagelink, 0, fixed_buffer, sizeof(expected_url) - 1));
303 EXPECT_TRUE(check_unsigned_shorts(expected_url, fixed_buffer,
304 sizeof(expected_url) - 1));
305 EXPECT_EQ(0xbdbd, fixed_buffer[sizeof(expected_url) - 1]);
309 EXPECT_EQ(sizeof(expected_url),
310 FPDFLink_GetURL(pagelink, 0, fixed_buffer, sizeof(expected_url)));
312 check_unsigned_shorts(expected_url, fixed_buffer, sizeof(expected_url)));
313 EXPECT_EQ(0u, fixed_buffer[sizeof(expected_url) - 1]);
314 EXPECT_EQ(0xbdbd, fixed_buffer[sizeof(expected_url)]);
318 EXPECT_EQ(sizeof(expected_url),
321 check_unsigned_shorts(expected_url, fixed_buffer, sizeof(expected_url)));
322 EXPECT_EQ(0u, fixed_buffer[sizeof(expected_url) - 1]);
323 EXPECT_EQ(0xbdbd, fixed_buffer[sizeof(expected_url)]);