#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include <stddef.h>
#include <memory>
#include "base/check_op.h"
#include "gpu/command_buffer/client/client_test_helper.h"
#include "gpu/command_buffer/service/command_buffer_service.h"
#include "gpu/command_buffer/service/mocks.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace gpu {
_;
DoAll;
Mock;
Return;
Sequence;
SetArgPointee;
class CommandBufferServiceTest : public testing::Test,
public CommandBufferServiceClient { … };
TEST_F(CommandBufferServiceTest, TestInit) { … }
TEST_F(CommandBufferServiceTest, TestEmpty) { … }
TEST_F(CommandBufferServiceTest, TestSimple) { … }
TEST_F(CommandBufferServiceTest, TestMultipleCommands) { … }
TEST_F(CommandBufferServiceTest, TestWrap) { … }
TEST_F(CommandBufferServiceTest, TestError) { … }
TEST_F(CommandBufferServiceTest, SetBuffer) { … }
TEST_F(CommandBufferServiceTest, InvalidSetBuffer) { … }
TEST_F(CommandBufferServiceTest, Token) { … }
TEST_F(CommandBufferServiceTest, CanSetParseError) { … }
class CommandBufferServicePauseExecutionTest : public CommandBufferServiceTest { … };
TEST_F(CommandBufferServicePauseExecutionTest, CommandsProcessed) { … }
TEST_F(CommandBufferServicePauseExecutionTest, PauseExecution) { … }
class CommandBufferServiceUnscheduleExecutionTest
: public CommandBufferServiceTest { … };
TEST_F(CommandBufferServiceUnscheduleExecutionTest, Unschedule) { … }
}