summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 20:03:09 +0000
committersidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 20:03:09 +0000
commit2abb09cdd723f48acc54dac4d8dee1c5ae2771f7 (patch)
treeab33b56d0b2eb6807368744ab98bc194989be410
parentbafd54741093991a1f30082209c8d3a1bc2913f9 (diff)
downloadchromium_src-2abb09cdd723f48acc54dac4d8dee1c5ae2771f7.zip
chromium_src-2abb09cdd723f48acc54dac4d8dee1c5ae2771f7.tar.gz
chromium_src-2abb09cdd723f48acc54dac4d8dee1c5ae2771f7.tar.bz2
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
-rw-r--r--chrome/renderer/spellcheck_unittest.cc4
-rw-r--r--chrome/third_party/hunspell/dictionaries/en-US-1-1.bdic (renamed from chrome/third_party/hunspell/dictionaries/en-US.bdic)bin543578 -> 543578 bytes
-rw-r--r--chrome/third_party/hunspell/hunspell.vcproj2
3 files changed, 3 insertions, 3 deletions
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.bdic b/chrome/third_party/hunspell/dictionaries/en-US-1-1.bdic
index 8eceaaf..8c98995 100644
--- a/chrome/third_party/hunspell/dictionaries/en-US.bdic
+++ b/chrome/third_party/hunspell/dictionaries/en-US-1-1.bdic
Binary files 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"
>
<File
- RelativePath=".\dictionaries\en-US.bdic"
+ RelativePath=".\dictionaries\en-US-1-1.bdic"
>
</File>
</Filter>