chromium/components/segmentation_platform/embedder/input_delegate/tab_session_source_unittest.cc

// Copyright 2023 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/segmentation_platform/embedder/input_delegate/tab_session_source.h"
#include <math.h>
#include <memory>

#include "base/functional/callback_forward.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "components/segmentation_platform/internal/execution/processing/feature_processor_state.h"
#include "components/segmentation_platform/internal/metadata/metadata_writer.h"
#include "components/segmentation_platform/public/input_context.h"
#include "components/sessions/core/serialized_navigation_entry.h"
#include "components/sessions/core/session_id.h"
#include "components/sync_sessions/synced_session.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/page_transition_types.h"

namespace segmentation_platform::processing {
namespace {

_;
Return;

constexpr char kLocalTabName[] =;
constexpr char kRemoteTabName1[] =;
constexpr char kRemoteTabName2[] =;
const base::TimeDelta kTime1 =;
const base::TimeDelta kTime2 =;
const base::TimeDelta kTime3 =;

std::unique_ptr<sync_sessions::SyncedSession> CreateNewSession(
    const std::string& tab_guid,
    const base::Time& session_time) {}

class MockSessionSyncService : public sync_sessions::SessionSyncService {};

class MockOpenTabsUIDelegate : public sync_sessions::OpenTabsUIDelegate {};

}  // namespace

class TabSessionSourceTest : public testing::Test {};

TEST_F(TabSessionSourceTest, Bucketize) {}

TEST_F(TabSessionSourceTest, ProcessLocal) {}

TEST_F(TabSessionSourceTest, ProcessForeign) {}

}  // namespace segmentation_platform::processing