chromium/third_party/angle/src/common/SimpleMutex_unittest.cpp

//
// Copyright 2024 The ANGLE 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.
//
// SimpleMutex_unittest:
//   Tests of the SimpleMutex class
//

#include <gtest/gtest.h>

#include "common/SimpleMutex.h"

namespace angle
{
namespace
{
template <typename TestMutex>
bool runBasicMutexTest()
{}
}  // anonymous namespace

// Tests basic usage of std::mutex.
TEST(MutexTest, BasicStdMutex)
{}

// Tests basic usage of angle::SimpleMutex.
TEST(MutexTest, BasicSimpleMutex)
{}

// Tests failure with NoOpMutex.  Disabled because it can and will flake.
TEST(MutexTest, DISABLED_BasicNoOpMutex)
{}
}  // namespace angle