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

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

Issue 790623003: Restructure public side of view_manager service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: BUILD.gn file reorderings Created 6 years 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/public/interfaces/view_manager/animations.mojom.h" 8 #include "mojo/services/view_manager/public/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 namespace mojo { 13 namespace mojo {
14 namespace service { 14 namespace service {
15 namespace { 15 namespace {
16 16
17 bool IsAnimationGroupValid(const AnimationGroup& transport_group) { 17 bool IsAnimationGroupValid(const AnimationGroup& transport_group) {
18 TestServerViewDelegate view_delegate; 18 TestServerViewDelegate view_delegate;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 // Element with no target_value is not valid. 81 // Element with no target_value is not valid.
82 EXPECT_FALSE(IsAnimationGroupValid(group)); 82 EXPECT_FALSE(IsAnimationGroupValid(group));
83 83
84 element2.property = ANIMATION_PROPERTY_NONE; 84 element2.property = ANIMATION_PROPERTY_NONE;
85 EXPECT_TRUE(IsAnimationGroupValid(group)); 85 EXPECT_TRUE(IsAnimationGroupValid(group));
86 } 86 }
87 87
88 } // namespace service 88 } // namespace service
89 } // namespace mojo 89 } // namespace mojo
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