Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Side by Side Diff: fpdfsdk/fpdfview_embeddertest.cpp

Issue 1799773002: Move fpdfsdk/src up to fpdfsdk/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/fpdfview_c_api_test.c ('k') | fpdfsdk/fpdfxfa/fpdfxfa_app.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 PDFium Authors. All rights reserved. 1 // Copyright 2015 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <limits> 5 #include <limits>
6 #include <string> 6 #include <string>
7 7
8 #include "fpdfsdk/src/fpdfview_c_api_test.h" 8 #include "fpdfsdk/fpdfview_c_api_test.h"
9 #include "public/fpdfview.h" 9 #include "public/fpdfview.h"
10 #include "testing/embedder_test.h" 10 #include "testing/embedder_test.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 TEST(fpdf, CApiTest) { 13 TEST(fpdf, CApiTest) {
14 EXPECT_TRUE(CheckPDFiumCApi()); 14 EXPECT_TRUE(CheckPDFiumCApi());
15 } 15 }
16 16
17 class FPDFViewEmbeddertest : public EmbedderTest {}; 17 class FPDFViewEmbeddertest : public EmbedderTest {};
18 18
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 // The test should pass when there is no infinite recursion in 238 // The test should pass when there is no infinite recursion in
239 // CPDF_SyntaxParser::GetString(). 239 // CPDF_SyntaxParser::GetString().
240 TEST_F(FPDFViewEmbeddertest, Hang_355) { 240 TEST_F(FPDFViewEmbeddertest, Hang_355) {
241 EXPECT_FALSE(OpenDocument("bug_355.pdf")); 241 EXPECT_FALSE(OpenDocument("bug_355.pdf"));
242 } 242 }
243 // The test should pass even when the file has circular references to pages. 243 // The test should pass even when the file has circular references to pages.
244 TEST_F(FPDFViewEmbeddertest, Hang_360) { 244 TEST_F(FPDFViewEmbeddertest, Hang_360) {
245 EXPECT_FALSE(OpenDocument("bug_360.pdf")); 245 EXPECT_FALSE(OpenDocument("bug_360.pdf"));
246 } 246 }
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfview_c_api_test.c ('k') | fpdfsdk/fpdfxfa/fpdfxfa_app.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698