summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 05:25:48 +0000
committerhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 05:25:48 +0000
commit6d972cce4fa50c2835b9a69cd423443cf75cf3c8 (patch)
treebaff275d4d55eb07b205877aeda344c129c9bdbd /chrome/renderer
parent9567d701a3b52599c426640f91e1297bee325208 (diff)
downloadchromium_src-6d972cce4fa50c2835b9a69cd423443cf75cf3c8.zip
chromium_src-6d972cce4fa50c2835b9a69cd423443cf75cf3c8.tar.gz
chromium_src-6d972cce4fa50c2835b9a69cd423443cf75cf3c8.tar.bz2
Adds a unit test for the Serbian (Latin) dictionary.
This change adds a test case for the Serbian (Latin) dictionary and removes a comment for the test case for the Portuguese (Brazil) dictionary. BUG=53018,57494 TEST=unit_tests --gtest_filter=SpellCheckTest.SpellCheckText Review URL: http://codereview.chromium.org/6708081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79256 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/spellchecker/spellcheck_unittest.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/chrome/renderer/spellchecker/spellcheck_unittest.cc b/chrome/renderer/spellchecker/spellcheck_unittest.cc
index a433377..75c24f2 100644
--- a/chrome/renderer/spellchecker/spellcheck_unittest.cc
+++ b/chrome/renderer/spellchecker/spellcheck_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -551,9 +551,7 @@ TEST_F(SpellCheckTest, SpellCheckText) {
#if !defined(OS_MACOSX)
L"torn\x00E1-las "
#endif
- L"acess\x00EDveis e "
- // L"\x00FAteis " - to be added.
- L"em car\x00E1ter universal."
+ L"acess\x00EDveis e \x00FAteis em car\x00E1ter universal."
}, {
// Portuguese (Portugal)
"pt-PT",
@@ -588,6 +586,11 @@ TEST_F(SpellCheckTest, SpellCheckText) {
// A Russian word including U+0451. (Bug 15558 <http://crbug.com/15558>)
L"\u0451\u043B\u043A\u0430"
}, {
+ // Serbo-Croatian (Serbian Latin)
+ "sh",
+ L"Google-ova misija je da organizuje sve informacije na svetu i "
+ L"u\x010dini ih univerzal-no dostupnim i korisnim."
+ }, {
// Serbian
"sr",
L"\x0047\x006f\x006f\x0067\x006c\x0065\x002d\x043e\x0432\x0430 "