| OLD | NEW |
| 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 "core/fxcrt/fx_bidi.h" |
| 6 #include "testing/gtest/include/gtest/gtest.h" | 6 #include "testing/gtest/include/gtest/gtest.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 |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 | 356 |
| 357 ++it; | 357 ++it; |
| 358 ASSERT_FALSE(it == bidi.end()); | 358 ASSERT_FALSE(it == bidi.end()); |
| 359 EXPECT_EQ(0, it->start); | 359 EXPECT_EQ(0, it->start); |
| 360 EXPECT_EQ(0, it->count); | 360 EXPECT_EQ(0, it->count); |
| 361 EXPECT_EQ(CFX_BidiChar::NEUTRAL, it->direction); | 361 EXPECT_EQ(CFX_BidiChar::NEUTRAL, it->direction); |
| 362 | 362 |
| 363 ++it; | 363 ++it; |
| 364 EXPECT_TRUE(it == bidi.end()); | 364 EXPECT_TRUE(it == bidi.end()); |
| 365 } | 365 } |
| OLD | NEW |