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

Side by Side Diff: athena/screen/screen_manager_unittest.cc

Issue 617043002: Moving athena/test to athena/test/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « athena/resource_manager/resource_manager_unittest.cc ('k') | athena/test/athena_test_base.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 "athena/screen/public/screen_manager.h" 5 #include "athena/screen/public/screen_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "athena/test/athena_test_base.h" 10 #include "athena/test/base/athena_test_base.h"
11 #include "athena/util/container_priorities.h" 11 #include "athena/util/container_priorities.h"
12 #include "ui/aura/test/test_window_delegate.h" 12 #include "ui/aura/test/test_window_delegate.h"
13 #include "ui/aura/window.h" 13 #include "ui/aura/window.h"
14 #include "ui/events/test/event_generator.h" 14 #include "ui/events/test/event_generator.h"
15 #include "ui/wm/core/window_util.h" 15 #include "ui/wm/core/window_util.h"
16 16
17 typedef athena::test::AthenaTestBase ScreenManagerTest; 17 typedef athena::test::AthenaTestBase ScreenManagerTest;
18 18
19 namespace athena { 19 namespace athena {
20 namespace { 20 namespace {
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 EXPECT_EQ("0 0", grab_delegate.GetMouseButtonCountsAndReset()); 230 EXPECT_EQ("0 0", grab_delegate.GetMouseButtonCountsAndReset());
231 231
232 // After release, further mouse events should not be sent to |normal_window| 232 // After release, further mouse events should not be sent to |normal_window|
233 // because grab_container grabs the input. 233 // because grab_container grabs the input.
234 event_generator.ClickLeftButton(); 234 event_generator.ClickLeftButton();
235 EXPECT_EQ("0 0", normal_delegate.GetMouseButtonCountsAndReset()); 235 EXPECT_EQ("0 0", normal_delegate.GetMouseButtonCountsAndReset());
236 EXPECT_EQ("0 0", grab_delegate.GetMouseButtonCountsAndReset()); 236 EXPECT_EQ("0 0", grab_delegate.GetMouseButtonCountsAndReset());
237 } 237 }
238 238
239 } // namespace athena 239 } // namespace athena
OLDNEW
« no previous file with comments | « athena/resource_manager/resource_manager_unittest.cc ('k') | athena/test/athena_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698