blob: d42c4ee8b032d369c30d61e2e783c9a898c2e548 [file] [log] [blame] [edit]
// 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::SkiaVariantIsDefaultRenderer())
return "a31381406d0b95049e418720750b78dd";
#if BUILDFLAG(IS_APPLE)
return "d243b5d64752be0f45b86df7bd2e2708";
#else
return "cdde6c161679ab10b07c38c1ef04b7e8";
#endif
}
const char kBlankPage612By792Checksum[] = "1940568c9ba33bac5d0b1ee9558c76b3";
const char* Bug890322Checksum() {
if (CFX_DefaultRenderDevice::SkiaVariantIsDefaultRenderer())
return "793689536cf64fe792c2f241888c0cf3";
return "6c674642154408e877d88c6c082d67e9";
}
const char* HelloWorldChecksum() {
#if BUILDFLAG(IS_APPLE)
if (!CFX_DefaultRenderDevice::SkiaVariantIsDefaultRenderer())
return "6eef7237f7591f07616e238422086737";
#endif
return "c1c548442e0e0f949c5550d89bf8ae3b";
}
const char* HelloWorldRemovedChecksum() {
#if BUILDFLAG(IS_APPLE)
if (!CFX_DefaultRenderDevice::SkiaVariantIsDefaultRenderer())
return "6e1cae48a2e35c521dee4ca502f48af6";
#endif
return "4a9b80f675f7f3bf2da1b02f12449e4b";
}
const char* ManyRectanglesChecksum() {
if (CFX_DefaultRenderDevice::SkiaVariantIsDefaultRenderer())
return "4e7e280c1597222afcb0ee3bb90ec119";
return "b0170c575b65ecb93ebafada0ff0f038";
}
const char* RectanglesChecksum() {
if (CFX_DefaultRenderDevice::SkiaVariantIsDefaultRenderer())
return "b4e411a6b5ffa59a50efede2efece597";
return "0a90de37f52127619c3dfb642b5fa2fe";
}
const char* TextFormChecksum() {
if (CFX_DefaultRenderDevice::SkiaVariantIsDefaultRenderer())
return "e6d2eb75f18d773f0dad938b1bb22e23";
#if BUILDFLAG(IS_APPLE)
return "fa2bf756942a950101fc147fc4ef3f82";
#else
return "6f86fe1dbed5965d91aec6e0b829e29f";
#endif
}
} // namespace pdfium