chromium/components/tracing/common/background_tracing_utils_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 <vector>

#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/test/scoped_command_line.h"
#include "base/test/task_environment.h"
#include "components/tracing/common/background_tracing_utils.h"
#include "components/tracing/common/tracing_switches.h"
#include "content/public/browser/background_tracing_manager.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"

BackgroundTracingSetupMode;

namespace {

class BackgroundTracingUtilTest : public testing::Test {};

const char kInvalidTracingConfig[] =;

struct SetupModeParams {};

TEST(BackgroundTracingUtilsTest, GetBackgroundTracingSetupMode) {}

TEST_F(BackgroundTracingUtilTest,
       SetupBackgroundTracingFromJsonConfigFileFailed) {}

TEST_F(BackgroundTracingUtilTest,
       SetupBackgroundTracingFromProtoConfigFileFailed) {}

TEST_F(BackgroundTracingUtilTest,
       SetupBackgroundTracingFromJsonConfigFileInvalidConfig) {}

TEST_F(BackgroundTracingUtilTest, SetupBackgroundTracingWithOutputPathFailed) {}

TEST_F(BackgroundTracingUtilTest,
       SetupBackgroundTracingFromProtoConfigFileInvalidConfig) {}

TEST_F(BackgroundTracingUtilTest, SetupBackgroundTracingFromCommandLineConfig) {}

TEST_F(BackgroundTracingUtilTest,
       SetupBackgroundTracingFromCommandLineFieldTrial) {}

}  // namespace