chromium/base/atomicops_unittest.cc

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

#include "base/atomicops.h"

#include <stdint.h>
#include <string.h>
#include <type_traits>

#include "testing/gtest/include/gtest/gtest.h"

template <class AtomicType>
static void TestAtomicIncrement() {}


#define NUM_BITS(T)


template <class AtomicType>
static void TestCompareAndSwap() {}


template <class AtomicType>
static void TestAtomicExchange() {}


template <class AtomicType>
static void TestAtomicIncrementBounds() {}

// Return an AtomicType with the value 0xa5a5a5..
template <class AtomicType>
static AtomicType TestFillValue() {}

// This is a simple sanity check that values are correct. Not testing
// atomicity
template <class AtomicType>
static void TestStore() {}

// This is a simple sanity check that values are correct. Not testing
// atomicity
template <class AtomicType>
static void TestLoad() {}

TEST(AtomicOpsTest, Inc) {}

TEST(AtomicOpsTest, CompareAndSwap) {}

TEST(AtomicOpsTest, Exchange) {}

TEST(AtomicOpsTest, IncrementBounds) {}

TEST(AtomicOpsTest, Store) {}

TEST(AtomicOpsTest, Load) {}