chromium/gpu/command_buffer/service/transfer_buffer_manager_unittest.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.

#include "gpu/command_buffer/service/transfer_buffer_manager.h"

#include <stddef.h>

#include <memory>

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

namespace gpu {

const static size_t kBufferSize =;

class TransferBufferManagerTest : public testing::Test {};

TEST_F(TransferBufferManagerTest, ZeroHandleMapsToNull) {}

TEST_F(TransferBufferManagerTest, NegativeHandleMapsToNull) {}

TEST_F(TransferBufferManagerTest, OutOfRangeHandleMapsToNull) {}

TEST_F(TransferBufferManagerTest, CanRegisterTransferBuffer) {}

TEST_F(TransferBufferManagerTest, CanDestroyTransferBuffer) {}

TEST_F(TransferBufferManagerTest, CannotRegregisterTransferBufferId) {}

TEST_F(TransferBufferManagerTest, CanReuseTransferBufferIdAfterDestroying) {}

TEST_F(TransferBufferManagerTest, DestroyUnusedTransferBufferIdDoesNotCrash) {}

TEST_F(TransferBufferManagerTest, CannotRegisterNullTransferBuffer) {}

TEST_F(TransferBufferManagerTest, CannotRegisterNegativeTransferBufferId) {}

}  // namespace gpu