| // Copyright 2020 The PDFium Authors | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #include "testing/embedder_test_constants.h" | |
| #include "build/build_config.h" | |
| #include "core/fxge/cfx_defaultrenderdevice.h" | |
| namespace pdfium { | |
| const char* AnnotationStampWithApChecksum() { | |
| if (CFX_DefaultRenderDevice::SkiaIsDefaultRenderer()) | |
| return "a31381406d0b95049e418720750b78dd"; | |
| #if BUILDFLAG(IS_APPLE) | |
| return "0521eaa52fe2aa43aafd3e4495f63f0b"; | |
| #else | |
| return "5f19ddad9d48f5b7b87ee7d92f577db6"; | |
| #endif | |
| } | |
| const char kBlankPage612By792Checksum[] = "1940568c9ba33bac5d0b1ee9558c76b3"; | |
| const char* Bug890322Checksum() { | |
| if (CFX_DefaultRenderDevice::SkiaIsDefaultRenderer()) | |
| return "793689536cf64fe792c2f241888c0cf3"; | |
| return "6c674642154408e877d88c6c082d67e9"; | |
| } | |
| const char* HelloWorldChecksum() { | |
| #if BUILDFLAG(IS_APPLE) | |
| if (!CFX_DefaultRenderDevice::SkiaIsDefaultRenderer()) | |
| return "6eef7237f7591f07616e238422086737"; | |
| #endif | |
| return "c1c548442e0e0f949c5550d89bf8ae3b"; | |
| } | |
| const char* HelloWorldRemovedChecksum() { | |
| #if BUILDFLAG(IS_APPLE) | |
| if (!CFX_DefaultRenderDevice::SkiaIsDefaultRenderer()) | |
| return "6e1cae48a2e35c521dee4ca502f48af6"; | |
| #endif | |
| return "4a9b80f675f7f3bf2da1b02f12449e4b"; | |
| } | |
| const char* ManyRectanglesChecksum() { | |
| if (CFX_DefaultRenderDevice::SkiaIsDefaultRenderer()) | |
| return "4e7e280c1597222afcb0ee3bb90ec119"; | |
| return "b0170c575b65ecb93ebafada0ff0f038"; | |
| } | |
| const char* RectanglesChecksum() { | |
| if (CFX_DefaultRenderDevice::SkiaIsDefaultRenderer()) | |
| return "b4e411a6b5ffa59a50efede2efece597"; | |
| return "0a90de37f52127619c3dfb642b5fa2fe"; | |
| } | |
| const char* TextFormChecksum() { | |
| if (CFX_DefaultRenderDevice::SkiaIsDefaultRenderer()) | |
| return "e6d2eb75f18d773f0dad938b1bb22e23"; | |
| #if BUILDFLAG(IS_APPLE) | |
| return "fa2bf756942a950101fc147fc4ef3f82"; | |
| #else | |
| return "6f86fe1dbed5965d91aec6e0b829e29f"; | |
| #endif | |
| } | |
| } // namespace pdfium |