/dports/www/chromium-legacy/chromium-88.0.4324.182/components/image_fetcher/core/ |
H A D | image_fetcher_impl_unittest.cc | 34 constexpr char kImageData[] = "data"; variable 76 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F() 79 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() 90 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F() 93 EXPECT_CALL(data_callback1, Run(kImageData, _)); in TEST_F() 102 EXPECT_CALL(data_callback2, Run(kImageData, _)); in TEST_F() 112 EXPECT_CALL(data_callback3, Run(kImageData, _)); in TEST_F() 154 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F() 156 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() 168 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() [all …]
|
H A D | cached_image_fetcher_unittest.cc | 50 constexpr char kImageData[] = "data"; variable 98 image_cache_->SaveImage(ImageUrl().spec(), kImageData, in CreateCachedImageFetcher() 172 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F() 180 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() 197 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F() 205 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() 224 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F() 227 test_url_loader_factory()->AddResponse(ImageUrl().spec(), kImageData); in TEST_F() 355 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() 366 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() [all …]
|
H A D | reduced_mode_image_fetcher_unittest.cc | 48 constexpr char kImageData[] = "data"; variable 92 image_cache_->SaveImage(ImageUrl().spec(), kImageData, in CreateReducedModeImageFetcher() 121 EXPECT_CALL(data_callback, Run(kImageData, _)); in VerifyCacheHit() 168 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F() 176 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/image_fetcher/core/ |
H A D | image_fetcher_impl_unittest.cc | 34 constexpr char kImageData[] = "data"; variable 76 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F() 79 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() 90 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F() 93 EXPECT_CALL(data_callback1, Run(kImageData, _)); in TEST_F() 102 EXPECT_CALL(data_callback2, Run(kImageData, _)); in TEST_F() 112 EXPECT_CALL(data_callback3, Run(kImageData, _)); in TEST_F() 154 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F() 156 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() 168 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() [all …]
|
H A D | cached_image_fetcher_unittest.cc | 50 constexpr char kImageData[] = "data"; variable 98 image_cache_->SaveImage(ImageUrl().spec(), kImageData, in CreateCachedImageFetcher() 171 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F() 178 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() 195 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F() 202 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() 221 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F() 223 test_url_loader_factory()->AddResponse(ImageUrl().spec(), kImageData); in TEST_F() 351 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() 362 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F() [all …]
|
H A D | reduced_mode_image_fetcher_unittest.cc | 48 constexpr char kImageData[] = "data"; variable 92 image_cache_->SaveImage(ImageUrl().spec(), kImageData, in CreateReducedModeImageFetcher() 120 EXPECT_CALL(data_callback, Run(kImageData, _)); in VerifyCacheHit() 167 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F() 174 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/image_fetcher/core/cache/ |
H A D | image_cache_unittest.cc | 39 constexpr char kImageData[] = "data"; variable 203 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F() 208 LoadImage(kImageUrl, kImageData); in TEST_F() 225 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F() 238 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F() 241 LoadImage(kImageUrl, kImageData); in TEST_F() 249 LoadImage(kImageUrl, kImageData); in TEST_F() 263 LoadImage(kImageUrl, kImageData); in TEST_F() 272 LoadImage(kImageUrl, kImageData); in TEST_F() 330 LoadImage(kImageUrl, kImageData); in TEST_F() [all …]
|
H A D | image_data_store_disk_unittest.cc | 26 constexpr char kImageData[] = "data"; variable 59 AssertDataPresent(key, kImageData, needs_transcoding); in AssertDataPresent() 74 data_store()->SaveImage(key, kImageData, needs_transcoding); in SaveData() 190 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fxcodec/gif/ |
H A D | cfx_lzwdecompressor_unittest.cpp | 136 static constexpr uint8_t kImageData[] = {0x84, 0x8F, 0xA9, 0xCB, in TEST() local 138 uint32_t image_size = FX_ArraySize(kImageData); in TEST() 156 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST() 168 static constexpr uint8_t kImageData[] = { in TEST() local 171 uint32_t image_size = FX_ArraySize(kImageData); in TEST() 190 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST() 203 static constexpr uint8_t kImageData[] = { in TEST() local 207 uint32_t image_size = FX_ArraySize(kImageData); in TEST() 215 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/image_fetcher/core/cache/ |
H A D | image_cache_unittest.cc | 38 constexpr char kImageData[] = "data"; variable 189 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F() 193 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F() 217 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F() 229 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F() 232 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F() 246 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F() 266 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F() 281 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F() 346 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F() [all …]
|
H A D | image_data_store_disk_unittest.cc | 26 constexpr char kImageData[] = "data"; variable 59 AssertDataPresent(key, kImageData, needs_transcoding); in AssertDataPresent() 74 data_store()->SaveImage(key, kImageData, needs_transcoding); in SaveData() 190 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fxcodec/gif/ |
H A D | cfx_lzwdecompressor_unittest.cpp | 139 static constexpr uint8_t kImageData[] = {0x84, 0x8F, 0xA9, 0xCB, in TEST() local 141 uint32_t image_size = pdfium::size(kImageData); in TEST() 159 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST() 171 static constexpr uint8_t kImageData[] = { in TEST() local 174 uint32_t image_size = pdfium::size(kImageData); in TEST() 193 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST() 206 static constexpr uint8_t kImageData[] = { in TEST() local 210 uint32_t image_size = pdfium::size(kImageData); in TEST() 218 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/offline_pages/ |
H A D | visuals_decoder_impl_unittest.cc | 22 const char kImageData[] = "abc123"; variable 40 EXPECT_CALL(*image_decoder, DecodeImage(kImageData, _, _)) in TEST_F() 51 visuals_decoder->DecodeAndCropImage(kImageData, complete_callback.Get()); in TEST_F() 56 EXPECT_CALL(*image_decoder, DecodeImage(kImageData, _, _)) in TEST_F() 65 visuals_decoder->DecodeAndCropImage(kImageData, complete_callback.Get()); in TEST_F()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/feed/core/ |
H A D | feed_image_manager_unittest.cc | 37 const char kImageData[] = "pie image"; variable 102 decoder->SetExpectedData(kImageData); in SetUp() 170 image_database()->SaveImage(kImageURL, kImageData); in TEST_F() 189 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F() 202 EXPECT_CALL(*this, OnImageLoaded(kImageData)); in TEST_F() 226 test_url_loader_factory()->AddResponse(kImageURL, kImageData, in TEST_F() 252 image_database()->SaveImage(kImageURL, kImageData); in TEST_F() 255 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F() 314 image_database()->SaveImage(kImageURL, kImageData); in TEST_F() 332 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/ntp_snippets/remote/ |
H A D | cached_image_fetcher_unittest.cc | 39 const char kImageData[] = "data"; variable 162 database()->SaveImage(kSnippetID, kImageData); in TEST_P() 167 Fetch(kImageData, true); in TEST_P() 173 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_P() 174 Fetch(kImageData, true); in TEST_P() 179 Fetch(kImageData, true); in TEST_P()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/ntp_snippets/remote/ |
H A D | cached_image_fetcher_unittest.cc | 39 const char kImageData[] = "data"; variable 162 database()->SaveImage(kSnippetID, kImageData); in TEST_P() 167 Fetch(kImageData, true); in TEST_P() 173 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_P() 174 Fetch(kImageData, true); in TEST_P() 179 Fetch(kImageData, true); in TEST_P()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ios/chrome/browser/web/ |
H A D | image_fetch_tab_helper_unittest.mm | 29 const char kImageData[] = "abc"; 61 status.decoded_body_length = strlen(kImageData); 63 kImageData, status); 72 return [base::SysUTF8ToNSString(kImageData) 84 // Inject fake |__gCrWeb.imageFetch.getImageData| that returns |kImageData| 92 kImageData]); 114 // Inject fake |__gCrWeb.imageFetch.getImageData| that returns |kImageData| 122 kImageData]);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/feedback/ |
H A D | feedback_data_unittest.cc | 28 constexpr char kImageData[] = "Image Data"; variable 110 data_->set_image(kImageData); in TEST_F() 122 data_->set_image(kImageData); in TEST_F()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/page_image_annotation/content/renderer/ |
H A D | content_page_annotator_driver_unittest.cc | 60 constexpr char kImageData[] = "image/png;base64,ABCDEFGHIJKLMNOPQRSTUVWXYZ"; in TEST() local 67 page_url, base::StrCat({"data:", kImageData})), in TEST()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/page_image_annotation/content/renderer/ |
H A D | content_page_annotator_driver_unittest.cc | 60 constexpr char kImageData[] = "image/png;base64,ABCDEFGHIJKLMNOPQRSTUVWXYZ"; in TEST() local 67 page_url, base::StrCat({"data:", kImageData})), in TEST()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/feedback/ |
H A D | feedback_data_unittest.cc | 28 constexpr char kImageData[] = "Image Data"; variable 99 data_->set_image(kImageData); in TEST_F()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/dom_distiller/core/ |
H A D | distiller_unittest.cc | 55 const char* kImageData[kTotalImages] = {"abcde", "12345", "VWXYZ"}; variable 212 EXPECT_EQ(kImageData[image_ids_for_page[img_num]], in VerifyArticleProtoMatchesMultipageData() 241 responses_[kImageURLs[0]] = std::string(kImageData[0]); in TestDistillerURLFetcher() 242 responses_[kImageURLs[1]] = std::string(kImageData[1]); in TestDistillerURLFetcher() 444 EXPECT_EQ(kImageData[0], first_page.image(0).data()); in TEST_F() 452 EXPECT_EQ(kImageData[1], first_page.image(1).data()); in TEST_F()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/dom_distiller/core/ |
H A D | distiller_unittest.cc | 59 const char* kImageData[kTotalImages] = {"abcde", "12345", "VWXYZ"}; variable 214 EXPECT_EQ(kImageData[image_ids_for_page[img_num]], in VerifyArticleProtoMatchesMultipageData() 243 responses_[kImageURLs[0]] = string(kImageData[0]); in TestDistillerURLFetcher() 244 responses_[kImageURLs[1]] = string(kImageData[1]); in TestDistillerURLFetcher() 446 EXPECT_EQ(kImageData[0], first_page.image(0).data()); in TEST_F() 454 EXPECT_EQ(kImageData[1], first_page.image(1).data()); in TEST_F()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/paint/ |
H A D | paint_op_writer.cc | 251 Write(static_cast<uint8_t>(PaintOp::SerializedImageType::kImageData)); in Write()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/paint/ |
H A D | paint_op_writer.cc | 251 Write(static_cast<uint8_t>(PaintOp::SerializedImageType::kImageData)); in Write()
|