Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fpdf_render_pattern_embeddertest.cpp
Go to the documentation of this file.
1// Copyright 2015 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "public/cpp/fpdf_scopers.h"
6#include "testing/embedder_test.h"
7#include "testing/embedder_test_constants.h"
8#include "testing/gtest/include/gtest/gtest.h"
9
11
13 // Test shading where object is a dictionary instead of a stream.
14 ASSERT_TRUE(OpenDocument("bug_547706.pdf"));
15 FPDF_PAGE page = LoadPage(0);
16 ASSERT_TRUE(page);
17 ScopedFPDFBitmap bitmap = RenderLoadedPage(page);
18 CompareBitmap(bitmap.get(), 612, 792, pdfium::kBlankPage612By792Checksum);
19 UnloadPage(page);
20}
TEST_F(FPDFRenderPatternEmbedderTest, LoadError_547706)
const char kBlankPage612By792Checksum[]