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

Side by Side Diff: cc/test/CCGeometryTestUtils.cpp

Issue 11035010: cc: Change gtest includes to the style used in chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: testSuite -> test_suite 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/TreeSynchronizerTest.cpp ('k') | cc/test/CCLayerTestCommon.cpp » ('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" 5 #include "config.h"
6 6
7 #include "CCGeometryTestUtils.h" 7 #include "CCGeometryTestUtils.h"
8 8
9 #include <gtest/gtest.h> 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include <public/WebTransformationMatrix.h> 10 #include <public/WebTransformationMatrix.h>
11 11
12 namespace WebKitTests { 12 namespace WebKitTests {
13 13
14 void ExpectTransformationMatrixEq(const WebKit::WebTransformationMatrix& expecte d, 14 void ExpectTransformationMatrixEq(const WebKit::WebTransformationMatrix& expecte d,
15 const WebKit::WebTransformationMatrix& actual) 15 const WebKit::WebTransformationMatrix& actual)
16 { 16 {
17 EXPECT_FLOAT_EQ((expected).m11(), (actual).m11()); 17 EXPECT_FLOAT_EQ((expected).m11(), (actual).m11());
18 EXPECT_FLOAT_EQ((expected).m12(), (actual).m12()); 18 EXPECT_FLOAT_EQ((expected).m12(), (actual).m12());
19 EXPECT_FLOAT_EQ((expected).m13(), (actual).m13()); 19 EXPECT_FLOAT_EQ((expected).m13(), (actual).m13());
20 EXPECT_FLOAT_EQ((expected).m14(), (actual).m14()); 20 EXPECT_FLOAT_EQ((expected).m14(), (actual).m14());
21 EXPECT_FLOAT_EQ((expected).m21(), (actual).m21()); 21 EXPECT_FLOAT_EQ((expected).m21(), (actual).m21());
22 EXPECT_FLOAT_EQ((expected).m22(), (actual).m22()); 22 EXPECT_FLOAT_EQ((expected).m22(), (actual).m22());
23 EXPECT_FLOAT_EQ((expected).m23(), (actual).m23()); 23 EXPECT_FLOAT_EQ((expected).m23(), (actual).m23());
24 EXPECT_FLOAT_EQ((expected).m24(), (actual).m24()); 24 EXPECT_FLOAT_EQ((expected).m24(), (actual).m24());
25 EXPECT_FLOAT_EQ((expected).m31(), (actual).m31()); 25 EXPECT_FLOAT_EQ((expected).m31(), (actual).m31());
26 EXPECT_FLOAT_EQ((expected).m32(), (actual).m32()); 26 EXPECT_FLOAT_EQ((expected).m32(), (actual).m32());
27 EXPECT_FLOAT_EQ((expected).m33(), (actual).m33()); 27 EXPECT_FLOAT_EQ((expected).m33(), (actual).m33());
28 EXPECT_FLOAT_EQ((expected).m34(), (actual).m34()); 28 EXPECT_FLOAT_EQ((expected).m34(), (actual).m34());
29 EXPECT_FLOAT_EQ((expected).m41(), (actual).m41()); 29 EXPECT_FLOAT_EQ((expected).m41(), (actual).m41());
30 EXPECT_FLOAT_EQ((expected).m42(), (actual).m42()); 30 EXPECT_FLOAT_EQ((expected).m42(), (actual).m42());
31 EXPECT_FLOAT_EQ((expected).m43(), (actual).m43()); 31 EXPECT_FLOAT_EQ((expected).m43(), (actual).m43());
32 EXPECT_FLOAT_EQ((expected).m44(), (actual).m44()); 32 EXPECT_FLOAT_EQ((expected).m44(), (actual).m44());
33 } 33 }
34 34
35 } // namespace WebKitTests 35 } // namespace WebKitTests
36 36
OLDNEW
« no previous file with comments | « cc/TreeSynchronizerTest.cpp ('k') | cc/test/CCLayerTestCommon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698