diff options
author | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-14 12:35:56 +0000 |
---|---|---|
committer | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-14 12:35:56 +0000 |
commit | 765fd25ca2db4c7677f14c0fc65aae4a7ee34967 (patch) | |
tree | 6b2047aeb1df75e2b060140906eb99a6eae321ad | |
parent | e8ba2059d133c3450f602ea89b17e049ea23de59 (diff) | |
download | chromium_src-765fd25ca2db4c7677f14c0fc65aae4a7ee34967.zip chromium_src-765fd25ca2db4c7677f14c0fc65aae4a7ee34967.tar.gz chromium_src-765fd25ca2db4c7677f14c0fc65aae4a7ee34967.tar.bz2 |
Another fix for my new unit-test "SpellCheckTest.SpellCheckTest".
Sorry I forgot removing a fprint() call used for debug.
TBR=brettw
BUG=18184
TEST=run unit_test on Mac
Review URL: http://codereview.chromium.org/164554
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23432 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/spellcheck_unittest.cc | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/chrome/browser/spellcheck_unittest.cc b/chrome/browser/spellcheck_unittest.cc index c4823d5..7e817ec 100644 --- a/chrome/browser/spellcheck_unittest.cc +++ b/chrome/browser/spellcheck_unittest.cc @@ -804,18 +804,30 @@ TEST_F(SpellCheckTest, SpellCheckText) { // Portuguese (Brazil) "pt-BR", L"A miss\x00E3o do " - // L"Google " - to be added. +#if !defined(OS_MACOSX) + L"Google " +#endif L"\x00E9 organizar as informa\x00E7\x00F5" - L"es do mundo todo e torn\x00E1-las acess\x00EDveis e " + L"es do mundo todo e " +#if !defined(OS_MACOSX) + L"torn\x00E1-las " +#endif + L"acess\x00EDveis e " // L"\x00FAteis " - to be added. L"em car\x00E1ter universal." }, { // Portuguese (Portugal) "pt-PT", L"O " - // L"Google " - to be added. +#if !defined(OS_MACOSX) + L"Google " +#endif L"tem por miss\x00E3o organizar a informa\x00E7\x00E3o do " - L"mundo e torn\x00E1-la universalmente acess\x00EDvel e \x00FAtil" + L"mundo e " +#if !defined(OS_MACOSX) + L"torn\x00E1-la " +#endif + L"universalmente acess\x00EDvel e \x00FAtil" }, { // Romanian "ro-RO", @@ -877,7 +889,6 @@ TEST_F(SpellCheckTest, SpellCheckText) { ASSERT_FALSE(hunspell_directory.empty()); for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { - fprintf(stderr, "%s(): %s\n", __FUNCTION__, kTestCases[i].language); scoped_refptr<SpellChecker> spell_checker(new SpellChecker( hunspell_directory, kTestCases[i].language, NULL, FilePath())); |