From 6d972cce4fa50c2835b9a69cd423443cf75cf3c8 Mon Sep 17 00:00:00 2001 From: "hbono@chromium.org" Date: Thu, 24 Mar 2011 05:25:48 +0000 Subject: 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 --- chrome/renderer/spellchecker/spellcheck_unittest.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'chrome/renderer') 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 ) 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 " -- cgit v1.1