1 // Copyright 2019 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 "testing/gtest/include/gtest/gtest.h" 6 #include "testing/xfa_js_embedder_test.h" 7 8 class CFXJSE_AppEmbedderTest : public XFAJSEmbedderTest {}; 9 10 // Should not crash. TEST_F(CFXJSE_AppEmbedderTest,BUG_1252)11TEST_F(CFXJSE_AppEmbedderTest, BUG_1252) { 12 ASSERT_TRUE(OpenDocument("simple_xfa.pdf")); 13 14 EXPECT_FALSE(Execute("app.activeDocs()")); 15 } 16