chromium/v8/test/unittests/base/atomic-utils-unittest.cc

// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <limits.h>

#include "src/base/atomic-utils.h"
#include "src/base/platform/platform.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace v8 {
namespace base {
namespace {

enum TestFlag : base::AtomicWord {};

}  // namespace


TEST(AtomicValue, Initial) {}

TEST(AtomicValue, SetValue) {}


TEST(AtomicValue, WithVoidStar) {}

TEST(AsAtomic8, CompareAndSwap_Sequential) {}

namespace {

class ByteIncrementingThread final : public Thread {};

}  // namespace

TEST(AsAtomic8, CompareAndSwap_Concurrent) {}

TEST(AsAtomicWord, SetBits_Sequential) {}

namespace {

class BitSettingThread final : public Thread {};

}  // namespace.

TEST(AsAtomicWord, SetBits_Concurrent) {}

}  // namespace base
}  // namespace v8