chromium/chrome/common/crash_keys_unittest.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/common/crash_keys.h"

#include <set>
#include <string>

#include "base/command_line.h"
#include "base/strings/strcat.h"
#include "build/build_config.h"
#include "build/buildflag.h"
#include "build/chromeos_buildflags.h"
#include "components/crash/core/common/crash_key.h"
#include "gpu/config/gpu_switches.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

#if BUILDFLAG(IS_WIN)
#include "base/strings/utf_string_conversions.h"
#endif

GetCrashKeyValue;
IsEmpty;

class CrashKeysTest : public testing::Test {};

TEST_F(CrashKeysTest, ShouldIgnoreBoringFlags) {}

namespace {

void InitFromArgv(base::CommandLine& command_line,
                  std::initializer_list<std::string> args) {}

}  // namespace

TEST_F(CrashKeysTest, AllocateCrashKeyInBrowserAndChildren) {}

TEST_F(CrashKeysTest, SetStringAnnotationsBrowser) {}

TEST_F(CrashKeysTest, SetStringAnnotationsNonBrowser) {}

TEST_F(CrashKeysTest, EnabledDisabledFeaturesFlags) {}

TEST_F(CrashKeysTest, ShouldCreateCrashKeyForEachEnabledFeature) {}

TEST_F(CrashKeysTest, ShouldCreateCrashKeyForEachDisabledFeature) {}

TEST_F(CrashKeysTest,
       EnabledDisabledFeatures_LastCommandArgumentShouldBeRetained) {}

TEST_F(
    CrashKeysTest,
    EnabledDisabledFeatures_ShouldClearPreviousCrashKeysIfCommandLineIsReparsed) {}