chromium/gpu/command_buffer/service/gl_context_virtual_unittest.cc

// Copyright 2016 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/gl_context_virtual.h"

#include "gpu/command_buffer/client/client_test_helper.h"
#include "gpu/command_buffer/service/gles2_cmd_decoder_mock.h"
#include "gpu/command_buffer/service/gpu_service_test.h"
#include "gpu/command_buffer/service/gpu_tracer.h"
#include "ui/gl/gl_context_stub.h"
#include "ui/gl/gl_share_group.h"
#include "ui/gl/gl_surface.h"

namespace gpu {
namespace gles2 {
namespace {

AnyNumber;
Return;

class GLContextVirtualTest : public GpuServiceTest {};

// Tests that destroying a GLContextVirtual doesn't leave stale state that
// prevents a new one from initializing.
TEST_F(GLContextVirtualTest, Reinitialize) {}

// Tests that CheckStickyGraphicsResetStatus gets the state from the real
// context, but "virtualizes" the guilty party (i.e. makes it unknown).
TEST_F(GLContextVirtualTest, CheckStickyGraphicsResetStatus) {}

}  // anonymous namespace
}  // namespace gles2
}  // namespace gpu