chromium/components/crash/core/common/crash_key_unittest.cc

// Copyright 2017 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/crash/core/common/crash_key.h"

#include "base/debug/crash_logging.h"
#include "base/debug/stack_trace.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace crash_reporter {
namespace {

class CrashKeyStringTest : public testing::Test {};

TEST_F(CrashKeyStringTest, ScopedCrashKeyString) {}

TEST_F(CrashKeyStringTest, FormatStackTrace) {}

#if defined(ARCH_CPU_64_BITS)
TEST_F(CrashKeyStringTest, FormatStackTrace64) {}
#endif

// In certain build configurations, StackTrace will produce an
// empty result, which will cause the test to fail.
#if !defined(OFFICIAL_BUILD) && !defined(NO_UNWIND_TABLES)
TEST_F(CrashKeyStringTest, SetStackTrace) {}
#endif

TEST_F(CrashKeyStringTest, BaseSupport) {}

TEST_F(CrashKeyStringTest, CArrayInitializer) {}

}  // namespace
}  // namespace crash_reporter