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

Side by Side Diff: core/src/fxcrt/fx_bidi_unittest.cpp

Issue 1427633010: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month 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 | « core/src/fxcrt/fx_bidi.cpp ('k') | core/src/fxcrt/fx_extension.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/include/fxcrt/fx_bidi.h"
5 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
6 #include "../../include/fxcrt/fx_bidi.h"
7 7
8 namespace { 8 namespace {
9 9
10 const FX_WCHAR kNeutralChar = 32; 10 const FX_WCHAR kNeutralChar = 32;
11 const FX_WCHAR kLeftChar = 65; 11 const FX_WCHAR kLeftChar = 65;
12 const FX_WCHAR kRightChar = 1424; 12 const FX_WCHAR kRightChar = 1424;
13 13
14 } // namespace 14 } // namespace
15 15
16 TEST(fxcrt, BidiCharEmpty) { 16 TEST(fxcrt, BidiCharEmpty) {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 EXPECT_EQ(4, count); 127 EXPECT_EQ(4, count);
128 128
129 EXPECT_TRUE(bidi.EndChar()); 129 EXPECT_TRUE(bidi.EndChar());
130 dir = bidi.GetBidiInfo(&start, &count); 130 dir = bidi.GetBidiInfo(&start, &count);
131 EXPECT_EQ(CFX_BidiChar::LEFT, dir); 131 EXPECT_EQ(CFX_BidiChar::LEFT, dir);
132 EXPECT_EQ(7, start); 132 EXPECT_EQ(7, start);
133 EXPECT_EQ(1, count); 133 EXPECT_EQ(1, count);
134 134
135 EXPECT_FALSE(bidi.EndChar()); 135 EXPECT_FALSE(bidi.EndChar());
136 } 136 }
OLDNEW
« no previous file with comments | « core/src/fxcrt/fx_bidi.cpp ('k') | core/src/fxcrt/fx_extension.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698