chromium/gpu/command_buffer/service/gpu_fence_manager_unittest.cc

// Copyright 2017 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/gpu_fence_manager.h"

#include <memory>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#include "gpu/command_buffer/service/error_state_mock.h"
#include "gpu/command_buffer/service/feature_info.h"
#include "gpu/command_buffer/service/gpu_service_test.h"
#include "gpu/command_buffer/service/test_helper.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/gpu_fence.h"
#include "ui/gfx/gpu_fence_handle.h"
#include "ui/gfx/switches.h"
#include "ui/gl/egl_mock.h"
#include "ui/gl/gl_display.h"
#include "ui/gl/gl_egl_api_implementation.h"
#include "ui/gl/gl_utils.h"

#if BUILDFLAG(IS_POSIX)
#include <unistd.h>
#endif

_;
DoAll;
Return;
SetArgPointee;

namespace gpu {
namespace gles2 {

class GpuFenceManagerTest : public GpuServiceTest {};

TEST_F(GpuFenceManagerTest, Basic) {}

TEST_F(GpuFenceManagerTest, Destruction) {}

#if BUILDFLAG(IS_POSIX)

TEST_F(GpuFenceManagerTest, SmartHandleImplmentation) {}

TEST_F(GpuFenceManagerTest, SmartHandleOptimization) {}

TEST_F(GpuFenceManagerTest, GetGpuFence) {}

TEST_F(GpuFenceManagerTest, Duplication) {}

#endif  // BUILDFLAG(IS_POSIX)

}  // namespace gles2
}  // namespace gpu