From 2abb09cdd723f48acc54dac4d8dee1c5ae2771f7 Mon Sep 17 00:00:00 2001 From: "sidchat@google.com" Date: Thu, 16 Oct 2008 20:03:09 +0000 Subject: Re-enable SpellCheck tests by adding en-US-1-1.bdic to copy rule in hunspell project and also add the new dictionary, en-US-1-1.bdic, in the hunspell dictionary directory. Review URL: http://codereview.chromium.org/7394 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3476 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/spellcheck_unittest.cc | 4 ++-- .../third_party/hunspell/dictionaries/en-US-1-1.bdic | Bin 0 -> 543578 bytes chrome/third_party/hunspell/dictionaries/en-US.bdic | Bin 543578 -> 0 bytes chrome/third_party/hunspell/hunspell.vcproj | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 chrome/third_party/hunspell/dictionaries/en-US-1-1.bdic delete mode 100644 chrome/third_party/hunspell/dictionaries/en-US.bdic diff --git a/chrome/renderer/spellcheck_unittest.cc b/chrome/renderer/spellcheck_unittest.cc index f68b2d9..948368c 100644 --- a/chrome/renderer/spellcheck_unittest.cc +++ b/chrome/renderer/spellcheck_unittest.cc @@ -56,7 +56,7 @@ extern void InitHunspellWithFiles(FILE* file_aff_hunspell, // A test with a "[ROBUSTNESS]" mark shows it is a robustness test and it uses // grammartically incorrect string. // TODO(hbono): Please feel free to add more tests. -TEST_F(SpellCheckTest, DISABLED_SpellCheckStrings_EN_US) { +TEST_F(SpellCheckTest, SpellCheckStrings_EN_US) { static const struct { // A string to be tested. const wchar_t* input; @@ -275,7 +275,7 @@ TEST_F(SpellCheckTest, DISABLED_SpellCheckStrings_EN_US) { } -TEST_F(SpellCheckTest, DISABLED_SpellCheckSuggestions_EN_US) { +TEST_F(SpellCheckTest, SpellCheckSuggestions_EN_US) { static const struct { // A string to be tested. const wchar_t* input; diff --git a/chrome/third_party/hunspell/dictionaries/en-US-1-1.bdic b/chrome/third_party/hunspell/dictionaries/en-US-1-1.bdic new file mode 100644 index 0000000..8c98995 Binary files /dev/null and b/chrome/third_party/hunspell/dictionaries/en-US-1-1.bdic differ diff --git a/chrome/third_party/hunspell/dictionaries/en-US.bdic b/chrome/third_party/hunspell/dictionaries/en-US.bdic deleted file mode 100644 index 8eceaaf..0000000 Binary files a/chrome/third_party/hunspell/dictionaries/en-US.bdic and /dev/null differ diff --git a/chrome/third_party/hunspell/hunspell.vcproj b/chrome/third_party/hunspell/hunspell.vcproj index 609ab31..b6f897b 100644 --- a/chrome/third_party/hunspell/hunspell.vcproj +++ b/chrome/third_party/hunspell/hunspell.vcproj @@ -230,7 +230,7 @@ Name="Dictionaries" > -- cgit v1.1