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

Side by Side Diff: cc/animation/transform_operations_unittest.cc

Issue 12965007: Fix cpplint errors in cc/(animation|input|layers|trees|test)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 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/animation/transform_operations.cc ('k') | cc/input/page_scale_animation.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <limits>
6
5 #include "base/memory/scoped_vector.h" 7 #include "base/memory/scoped_vector.h"
6 #include "cc/animation/transform_operations.h" 8 #include "cc/animation/transform_operations.h"
7 #include "cc/test/geometry_test_utils.h" 9 #include "cc/test/geometry_test_utils.h"
8 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
9 #include "ui/gfx/vector3d_f.h" 11 #include "ui/gfx/vector3d_f.h"
10 12
11 namespace cc { 13 namespace cc {
12 namespace { 14 namespace {
13 15
14 TEST(TransformOperationTest, TransformTypesAreUnique) { 16 TEST(TransformOperationTest, TransformTypesAreUnique) {
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 expected.ApplyPerspectiveDepth( 596 expected.ApplyPerspectiveDepth(
595 500 + 0.5 * std::numeric_limits<double>::max()); 597 500 + 0.5 * std::numeric_limits<double>::max());
596 598
597 EXPECT_TRANSFORMATION_MATRIX_EQ( 599 EXPECT_TRANSFORMATION_MATRIX_EQ(
598 expected, identity_operations[i]->Blend(operations, progress)); 600 expected, identity_operations[i]->Blend(operations, progress));
599 } 601 }
600 } 602 }
601 603
602 } // namespace 604 } // namespace
603 } // namespace cc 605 } // namespace cc
OLDNEW
« no previous file with comments | « cc/animation/transform_operations.cc ('k') | cc/input/page_scale_animation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698