chromium/content/browser/tracing/trace_report/trace_report_handler_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 "content/browser/tracing/trace_report/trace_report_handler.h"

#include "base/test/mock_callback.h"
#include "base/token.h"
#include "content/browser/tracing/trace_report/trace_report.mojom.h"
#include "content/browser/tracing/trace_report/trace_upload_list.h"
#include "content/public/browser/background_tracing_manager.h"
#include "content/public/test/browser_task_environment.h"
#include "mojo/public/cpp/base/big_buffer.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace content {

class FakeTraceUploadList : public TraceUploadList {};

class MockTracePage : public trace_report::mojom::Page {};

// A fixture to test TraceReportHandler.
class TraceReportHandlerTest : public testing::Test {};

TEST_F(TraceReportHandlerTest, GetAllTraceReports) {}

TEST_F(TraceReportHandlerTest, DeleteAllTraces) {}

TEST_F(TraceReportHandlerTest, DeleteSingleTrace) {}

TEST_F(TraceReportHandlerTest, UserUploadSingleTrace) {}

TEST_F(TraceReportHandlerTest, DownloadTrace) {}

}  // namespace content