#include "components/translate/core/language_detection/language_detection_model.h"
#include <memory>
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/metrics/metrics_hashes.h"
#include "base/path_service.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/metrics/histogram_tester.h"
#include "components/language_detection/core/language_detection_model.h"
#include "components/language_detection/testing/language_detection_test_utils.h"
#include "components/translate/core/common/translate_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace translate {
class LanguageDetectionModelValidTest : public testing::Test { … };
TEST_F(LanguageDetectionModelValidTest, DetectLanguageMetrics) { … }
TEST_F(LanguageDetectionModelValidTest, ReliableLanguageDetermination) { … }
TEST_F(LanguageDetectionModelValidTest, LanguageDetectionAR) { … }
TEST_F(LanguageDetectionModelValidTest, UnreliableLanguageDetermination) { … }
TEST_F(LanguageDetectionModelValidTest, LongTextLanguageDetemination) { … }
}