OLD | NEW |
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 Loading... |
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 " - to be added. | 414 L"Google's mission is to organise the world's information and make it " |
415 L"mission is to organise the world's information and make it " | |
416 L"universally accessible and useful." | 415 L"universally accessible and useful." |
417 }, { | 416 }, { |
418 // English (United Kingdom) | 417 // English (United Kingdom) |
419 "en-GB", | 418 "en-GB", |
420 // L"Google's " - to be added. | 419 L"Google's mission is to organise the world's information and make it " |
421 L"mission is to organise the world's information and make it " | |
422 L"universally accessible and useful." | 420 L"universally accessible and useful." |
423 }, { | 421 }, { |
424 // English (United States) | 422 // English (United States) |
425 "en-US", | 423 "en-US", |
426 L"Google's mission is to organize the world's information and make it " | 424 L"Google's mission is to organize the world's information and make it " |
427 L"universally accessible and useful." | 425 L"universally accessible and useful." |
428 }, { | 426 }, { |
429 // Bulgarian | 427 // Bulgarian |
430 "bg-BG", | 428 "bg-BG", |
431 L"\x041c\x0438\x0441\x0438\x044f\x0442\x0430 " | 429 L"\x041c\x0438\x0441\x0438\x044f\x0442\x0430 " |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 UTF8ToUTF16(kTestCases[i].expected_result)); | 690 UTF8ToUTF16(kTestCases[i].expected_result)); |
693 string16 autocorrect_word = spell_check()->GetAutoCorrectionWord( | 691 string16 autocorrect_word = spell_check()->GetAutoCorrectionWord( |
694 misspelled_word, 0); | 692 misspelled_word, 0); |
695 | 693 |
696 // Check for spelling. | 694 // Check for spelling. |
697 EXPECT_EQ(expected_autocorrect_word, autocorrect_word); | 695 EXPECT_EQ(expected_autocorrect_word, autocorrect_word); |
698 } | 696 } |
699 } | 697 } |
700 | 698 |
701 } // namespace | 699 } // namespace |
OLD | NEW |