OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 // Tests for the ShareGroup. | |
6 | |
7 #include "gpu/command_buffer/client/share_group.h" | |
8 | |
9 #include "testing/gtest/include/gtest/gtest.h" | |
10 #include "testing/gmock/include/gmock/gmock.h" | |
11 | |
12 namespace gpu { | |
13 namespace gles2 { | |
14 | |
15 class ShareGroupTest : public testing::Test { | |
16 protected: | |
17 | |
18 virtual void SetUp() { | |
19 share_group_ = ShareGroup::Ref(new ShareGroup(false, false)); | |
20 } | |
21 | |
22 virtual void TearDown() { | |
23 } | |
24 | |
25 scoped_refptr<ShareGroup> share_group_; | |
26 }; | |
27 | |
28 TEST_F(ShareGroupTest, Basic) { | |
29 EXPECT_TRUE(ShareGroup::ImplementsThreadSafeReferenceCounting()); | |
30 } | |
31 | |
32 } // namespace gles2 | |
33 } // namespace gpu | |
34 | |
35 | |
OLD | NEW |