Index: components/spellcheck/renderer/spellcheck_unittest.cc |
diff --git a/chrome/renderer/spellchecker/spellcheck_unittest.cc b/components/spellcheck/renderer/spellcheck_unittest.cc |
similarity index 99% |
rename from chrome/renderer/spellchecker/spellcheck_unittest.cc |
rename to components/spellcheck/renderer/spellcheck_unittest.cc |
index 527516bd023f85d6ef8b7b653250636586f41998..96c5d1cbbd5e6f76e663e75fe91cd62d70bbbfde 100644 |
--- a/chrome/renderer/spellchecker/spellcheck_unittest.cc |
+++ b/components/spellcheck/renderer/spellcheck_unittest.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/renderer/spellchecker/spellcheck.h" |
+#include "components/spellcheck/renderer/spellcheck.h" |
#include <stddef.h> |
@@ -18,10 +18,11 @@ |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/utf_string_conversions.h" |
#include "build/build_config.h" |
-#include "chrome/renderer/spellchecker/hunspell_engine.h" |
-#include "chrome/renderer/spellchecker/spellcheck_language.h" |
#include "components/spellcheck/common/spellcheck_common.h" |
#include "components/spellcheck/common/spellcheck_result.h" |
+#include "components/spellcheck/renderer/hunspell_engine.h" |
+#include "components/spellcheck/renderer/spellcheck_language.h" |
+#include "components/test_runner/test_common.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/WebKit/public/platform/WebVector.h" |
#include "third_party/WebKit/public/web/WebTextCheckingCompletion.h" |
@@ -49,6 +50,7 @@ base::FilePath GetHunspellDirectory() { |
class SpellCheckTest : public testing::Test { |
public: |
SpellCheckTest() { |
+ test_runner::EnsureBlinkInitialized(); |
groby-ooo-7-16
2016/08/03 17:31:54
See above :)
timvolodine
2016/08/03 19:12:30
same answer ;)
|
ReinitializeSpellCheck("en-US"); |
} |