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

Unified Diff: Source/platform/text/BidiResolverTest.cpp

Issue 58383002: Update BidiResolver's max level depth to 125 per tr9r29 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated per leviw's review Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/text/BidiResolver.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/text/BidiResolverTest.cpp
diff --git a/Source/platform/text/BidiResolverTest.cpp b/Source/platform/text/BidiResolverTest.cpp
index 9f24a781a02f6a48b0ea88c0115daeddae0049b8..c7a73c94cc4eb39610546d02df96da9e1779dbf7 100644
--- a/Source/platform/text/BidiResolverTest.cpp
+++ b/Source/platform/text/BidiResolverTest.cpp
@@ -52,7 +52,7 @@ TEST(BidiResolver, Basic)
bidiResolver.setPositionIgnoringNestedIsolates(TextRunIterator(&run, 0));
TextDirection direction = bidiResolver.determineParagraphDirectionality(&hasStrongDirectionality);
EXPECT_TRUE(hasStrongDirectionality);
- EXPECT_EQ(direction, LTR);
+ EXPECT_EQ(LTR, direction);
}
class BidiTestRunner {
@@ -238,11 +238,11 @@ TEST(BidiResolver, BidiTest_txt)
// The unittest harness only pays attention to GTest output, so we verify
// that the tests behaved as expected:
- EXPECT_EQ(runner.m_testsRun, 352098u);
- EXPECT_EQ(runner.m_testsSkipped, 418143u);
- EXPECT_EQ(runner.m_ignoredCharFailures, 0u);
- EXPECT_EQ(runner.m_levelFailures, 44887u);
- EXPECT_EQ(runner.m_orderFailures, 19153u);
+ EXPECT_EQ(352098u, runner.m_testsRun);
+ EXPECT_EQ(418143u, runner.m_testsSkipped);
+ EXPECT_EQ(0u, runner.m_ignoredCharFailures);
+ EXPECT_EQ(44882u, runner.m_levelFailures);
+ EXPECT_EQ(19151u, runner.m_orderFailures);
}
}
« no previous file with comments | « Source/platform/text/BidiResolver.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698