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

Side by Side Diff: athena/wm/window_list_provider_impl_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/wm/split_view_controller_unittest.cc ('k') | athena/wm/window_manager_unittest.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 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/wm/window_list_provider_impl.h" 5 #include "athena/wm/window_list_provider_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "athena/test/athena_test_base.h" 9 #include "athena/test/base/athena_test_base.h"
10 #include "athena/wm/public/window_list_provider_observer.h" 10 #include "athena/wm/public/window_list_provider_observer.h"
11 #include "ui/aura/test/test_window_delegate.h" 11 #include "ui/aura/test/test_window_delegate.h"
12 #include "ui/aura/window.h" 12 #include "ui/aura/window.h"
13 13
14 namespace athena { 14 namespace athena {
15 15
16 namespace { 16 namespace {
17 17
18 bool AreWindowListsEqual(const aura::Window::Windows& one, 18 bool AreWindowListsEqual(const aura::Window::Windows& one,
19 const aura::Window::Windows& two) { 19 const aura::Window::Windows& two) {
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 window1.reset(); 281 window1.reset();
282 ASSERT_EQ(1U, list_provider->GetWindowList().size()); 282 ASSERT_EQ(1U, list_provider->GetWindowList().size());
283 EXPECT_EQ(2, observer->window_removal_calls()); 283 EXPECT_EQ(2, observer->window_removal_calls());
284 284
285 window3.reset(); 285 window3.reset();
286 ASSERT_EQ(0U, list_provider->GetWindowList().size()); 286 ASSERT_EQ(0U, list_provider->GetWindowList().size());
287 EXPECT_EQ(3, observer->window_removal_calls()); 287 EXPECT_EQ(3, observer->window_removal_calls());
288 } 288 }
289 289
290 } // namespace athena 290 } // namespace athena
OLDNEW
« no previous file with comments | « athena/wm/split_view_controller_unittest.cc ('k') | athena/wm/window_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698