chromium/components/ntp_tiles/metrics_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/ntp_tiles/metrics.h"

#include <stddef.h>

#include <string>

#include "base/test/metrics/histogram_tester.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace ntp_tiles {
namespace metrics {
namespace {

constexpr int kUnknownTitleSource =;
constexpr int kManifestTitleSource =;
constexpr int kMetaTagTitleSource =;
constexpr int kTitleTagTitleSource =;
constexpr int kInferredTitleSource =;

IconType;
ElementsAre;
IsEmpty;

MATCHER_P3(IsBucketBetween, lower_bound, upper_bound, count, "") {}

// Builder for instances of NTPTileImpression that uses sensible defaults.
class Builder {};

TEST(RecordPageImpressionTest, ShouldRecordNumberOfTiles) {}

TEST(RecordTileImpressionTest, ShouldRecordUmaForIcons) {}

TEST(RecordTileImpressionTest, ShouldRecordImpressionsForTileTitleSource) {}

TEST(RecordTileImpressionTest, ShouldRecordUmaForIconType) {}

TEST(RecordTileClickTest, ShouldRecordUmaForIcon) {}

TEST(RecordTileClickTest, ShouldNotRecordUnknownTileType) {}

TEST(RecordTileClickTest, ShouldRecordClicksForTileTitleSource) {}

TEST(RecordTileClickTest, ShouldRecordClicksForIconType) {}

}  // namespace
}  // namespace metrics
}  // namespace ntp_tiles