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

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

Issue 2879903002: blink style: Update BidiTestHarness (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/text/BidiTestHarness.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/text/BidiResolverTest.cpp
diff --git a/third_party/WebKit/Source/platform/text/BidiResolverTest.cpp b/third_party/WebKit/Source/platform/text/BidiResolverTest.cpp
index 62eea87d7d9332a11e74781b8baa3a849f9f0b9f..eedbc2fa165677ca6f65c850ce04bf356e1f23e4 100644
--- a/third_party/WebKit/Source/platform/text/BidiResolverTest.cpp
+++ b/third_party/WebKit/Source/platform/text/BidiResolverTest.cpp
@@ -183,13 +183,13 @@ void BidiTestRunner::RunTest(const std::basic_string<UChar>& input,
TextRun text_run(input.data(), input.size());
switch (paragraph_direction) {
- case bidi_test::DirectionAutoLTR:
+ case bidi_test::kDirectionAutoLTR:
text_run.SetDirection(DetermineParagraphDirectionality(text_run));
break;
- case bidi_test::DirectionLTR:
+ case bidi_test::kDirectionLTR:
text_run.SetDirection(TextDirection::kLtr);
break;
- case bidi_test::DirectionRTL:
+ case bidi_test::kDirectionRTL:
text_run.SetDirection(TextDirection::kRtl);
break;
default:
@@ -206,7 +206,7 @@ void BidiTestRunner::RunTest(const std::basic_string<UChar>& input,
std::ostringstream error_context;
error_context << ", line " << line_number << " \"" << line << "\"";
error_context << " context: "
- << bidi_test::nameFromParagraphDirection(paragraph_direction);
+ << bidi_test::NameFromParagraphDirection(paragraph_direction);
std::vector<int> actual_order;
std::vector<int> actual_levels;
@@ -273,7 +273,7 @@ TEST(BidiResolver, DISABLED_BidiTest_txt) {
std::ifstream bidi_test_file(bidi_test_path.c_str());
EXPECT_TRUE(bidi_test_file.is_open());
bidi_test::Harness<BidiTestRunner> harness(runner);
- harness.parse(bidi_test_file);
+ harness.Parse(bidi_test_file);
bidi_test_file.close();
if (runner.tests_skipped_)
@@ -305,7 +305,7 @@ TEST(BidiResolver, DISABLED_BidiCharacterTest_txt) {
std::ifstream bidi_test_file(bidi_test_path.c_str());
EXPECT_TRUE(bidi_test_file.is_open());
bidi_test::CharacterHarness<BidiTestRunner> harness(runner);
- harness.parse(bidi_test_file);
+ harness.Parse(bidi_test_file);
bidi_test_file.close();
if (runner.tests_skipped_)
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/text/BidiTestHarness.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698