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

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

Issue 661460: Uses the new spellchecker dictionaries on Chromium. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 L"Google \x0915\x093E \x092E\x093F\x0936\x0928 " 467 L"Google \x0915\x093E \x092E\x093F\x0936\x0928 "
468 L"\x0926\x0941\x0928\x093F\x092F\x093E \x0915\x0940 " 468 L"\x0926\x0941\x0928\x093F\x092F\x093E \x0915\x0940 "
469 L"\x091C\x093E\x0928\x0915\x093E\x0930\x0940 \x0915\x094B " 469 L"\x091C\x093E\x0928\x0915\x093E\x0930\x0940 \x0915\x094B "
470 L"\x0935\x094D\x092F\x0935\x0938\x094D\x0925\x093F\x0924 " 470 L"\x0935\x094D\x092F\x0935\x0938\x094D\x0925\x093F\x0924 "
471 L"\x0915\x0930\x0928\x093E \x0914\x0930 \x0909\x0938\x0947 " 471 L"\x0915\x0930\x0928\x093E \x0914\x0930 \x0909\x0938\x0947 "
472 L"\x0938\x093E\x0930\x094D\x0935\x092D\x094C\x092E\x093F\x0915 " 472 L"\x0938\x093E\x0930\x094D\x0935\x092D\x094C\x092E\x093F\x0915 "
473 L"\x0930\x0942\x092A \x0938\x0947 \x092A\x0939\x0941\x0901\x091A " 473 L"\x0930\x0942\x092A \x0938\x0947 \x092A\x0939\x0941\x0901\x091A "
474 L"\x092E\x0947\x0902 \x0914\x0930 \x0909\x092A\x092F\x094B\x0917\x0940 " 474 L"\x092E\x0947\x0902 \x0914\x0930 \x0909\x092A\x092F\x094B\x0917\x0940 "
475 L"\x092C\x0928\x093E\x0928\x093E \x0939\x0948." 475 L"\x092C\x0928\x093E\x0928\x093E \x0939\x0948."
476 }, { 476 }, {
477 // Hungarian
478 "hu-HU",
479 L"A Google azt a k\x00FCldet\x00E9st v\x00E1llalta mag\x00E1ra, "
480 L"hogy a vil\x00E1gon fellelhet\x0151 inform\x00E1\x0063i\x00F3kat "
481 L"rendszerezze \x00E9s \x00E1ltal\x00E1nosan el\x00E9rhet\x0151v\x00E9, "
482 L"illetve haszn\x00E1lhat\x00F3v\x00E1 tegye."
483 }, {
477 // Croatian 484 // Croatian
478 "hr-HR", 485 "hr-HR",
479 // L"Googleova " - to be added. 486 // L"Googleova " - to be added.
480 L"je misija organizirati svjetske informacije i u\x010Diniti ih " 487 L"je misija organizirati svjetske informacije i u\x010Diniti ih "
481 // L"univerzalno " - to be added. 488 // L"univerzalno " - to be added.
482 L"pristupa\x010Dnima i korisnima." 489 L"pristupa\x010Dnima i korisnima."
483 }, { 490 }, {
484 // Indonesian 491 // Indonesian
485 "id-ID", 492 "id-ID",
486 L"Misi Google adalah untuk mengelola informasi dunia dan membuatnya " 493 L"Misi Google adalah untuk mengelola informasi dunia dan membuatnya "
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 #endif 549 #endif
543 L"tem por miss\x00E3o organizar a informa\x00E7\x00E3o do " 550 L"tem por miss\x00E3o organizar a informa\x00E7\x00E3o do "
544 L"mundo e " 551 L"mundo e "
545 #if !defined(OS_MACOSX) 552 #if !defined(OS_MACOSX)
546 L"torn\x00E1-la " 553 L"torn\x00E1-la "
547 #endif 554 #endif
548 L"universalmente acess\x00EDvel e \x00FAtil" 555 L"universalmente acess\x00EDvel e \x00FAtil"
549 }, { 556 }, {
550 // Romanian 557 // Romanian
551 "ro-RO", 558 "ro-RO",
552 L"Misiunea Google este de " 559 L"Misiunea Google este de a organiza informa\x021B3iile lumii \x0219i de "
553 // L"a " - to be added. 560 L"a le face accesibile \x0219i utile la nivel universal."
554 L"organiza informa\x0163iile lumii \x015Fi de "
555 // L"a " - to be added.
556 L"le face accesibile \x015Fi utile la nivel universal."
557 }, { 561 }, {
558 // Russian 562 // Russian
559 "ru-RU", 563 "ru-RU",
560 L"\x041C\x0438\x0441\x0441\x0438\x044F Google " 564 L"\x041C\x0438\x0441\x0441\x0438\x044F Google "
561 L"\x0441\x043E\x0441\x0442\x043E\x0438\x0442 \x0432 " 565 L"\x0441\x043E\x0441\x0442\x043E\x0438\x0442 \x0432 "
562 L"\x043E\x0440\x0433\x0430\x043D\x0438\x0437\x0430\x0446\x0438\x0438 " 566 L"\x043E\x0440\x0433\x0430\x043D\x0438\x0437\x0430\x0446\x0438\x0438 "
563 L"\x043C\x0438\x0440\x043E\x0432\x043E\x0439 " 567 L"\x043C\x0438\x0440\x043E\x0432\x043E\x0439 "
564 L"\x0438\x043D\x0444\x043E\x0440\x043C\x0430\x0446\x0438\x0438, " 568 L"\x0438\x043D\x0444\x043E\x0440\x043C\x0430\x0446\x0438\x0438, "
565 L"\x043E\x0431\x0435\x0441\x043F\x0435\x0447\x0435\x043D\x0438\x0438 " 569 L"\x043E\x0431\x0435\x0441\x043F\x0435\x0447\x0435\x043D\x0438\x0438 "
566 L"\x0435\x0435 " 570 L"\x0435\x0435 "
567 L"\x0434\x043E\x0441\x0442\x0443\x043F\x043D\x043E\x0441\x0442\x0438 " 571 L"\x0434\x043E\x0441\x0442\x0443\x043F\x043D\x043E\x0441\x0442\x0438 "
568 L"\x0438 \x043F\x043E\x043B\x044C\x0437\x044B \x0434\x043B\x044F " 572 L"\x0438 \x043F\x043E\x043B\x044C\x0437\x044B \x0434\x043B\x044F "
569 L"\x0432\x0441\x0435\x0445." 573 L"\x0432\x0441\x0435\x0445."
574 // A Russian word including U+0451. (Bug 15558 <http://crbug.com/15558>)
575 L"\u0451\u043B\u043A\u0430"
570 }, { 576 }, {
571 // Slovak 577 // Slovak
572 "sk-SK", 578 "sk-SK",
573 L"Spolo\x010Dnos\x0165 Google si dala za \x00FAlohu usporiada\x0165 " 579 L"Spolo\x010Dnos\x0165 Google si dala za \x00FAlohu usporiada\x0165 "
574 L"inform\x00E1\x0063ie " 580 L"inform\x00E1\x0063ie "
575 L"z cel\x00E9ho sveta a zabezpe\x010Di\x0165, " 581 L"z cel\x00E9ho sveta a zabezpe\x010Di\x0165, "
576 L"aby boli v\x0161eobecne dostupn\x00E9 a u\x017Eito\x010Dn\x00E9." 582 L"aby boli v\x0161eobecne dostupn\x00E9 a u\x017Eito\x010Dn\x00E9."
577 }, { 583 }, {
578 // Slovenian 584 // Slovenian
579 "sl-SI", 585 "sl-SI",
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 UTF8ToUTF16(kTestCases[i].expected_result)); 653 UTF8ToUTF16(kTestCases[i].expected_result));
648 string16 autocorrect_word = spell_check()->GetAutoCorrectionWord( 654 string16 autocorrect_word = spell_check()->GetAutoCorrectionWord(
649 misspelled_word, 0); 655 misspelled_word, 0);
650 656
651 // Check for spelling. 657 // Check for spelling.
652 EXPECT_EQ(expected_autocorrect_word, autocorrect_word); 658 EXPECT_EQ(expected_autocorrect_word, autocorrect_word);
653 } 659 }
654 } 660 }
655 661
656 } // namespace 662 } // 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