chromium/components/feed/core/v2/stream/info_card_tracker_unittest.cc

// Copyright 2022 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/feed/core/v2/stream/info_card_tracker.h"

#include <string>
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "components/feed/core/common/pref_names.h"
#include "components/feed/core/v2/config.h"
#include "components/feed/core/v2/feedstore_util.h"
#include "components/feed/core/v2/test/test_util.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace feed {

namespace {

const int kMinimumViewIntervalSeconds =;
const base::TimeDelta kEnoughTime =;
const base::TimeDelta kNotEnoughTime =;
const feedwire::InfoCardType kTestInfoCardType1 =;
const feedwire::InfoCardType kTestInfoCardType2 =;

}  // namespace

class InfoCardTrackerTest : public testing::Test {};

TEST_F(InfoCardTrackerTest, InitialEmptyState) {}

TEST_F(InfoCardTrackerTest, ViewCount) {}

TEST_F(InfoCardTrackerTest, ResetState) {}

TEST_F(InfoCardTrackerTest, ComboActions) {}

TEST_F(InfoCardTrackerTest, AdjustViewTimestamp_ServerTimestampLessThanClient) {}

TEST_F(InfoCardTrackerTest, AdjustViewTimestamp_ClientTimestampLessThanServer) {}

TEST_F(InfoCardTrackerTest,
       AdjustViewTimestamp_DoNotGoEarlierThanServerTimestamp) {}

TEST_F(InfoCardTrackerTest, AdjustViewTimestamp_DoNotGoOverContentLifetime) {}

}  // namespace feed