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
10
class
CJX_ObjectEmbedderTest
:
public
XFAJSEmbedderTest
{};
11
12
// Should not crash, but document is not valid.
13
TEST_F
(
CJX_ObjectEmbedderTest
,
Bug1327884
) {
14
ASSERT_FALSE(OpenDocument(
"bug_1327884.pdf"
));
15
}
16
17
// Should not CHECK(), but document is uninteresting.
18
TEST_F
(
CJX_ObjectEmbedderTest
,
Bug1333298
) {
19
ASSERT_TRUE(OpenDocument(
"bug_1333298.pdf"
));
20
}
TEST_F
TEST_F(CJX_ObjectEmbedderTest, Bug1327884)
Definition
cjx_object_embeddertest.cpp:13
CJX_ObjectEmbedderTest
Definition
cjx_object_embeddertest.cpp:10
XFAJSEmbedderTest
Definition
xfa_js_embedder_test.h:19
qtwebengine
src
3rdparty
chromium
third_party
pdfium
fxjs
xfa
cjx_object_embeddertest.cpp
Generated on Sat Sep 21 2024 00:59:48 for Qt by
1.12.0