chromium/gpu/command_buffer/common/command_buffer_shared_test.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

// This file contains the tests for the CommandBufferSharedState class.

#include "gpu/command_buffer/common/command_buffer_shared.h"

#include <stdint.h>

#include <memory>

#include "base/functional/bind.h"
#include "base/location.h"
#include "base/task/single_thread_task_runner.h"
#include "base/threading/thread.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace gpu {

class CommandBufferSharedTest : public testing::Test {};

TEST_F(CommandBufferSharedTest, TestBasic) {}

static const int kSize =;

void WriteToState(int32_t* buffer, CommandBufferSharedState* shared_state) {}

TEST_F(CommandBufferSharedTest, TestConsistency) {}

}  // namespace gpu