#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include <stddef.h>
#include <algorithm>
#include <memory>
#include <string_view>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/path_service.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/task_environment.h"
#include "components/spellcheck/common/spellcheck_common.h"
#include "components/spellcheck/common/spellcheck_result.h"
#include "components/spellcheck/renderer/empty_local_interface_provider.h"
#include "components/spellcheck/renderer/spellcheck.h"
#include "components/spellcheck/renderer/spellcheck_provider_test.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/web_string.h"
#include "third_party/blink/public/platform/web_vector.h"
#include "third_party/blink/public/web/web_text_checking_result.h"
namespace {
struct SpellcheckTestCase { … };
base::FilePath GetHunspellDirectory() { … }
}
class MultilingualSpellCheckTest : public testing::Test { … };
TEST_F(MultilingualSpellCheckTest, MultilingualSpellCheckWord) { … }
TEST_F(MultilingualSpellCheckTest, MultilingualSpellCheckWordEnglishSpanish) { … }
TEST_F(MultilingualSpellCheckTest, MultilingualSpellCheckParagraphBlank) { … }
TEST_F(MultilingualSpellCheckTest, MultilingualSpellCheckParagraphCorrect) { … }
TEST_F(MultilingualSpellCheckTest, MultilingualSpellCheckParagraph) { … }
TEST_F(MultilingualSpellCheckTest, MultilingualSpellCheckSuggestions) { … }