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

Unified Diff: cc/test/CCLayerTestCommon.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/CCLayerTestCommon.h ('k') | cc/test/CCOcclusionTrackerTestCommon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/CCLayerTestCommon.cpp
diff --git a/cc/test/CCLayerTestCommon.cpp b/cc/test/CCLayerTestCommon.cpp
deleted file mode 100644
index f62c488670d682b8257737c77bc9cd11da8e65cf..0000000000000000000000000000000000000000
--- a/cc/test/CCLayerTestCommon.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2012 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 "CCLayerTestCommon.h"
-#include "CCDrawQuad.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace CCLayerTestCommon {
-
-// Align with expected and actual output
-const char* quadString = " Quad: ";
-
-void verifyQuadsExactlyCoverRect(const cc::CCQuadList& quads,
- const cc::IntRect& rect) {
- cc::Region remaining(rect);
-
- for (size_t i = 0; i < quads.size(); ++i) {
- cc::CCDrawQuad* quad = quads[i];
- cc::IntRect quadRect = quad->quadRect();
-
- EXPECT_TRUE(rect.contains(quadRect)) << quadString << i;
- EXPECT_TRUE(remaining.contains(quadRect)) << quadString << i;
- remaining.subtract(cc::Region(quadRect));
- }
-
- EXPECT_TRUE(remaining.isEmpty());
-}
-
-} // namespace CCLayerTestCommon
« no previous file with comments | « cc/test/CCLayerTestCommon.h ('k') | cc/test/CCOcclusionTrackerTestCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698