diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-24 10:10:54 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-24 10:10:54 +0000 |
commit | f005593ba12f324bbfe104dacf55261f7878a191 (patch) | |
tree | 38f956c0170dde1a31dd499c60fba6e4610190ab /cc/test | |
parent | fa199e7386e4330f7242257089dc6739ece811ff (diff) | |
download | chromium_src-f005593ba12f324bbfe104dacf55261f7878a191.zip chromium_src-f005593ba12f324bbfe104dacf55261f7878a191.tar.gz chromium_src-f005593ba12f324bbfe104dacf55261f7878a191.tar.bz2 |
cc: Remove unused fake_graphics_context_3d_unittest
This is the same test as fake_web_graphics_context_3d_unittest (except on
TestWebGraphicsContext3D and not on its parent class FakeWebGraphicsContext3D)
and also is not even included in cc_tests.gyp.
R=danakj@chromium.org
BUG=none
Review URL: https://chromiumcodereview.appspot.com/13008022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190254 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test')
-rw-r--r-- | cc/test/fake_graphics_context_3d_unittest.cc | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/cc/test/fake_graphics_context_3d_unittest.cc b/cc/test/fake_graphics_context_3d_unittest.cc deleted file mode 100644 index f5e0c66..0000000 --- a/cc/test/fake_graphics_context_3d_unittest.cc +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2011 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "base/compiler_specific.h" -#include "base/memory/scoped_ptr.h" -#include "cc/test/test_web_graphics_context_3d.h" -#include "testing/gmock/include/gmock/gmock.h" -#include "testing/gtest/include/gtest/gtest.h" - -namespace cc { -namespace { - -class ContextThatCountsMakeCurrents : public TestWebGraphicsContext3D { -public: - ContextThatCountsMakeCurrents() : m_makeCurrentCount(0) { } - virtual bool makeContextCurrent() OVERRIDE - { - m_makeCurrentCount++; - return true; - } - int makeCurrentCount() const { return m_makeCurrentCount; } - -private: - int m_makeCurrentCount; -}; - - -TEST(FakeGraphicsContext3DTest, ContextCreationShouldNotMakeCurrent) -{ - scoped_ptr<ContextThatCountsMakeCurrents> context(new ContextThatCountsMakeCurrents); - EXPECT_TRUE(context.get()); - EXPECT_EQ(0, context->makeCurrentCount()); -} - -} // namespace -} // namespace cc |