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
cjx_object_embeddertest.cpp
Go to the documentation of this file.
1// Copyright 2022 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 "fxjs/xfa/cjx_object.h"
6
7#include "testing/gtest/include/gtest/gtest.h"
8#include "testing/xfa_js_embedder_test.h"
9
11
12// Should not crash, but document is not valid.
14 ASSERT_FALSE(OpenDocument("bug_1327884.pdf"));
15}
16
17// Should not CHECK(), but document is uninteresting.
19 ASSERT_TRUE(OpenDocument("bug_1333298.pdf"));
20}
TEST_F(CJX_ObjectEmbedderTest, Bug1327884)