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

Side by Side Diff: services/view_manager/animation_runner_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/access_policy.h ('k') | services/view_manager/client_connection.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/animation_runner.h" 5 #include "services/view_manager/animation_runner.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "mojo/converters/geometry/geometry_type_converters.h" 8 #include "mojo/converters/geometry/geometry_type_converters.h"
9 #include "mojo/services/view_manager/public/interfaces/view_manager_constants.mo jom.h" 9 #include "mojo/services/view_manager/interfaces/view_manager_constants.mojom.h"
10 #include "services/view_manager/animation_runner_observer.h" 10 #include "services/view_manager/animation_runner_observer.h"
11 #include "services/view_manager/scheduled_animation_group.h" 11 #include "services/view_manager/scheduled_animation_group.h"
12 #include "services/view_manager/server_view.h" 12 #include "services/view_manager/server_view.h"
13 #include "services/view_manager/test_server_view_delegate.h" 13 #include "services/view_manager/test_server_view_delegate.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 using base::TimeDelta; 16 using base::TimeDelta;
17 using mojo::AnimationElement; 17 using mojo::AnimationElement;
18 using mojo::AnimationGroup; 18 using mojo::AnimationGroup;
19 using mojo::AnimationProperty; 19 using mojo::AnimationProperty;
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 ASSERT_EQ(0u, runner_observer_.changes()->size()); 627 ASSERT_EQ(0u, runner_observer_.changes()->size());
628 628
629 // Animate to end. 629 // Animate to end.
630 runner_.Tick(initial_time_ + TimeDelta::FromMicroseconds(2000)); 630 runner_.Tick(initial_time_ + TimeDelta::FromMicroseconds(2000));
631 ASSERT_EQ(1u, runner_observer_.changes()->size()); 631 ASSERT_EQ(1u, runner_observer_.changes()->size());
632 EXPECT_EQ("done", runner_observer_.changes()->at(0)); 632 EXPECT_EQ("done", runner_observer_.changes()->at(0));
633 EXPECT_EQ(animation_id2, runner_observer_.change_ids()->at(0)); 633 EXPECT_EQ(animation_id2, runner_observer_.change_ids()->at(0));
634 } 634 }
635 635
636 } // namespace view_manager 636 } // namespace view_manager
OLDNEW
« no previous file with comments | « services/view_manager/access_policy.h ('k') | services/view_manager/client_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698