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

Side by Side Diff: fpdfsdk/fpdfdoc_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/fpdfdoc.cpp ('k') | fpdfsdk/fpdfdoc_unittest.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 <string> 5 #include <string>
6 6
7 #include "core/include/fxcrt/fx_string.h" 7 #include "core/include/fxcrt/fx_string.h"
8 #include "public/fpdf_doc.h" 8 #include "public/fpdf_doc.h"
9 #include "public/fpdfview.h" 9 #include "public/fpdfview.h"
10 #include "testing/embedder_test.h" 10 #include "testing/embedder_test.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // Check circular bookmarks will not cause infinite loop. 131 // Check circular bookmarks will not cause infinite loop.
132 TEST_F(FPDFDocEmbeddertest, FindBookmarks_bug420) { 132 TEST_F(FPDFDocEmbeddertest, FindBookmarks_bug420) {
133 // Open a file with circular bookmarks. 133 // Open a file with circular bookmarks.
134 EXPECT_TRUE(OpenDocument("bookmarks_circular.pdf")); 134 EXPECT_TRUE(OpenDocument("bookmarks_circular.pdf"));
135 135
136 // Try to find a title. 136 // Try to find a title.
137 std::unique_ptr<unsigned short, pdfium::FreeDeleter> title = 137 std::unique_ptr<unsigned short, pdfium::FreeDeleter> title =
138 GetFPDFWideString(L"anything"); 138 GetFPDFWideString(L"anything");
139 EXPECT_EQ(nullptr, FPDFBookmark_Find(document(), title.get())); 139 EXPECT_EQ(nullptr, FPDFBookmark_Find(document(), title.get()));
140 } 140 }
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfdoc.cpp ('k') | fpdfsdk/fpdfdoc_unittest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698