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

Unified Diff: cc/test/FakeGraphicsContext3DTest.cpp

Issue 11108020: [cc] Change cc_tests.gyp filenames to Chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/FakeCCLayerTreeHostClient.cpp ('k') | cc/test/FakeWebCompositorOutputSurface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/FakeGraphicsContext3DTest.cpp
diff --git a/cc/test/FakeGraphicsContext3DTest.cpp b/cc/test/FakeGraphicsContext3DTest.cpp
deleted file mode 100644
index bb06e6457755f76d66d08a74b43b46ad52d643aa..0000000000000000000000000000000000000000
--- a/cc/test/FakeGraphicsContext3DTest.cpp
+++ /dev/null
@@ -1,33 +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 "config.h"
-
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "FakeWebGraphicsContext3D.h"
-#include "testing/gmock/include/gmock/gmock.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-class ContextThatCountsMakeCurrents : public WebKit::FakeWebGraphicsContext3D {
-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());
-}
« no previous file with comments | « cc/test/FakeCCLayerTreeHostClient.cpp ('k') | cc/test/FakeWebCompositorOutputSurface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698