summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 00:22:22 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 00:22:22 +0000
commitd08ae2b303deb1d88f856c9bdaf58007a06fd74f (patch)
treec75a63173975185e40c72878440be967b72e0c01
parent9d4ff5edc11098ff872ddd9454216723f6a9b96d (diff)
downloadchromium_src-d08ae2b303deb1d88f856c9bdaf58007a06fd74f.zip
chromium_src-d08ae2b303deb1d88f856c9bdaf58007a06fd74f.tar.gz
chromium_src-d08ae2b303deb1d88f856c9bdaf58007a06fd74f.tar.bz2
Enable spellcheck_unittest.cc.
Review URL: http://codereview.chromium.org/28335 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10754 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/spellcheck_unittest.cc9
-rw-r--r--chrome/chrome.gyp1
-rw-r--r--chrome/third_party/hunspell/hunspell.gyp8
3 files changed, 12 insertions, 6 deletions
diff --git a/chrome/browser/spellcheck_unittest.cc b/chrome/browser/spellcheck_unittest.cc
index d0fa608..0378ad4 100644
--- a/chrome/browser/spellcheck_unittest.cc
+++ b/chrome/browser/spellcheck_unittest.cc
@@ -12,16 +12,15 @@
#include "testing/gtest/include/gtest/gtest.h"
namespace {
+const FilePath::CharType kTempCustomDictionaryFile[] =
+ FILE_PATH_LITERAL("temp_custom_dictionary.txt");
+} // namespace
+
class SpellCheckTest : public testing::Test {
private:
MessageLoop message_loop_;
};
-const FilePath::CharType kTempCustomDictionaryFile[] =
- FILE_PATH_LITERAL("temp_custom_dictionary.txt");
-
-} // namespace
-
// Represents a special initialization function used only for the unit tests
// in this file.
extern void InitHunspellWithFiles(FILE* file_aff_hunspell,
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 4e41a1a..6f1d788 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -1732,7 +1732,6 @@
'browser/browser_commands_unittest.cc',
'browser/login_prompt_unittest.cc',
'browser/navigation_controller_unittest.cc',
- 'browser/spellcheck_unittest.cc',
'browser/visitedlink_unittest.cc',
'browser/webdata/web_database_unittest.cc',
'browser/window_sizer_unittest.cc',
diff --git a/chrome/third_party/hunspell/hunspell.gyp b/chrome/third_party/hunspell/hunspell.gyp
index 8b74939..f2049fd 100644
--- a/chrome/third_party/hunspell/hunspell.gyp
+++ b/chrome/third_party/hunspell/hunspell.gyp
@@ -47,6 +47,14 @@
'src/parsers/textparser.cxx',
'src/parsers/textparser.hxx',
],
+ 'copies': [
+ {
+ 'destination': '<(PRODUCT_DIR)/Dictionaries',
+ 'files': [
+ 'dictionaries/en-US-1-2.bdic',
+ ],
+ },
+ ],
'direct_dependent_settings': {
'defines': [
'HUNSPELL_CHROME_CLIENT',