| Index: chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc
|
| ===================================================================
|
| --- chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc (revision 152650)
|
| +++ chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc (working copy)
|
| @@ -203,6 +203,15 @@
|
| &completion);
|
| EXPECT_EQ(completion.completion_count_, 3U);
|
| EXPECT_EQ(completion.cancellation_count_, 2U);
|
| +
|
| + // Test that the SpellCheckProvider class sends a request when it receives a
|
| + // Russian word.
|
| + const wchar_t kRussianWord[] = L"\x0431\x0451\x0434\x0440\x0430";
|
| + provider_.RequestTextChecking(WebKit::WebString(WideToUTF16(kRussianWord)),
|
| + document_tag,
|
| + &completion);
|
| + EXPECT_EQ(completion.completion_count_, 4U);
|
| + EXPECT_EQ(completion.cancellation_count_, 2U);
|
| }
|
|
|
| } // namespace
|
|
|