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

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

Issue 629913002: Replacing the OVERRIDE with override and FINAL with final in gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Included autogen python file for OVERRIDE Created 6 years, 2 months 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <map> 5 #include <map>
6 #include <set> 6 #include <set>
7 7
8 #include "gpu/command_buffer/service/gpu_service_test.h" 8 #include "gpu/command_buffer/service/gpu_service_test.h"
9 #include "gpu/command_buffer/service/gpu_tracer.h" 9 #include "gpu/command_buffer/service/gpu_tracer.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 Invoke(&gl_fake_queries_, &GlFakeQueries::DeleteQueriesARB)); 200 Invoke(&gl_fake_queries_, &GlFakeQueries::DeleteQueriesARB));
201 } 201 }
202 202
203 virtual GpuTracerType GetTracerType() = 0; 203 virtual GpuTracerType GetTracerType() = 0;
204 204
205 GlFakeQueries gl_fake_queries_; 205 GlFakeQueries gl_fake_queries_;
206 }; 206 };
207 207
208 class GpuARBTimerTracerTest : public BaseGpuTracerTest { 208 class GpuARBTimerTracerTest : public BaseGpuTracerTest {
209 protected: 209 protected:
210 virtual GpuTracerType GetTracerType() OVERRIDE { 210 virtual GpuTracerType GetTracerType() override {
211 return kTracerTypeARBTimer; 211 return kTracerTypeARBTimer;
212 } 212 }
213 }; 213 };
214 214
215 class GpuDisjointTimerTracerTest : public BaseGpuTracerTest { 215 class GpuDisjointTimerTracerTest : public BaseGpuTracerTest {
216 protected: 216 protected:
217 virtual GpuTracerType GetTracerType() OVERRIDE { 217 virtual GpuTracerType GetTracerType() override {
218 return kTracerTypeDisjointTimer; 218 return kTracerTypeDisjointTimer;
219 } 219 }
220 }; 220 };
221 221
222 TEST_F(GpuARBTimerTracerTest, GPUTrace) { 222 TEST_F(GpuARBTimerTracerTest, GPUTrace) {
223 // Test basic timer query functionality 223 // Test basic timer query functionality
224 { 224 {
225 DoTraceTest(); 225 DoTraceTest();
226 } 226 }
227 } 227 }
228 228
229 TEST_F(GpuDisjointTimerTracerTest, GPUTrace) { 229 TEST_F(GpuDisjointTimerTracerTest, GPUTrace) {
230 // Test basic timer query functionality 230 // Test basic timer query functionality
231 { 231 {
232 DoTraceTest(); 232 DoTraceTest();
233 } 233 }
234 } 234 }
235 235
236 } // namespace gles2 236 } // namespace gles2
237 } // namespace gpu 237 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_tracer.h ('k') | gpu/command_buffer/service/in_process_command_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698