summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_docpagedata_embeddertest.cpp
blob: 5120b21c561fd0cb04a0cd0ce356d0ba638f13ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2018 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "testing/embedder_test.h"
#include "testing/gtest/include/gtest/gtest.h"

class CPDF_DocPageDataEmbeddertest : public EmbedderTest {};

TEST_F(CPDF_DocPageDataEmbeddertest, Crasher_828206) {
  EXPECT_TRUE(OpenDocument("bug_828206.pdf"));
  FPDF_PAGE page = LoadPage(0);
  ASSERT_TRUE(page);
  RenderLoadedPage(page);
  UnloadPage(page);
}