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

Side by Side Diff: fpdfsdk/fpdftext_embeddertest.cpp

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (Closed)
Patch Set: Rebase to master Created 4 years, 2 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/fpdfsave_embeddertest.cpp ('k') | fpdfsdk/fpdfview.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 "core/fxcrt/include/fx_basic.h" 5 #include "core/fxcrt/fx_basic.h"
6 #include "public/fpdf_text.h" 6 #include "public/fpdf_text.h"
7 #include "public/fpdfview.h" 7 #include "public/fpdfview.h"
8 #include "testing/embedder_test.h" 8 #include "testing/embedder_test.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "testing/test_support.h" 10 #include "testing/test_support.h"
11 11
12 namespace { 12 namespace {
13 13
14 bool check_unsigned_shorts(const char* expected, 14 bool check_unsigned_shorts(const char* expected,
15 const unsigned short* actual, 15 const unsigned short* actual,
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 396
397 FPDF_TEXTPAGE textpage = FPDFText_LoadPage(page); 397 FPDF_TEXTPAGE textpage = FPDFText_LoadPage(page);
398 EXPECT_TRUE(textpage); 398 EXPECT_TRUE(textpage);
399 399
400 ASSERT_EQ(1, FPDFText_CountChars(textpage)); 400 ASSERT_EQ(1, FPDFText_CountChars(textpage));
401 EXPECT_EQ(static_cast<unsigned int>(0), FPDFText_GetUnicode(textpage, 0)); 401 EXPECT_EQ(static_cast<unsigned int>(0), FPDFText_GetUnicode(textpage, 0));
402 402
403 FPDFText_ClosePage(textpage); 403 FPDFText_ClosePage(textpage);
404 UnloadPage(page); 404 UnloadPage(page);
405 } 405 }
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfsave_embeddertest.cpp ('k') | fpdfsdk/fpdfview.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698