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

Side by Side Diff: services/view_manager/scheduled_animation_group_unittest.cc

Issue 1391243003: Move //mojo/services/X/public/... to //mojo/services/X/... (part 4). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_3-x-no_public_2-x-no_public_1
Patch Set: copyright header Created 5 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
« no previous file with comments | « services/view_manager/scheduled_animation_group.h ('k') | services/view_manager/server_view.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "services/view_manager/scheduled_animation_group.h" 5 #include "services/view_manager/scheduled_animation_group.h"
6 6
7 #include "mojo/converters/geometry/geometry_type_converters.h" 7 #include "mojo/converters/geometry/geometry_type_converters.h"
8 #include "mojo/services/view_manager/public/interfaces/animations.mojom.h" 8 #include "mojo/services/view_manager/interfaces/animations.mojom.h"
9 #include "services/view_manager/server_view.h" 9 #include "services/view_manager/server_view.h"
10 #include "services/view_manager/test_server_view_delegate.h" 10 #include "services/view_manager/test_server_view_delegate.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 using mojo::AnimationProperty; 13 using mojo::AnimationProperty;
14 using mojo::AnimationTweenType; 14 using mojo::AnimationTweenType;
15 using mojo::AnimationGroup; 15 using mojo::AnimationGroup;
16 using mojo::AnimationSequence; 16 using mojo::AnimationSequence;
17 using mojo::AnimationElement; 17 using mojo::AnimationElement;
18 using mojo::AnimationValue; 18 using mojo::AnimationValue;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 element2.tween_type = AnimationTweenType::LINEAR; 85 element2.tween_type = AnimationTweenType::LINEAR;
86 86
87 // Element with no target_value is not valid. 87 // Element with no target_value is not valid.
88 EXPECT_FALSE(IsAnimationGroupValid(group)); 88 EXPECT_FALSE(IsAnimationGroupValid(group));
89 89
90 element2.property = AnimationProperty::NONE; 90 element2.property = AnimationProperty::NONE;
91 EXPECT_TRUE(IsAnimationGroupValid(group)); 91 EXPECT_TRUE(IsAnimationGroupValid(group));
92 } 92 }
93 93
94 } // namespace view_manager 94 } // namespace view_manager
OLDNEW
« no previous file with comments | « services/view_manager/scheduled_animation_group.h ('k') | services/view_manager/server_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698