OLD | NEW |
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/common/debug_marker_manager.h" | 5 #include "gpu/command_buffer/common/debug_marker_manager.h" |
6 #include "gpu/command_buffer/common/gl_mock.h" | |
7 #include "testing/gtest/include/gtest/gtest.h" | 6 #include "testing/gtest/include/gtest/gtest.h" |
| 7 #include "ui/gl/gl_mock.h" |
8 | 8 |
9 namespace gpu { | 9 namespace gpu { |
10 namespace gles2 { | 10 namespace gles2 { |
11 | 11 |
12 class DebugMarkerManagerTest : public testing::Test { | 12 class DebugMarkerManagerTest : public testing::Test { |
13 protected: | 13 protected: |
14 virtual void SetUp() { | 14 virtual void SetUp() { |
15 } | 15 } |
16 | 16 |
17 virtual void TearDown() { | 17 virtual void TearDown() { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 manager_.PopGroup(); | 54 manager_.PopGroup(); |
55 EXPECT_STREQ(".mark2", manager_.GetMarker().c_str()); | 55 EXPECT_STREQ(".mark2", manager_.GetMarker().c_str()); |
56 manager_.PopGroup(); | 56 manager_.PopGroup(); |
57 EXPECT_STREQ(".mark2", manager_.GetMarker().c_str()); | 57 EXPECT_STREQ(".mark2", manager_.GetMarker().c_str()); |
58 } | 58 } |
59 | 59 |
60 } // namespace gles2 | 60 } // namespace gles2 |
61 } // namespace gpu | 61 } // namespace gpu |
62 | 62 |
63 | 63 |
OLD | NEW |