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

Side by Side Diff: cc/test/geometry_test_utils.cc

Issue 11410021: Remove WTF and WebCore from cc/ and webkit/compositor_bindings/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix content_browsertests Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/test/fake_proxy.cc ('k') | cc/test/layer_test_common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "config.h"
6
7 #include "cc/test/geometry_test_utils.h" 5 #include "cc/test/geometry_test_utils.h"
8 6
9 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
10 #include <public/WebTransformationMatrix.h> 8 #include <public/WebTransformationMatrix.h>
11 9
12 namespace WebKitTests { 10 namespace WebKitTests {
13 11
14 void ExpectTransformationMatrixEq(const WebKit::WebTransformationMatrix& expecte d, 12 void ExpectTransformationMatrixEq(const WebKit::WebTransformationMatrix& expecte d,
15 const WebKit::WebTransformationMatrix& actual) 13 const WebKit::WebTransformationMatrix& actual)
16 { 14 {
17 EXPECT_FLOAT_EQ((expected).m11(), (actual).m11()); 15 EXPECT_FLOAT_EQ((expected).m11(), (actual).m11());
18 EXPECT_FLOAT_EQ((expected).m12(), (actual).m12()); 16 EXPECT_FLOAT_EQ((expected).m12(), (actual).m12());
19 EXPECT_FLOAT_EQ((expected).m13(), (actual).m13()); 17 EXPECT_FLOAT_EQ((expected).m13(), (actual).m13());
20 EXPECT_FLOAT_EQ((expected).m14(), (actual).m14()); 18 EXPECT_FLOAT_EQ((expected).m14(), (actual).m14());
21 EXPECT_FLOAT_EQ((expected).m21(), (actual).m21()); 19 EXPECT_FLOAT_EQ((expected).m21(), (actual).m21());
22 EXPECT_FLOAT_EQ((expected).m22(), (actual).m22()); 20 EXPECT_FLOAT_EQ((expected).m22(), (actual).m22());
23 EXPECT_FLOAT_EQ((expected).m23(), (actual).m23()); 21 EXPECT_FLOAT_EQ((expected).m23(), (actual).m23());
24 EXPECT_FLOAT_EQ((expected).m24(), (actual).m24()); 22 EXPECT_FLOAT_EQ((expected).m24(), (actual).m24());
25 EXPECT_FLOAT_EQ((expected).m31(), (actual).m31()); 23 EXPECT_FLOAT_EQ((expected).m31(), (actual).m31());
26 EXPECT_FLOAT_EQ((expected).m32(), (actual).m32()); 24 EXPECT_FLOAT_EQ((expected).m32(), (actual).m32());
27 EXPECT_FLOAT_EQ((expected).m33(), (actual).m33()); 25 EXPECT_FLOAT_EQ((expected).m33(), (actual).m33());
28 EXPECT_FLOAT_EQ((expected).m34(), (actual).m34()); 26 EXPECT_FLOAT_EQ((expected).m34(), (actual).m34());
29 EXPECT_FLOAT_EQ((expected).m41(), (actual).m41()); 27 EXPECT_FLOAT_EQ((expected).m41(), (actual).m41());
30 EXPECT_FLOAT_EQ((expected).m42(), (actual).m42()); 28 EXPECT_FLOAT_EQ((expected).m42(), (actual).m42());
31 EXPECT_FLOAT_EQ((expected).m43(), (actual).m43()); 29 EXPECT_FLOAT_EQ((expected).m43(), (actual).m43());
32 EXPECT_FLOAT_EQ((expected).m44(), (actual).m44()); 30 EXPECT_FLOAT_EQ((expected).m44(), (actual).m44());
33 } 31 }
34 32
35 } // namespace WebKitTests 33 } // namespace WebKitTests
36
OLDNEW
« no previous file with comments | « cc/test/fake_proxy.cc ('k') | cc/test/layer_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698