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

Side by Side Diff: chrome/renderer/spellchecker/spellcheck_unittest.cc

Issue 6388005: Revert r72606, except for the DEPS roll. It's redding the tree. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/spellcheck_common.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium 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 "webkit/glue/webkit_glue.h" 5 #include "webkit/glue/webkit_glue.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 L"\x03C4\x03B9\x03C2 " 404 L"\x03C4\x03B9\x03C2 "
405 L"\x03C0\x03BB\x03B7\x03C1\x03BF\x03C6\x03BF\x03C1\x03AF\x03B5\x03C2 " 405 L"\x03C0\x03BB\x03B7\x03C1\x03BF\x03C6\x03BF\x03C1\x03AF\x03B5\x03C2 "
406 L"\x03C4\x03BF\x03C5 \x03BA\x03CC\x03C3\x03BC\x03BF\x03C5 " 406 L"\x03C4\x03BF\x03C5 \x03BA\x03CC\x03C3\x03BC\x03BF\x03C5 "
407 L"\x03BA\x03B1\x03B9 \x03BD\x03B1 \x03C4\x03B9\x03C2 " 407 L"\x03BA\x03B1\x03B9 \x03BD\x03B1 \x03C4\x03B9\x03C2 "
408 L"\x03BA\x03B1\x03B8\x03B9\x03C3\x03C4\x03AC " 408 L"\x03BA\x03B1\x03B8\x03B9\x03C3\x03C4\x03AC "
409 L"\x03C0\x03C1\x03BF\x03C3\x03B2\x03AC\x03C3\x03B9\x03BC\x03B5\x03C2 " 409 L"\x03C0\x03C1\x03BF\x03C3\x03B2\x03AC\x03C3\x03B9\x03BC\x03B5\x03C2 "
410 L"\x03BA\x03B1\x03B9 \x03C7\x03C1\x03AE\x03C3\x03B9\x03BC\x03B5\x03C2." 410 L"\x03BA\x03B1\x03B9 \x03C7\x03C1\x03AE\x03C3\x03B9\x03BC\x03B5\x03C2."
411 }, { 411 }, {
412 // English (Australia) 412 // English (Australia)
413 "en-AU", 413 "en-AU",
414 L"Google's mission is to organise the world's information and make it " 414 // L"Google's " - to be added.
415 L"mission is to organise the world's information and make it "
415 L"universally accessible and useful." 416 L"universally accessible and useful."
416 }, { 417 }, {
417 // English (United Kingdom) 418 // English (United Kingdom)
418 "en-GB", 419 "en-GB",
419 L"Google's mission is to organise the world's information and make it " 420 // L"Google's " - to be added.
421 L"mission is to organise the world's information and make it "
420 L"universally accessible and useful." 422 L"universally accessible and useful."
421 }, { 423 }, {
422 // English (United States) 424 // English (United States)
423 "en-US", 425 "en-US",
424 L"Google's mission is to organize the world's information and make it " 426 L"Google's mission is to organize the world's information and make it "
425 L"universally accessible and useful." 427 L"universally accessible and useful."
426 }, { 428 }, {
427 // Bulgarian 429 // Bulgarian
428 "bg-BG", 430 "bg-BG",
429 L"\x041c\x0438\x0441\x0438\x044f\x0442\x0430 " 431 L"\x041c\x0438\x0441\x0438\x044f\x0442\x0430 "
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 UTF8ToUTF16(kTestCases[i].expected_result)); 692 UTF8ToUTF16(kTestCases[i].expected_result));
691 string16 autocorrect_word = spell_check()->GetAutoCorrectionWord( 693 string16 autocorrect_word = spell_check()->GetAutoCorrectionWord(
692 misspelled_word, 0); 694 misspelled_word, 0);
693 695
694 // Check for spelling. 696 // Check for spelling.
695 EXPECT_EQ(expected_autocorrect_word, autocorrect_word); 697 EXPECT_EQ(expected_autocorrect_word, autocorrect_word);
696 } 698 }
697 } 699 }
698 700
699 } // namespace 701 } // namespace
OLDNEW
« no previous file with comments | « chrome/common/spellcheck_common.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698