summaryrefslogtreecommitdiff
path: root/xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp
blob: 5a3059c0f52d810a9a758009e44fae25efaf0c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2015 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 XFAParserImpEmbeddertest : public EmbedderTest {};

TEST_F(XFAParserImpEmbeddertest, Bug_216) {
    EXPECT_TRUE(OpenDocument("testing/resources/bug_216.pdf"));
    FPDF_PAGE page = LoadPage(0);
    EXPECT_NE(nullptr, page);
    UnloadPage(page);
}