summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_function_embeddertest.cpp
blob: 521cc0f8148510d967ba67b73bbd760c5c173c37 (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_FunctionEmbeddertest : public EmbedderTest {};

TEST_F(CPDF_FunctionEmbeddertest, Crasher_830221) {
  EXPECT_TRUE(OpenDocument("bug_830221.pdf"));
  FPDF_PAGE page = LoadPage(0);
  ASSERT_TRUE(page);
  RenderLoadedPage(page);
  UnloadPage(page);
}