Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: gpu/command_buffer/service/context_group_unittest.cc

Issue 682743002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/command_buffer/service/context_group.h" 5 #include "gpu/command_buffer/service/context_group.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "gpu/command_buffer/service/gles2_cmd_decoder_mock.h" 8 #include "gpu/command_buffer/service/gles2_cmd_decoder_mock.h"
9 #include "gpu/command_buffer/service/gpu_service_test.h" 9 #include "gpu/command_buffer/service/gpu_service_test.h"
10 #include "gpu/command_buffer/service/mailbox_manager.h" 10 #include "gpu/command_buffer/service/mailbox_manager.h"
(...skipping 17 matching lines...) Expand all
28 namespace gpu { 28 namespace gpu {
29 namespace gles2 { 29 namespace gles2 {
30 30
31 class ContextGroupTest : public GpuServiceTest { 31 class ContextGroupTest : public GpuServiceTest {
32 public: 32 public:
33 static const bool kBindGeneratesResource = false; 33 static const bool kBindGeneratesResource = false;
34 34
35 ContextGroupTest() {} 35 ContextGroupTest() {}
36 36
37 protected: 37 protected:
38 virtual void SetUp() { 38 void SetUp() override {
39 GpuServiceTest::SetUp(); 39 GpuServiceTest::SetUp();
40 decoder_.reset(new MockGLES2Decoder()); 40 decoder_.reset(new MockGLES2Decoder());
41 group_ = scoped_refptr<ContextGroup>( 41 group_ = scoped_refptr<ContextGroup>(
42 new ContextGroup(NULL, NULL, NULL, NULL, kBindGeneratesResource)); 42 new ContextGroup(NULL, NULL, NULL, NULL, kBindGeneratesResource));
43 } 43 }
44 44
45 scoped_ptr<MockGLES2Decoder> decoder_; 45 scoped_ptr<MockGLES2Decoder> decoder_;
46 scoped_refptr<ContextGroup> group_; 46 scoped_refptr<ContextGroup> group_;
47 }; 47 };
48 48
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 EXPECT_TRUE(group_->renderbuffer_manager() == NULL); 127 EXPECT_TRUE(group_->renderbuffer_manager() == NULL);
128 EXPECT_TRUE(group_->texture_manager() == NULL); 128 EXPECT_TRUE(group_->texture_manager() == NULL);
129 EXPECT_TRUE(group_->program_manager() == NULL); 129 EXPECT_TRUE(group_->program_manager() == NULL);
130 EXPECT_TRUE(group_->shader_manager() == NULL); 130 EXPECT_TRUE(group_->shader_manager() == NULL);
131 } 131 }
132 132
133 } // namespace gles2 133 } // namespace gles2
134 } // namespace gpu 134 } // namespace gpu
135 135
136 136
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/common_decoder_unittest.cc ('k') | gpu/command_buffer/service/feature_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698