chromium/components/language/core/browser/url_language_histogram_unittest.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/language/core/browser/url_language_histogram.h"

#include "components/prefs/testing_pref_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

ElementsAre;
FloatEq;
Gt;
SizeIs;

namespace {

const char kLang1[] =;
const char kLang2[] =;
const char kLang3[] =;

}  // namespace

namespace language {

bool operator==(const UrlLanguageHistogram::LanguageInfo& lhs,
                const UrlLanguageHistogram::LanguageInfo& rhs) {}

TEST(UrlLanguageHistogramTest, ListSorted) {}

TEST(UrlLanguageHistogramTest, ListSortedReversed) {}

TEST(UrlLanguageHistogramTest, RightFrequencies) {}

TEST(UrlLanguageHistogramTest, RareLanguageDiscarded) {}

TEST(UrlLanguageHistogramTest, ShouldClearHistoryIfAllTimes) {}

TEST(UrlLanguageHistogramTest, ShouldNotClearHistoryIfNotAllTimes) {}

}  // namespace language