OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ui/gl/gpu_timing_fake.h" | 5 #include "ui/gl/gpu_timing_fake.h" |
6 | 6 |
7 #include "base/time/time.h" | 7 #include "base/time/time.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 #include "ui/gl/gl_mock.h" | 9 #include "ui/gl/gl_mock.h" |
10 | 10 |
11 namespace gfx { | 11 namespace gl { |
12 | 12 |
13 using ::testing::_; | 13 using ::testing::_; |
14 using ::testing::AtLeast; | 14 using ::testing::AtLeast; |
15 using ::testing::AtMost; | 15 using ::testing::AtMost; |
16 using ::testing::Exactly; | 16 using ::testing::Exactly; |
17 using ::testing::Invoke; | 17 using ::testing::Invoke; |
18 using ::testing::NotNull; | 18 using ::testing::NotNull; |
19 using ::testing::DoAll; | 19 using ::testing::DoAll; |
20 using ::testing::Return; | 20 using ::testing::Return; |
21 using ::testing::SetArgPointee; | 21 using ::testing::SetArgPointee; |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 break; | 288 break; |
289 default: | 289 default: |
290 FAIL() << "Invalid variable passed to GetIntegerv: " << pname; | 290 FAIL() << "Invalid variable passed to GetIntegerv: " << pname; |
291 } | 291 } |
292 } | 292 } |
293 | 293 |
294 GLenum GPUTimingFake::FakeGLGetError() { | 294 GLenum GPUTimingFake::FakeGLGetError() { |
295 return GL_NO_ERROR; | 295 return GL_NO_ERROR; |
296 } | 296 } |
297 | 297 |
298 } // namespace gfx | 298 } // namespace gl |
OLD | NEW |