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

Side by Side Diff: athena/resource_manager/resource_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
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/activity/public/activity.h" 5 #include "athena/activity/public/activity.h"
6 #include "athena/activity/public/activity_manager.h" 6 #include "athena/activity/public/activity_manager.h"
7 #include "athena/activity/public/activity_view_model.h" 7 #include "athena/activity/public/activity_view_model.h"
8 #include "athena/resource_manager/memory_pressure_notifier.h" 8 #include "athena/resource_manager/memory_pressure_notifier.h"
9 #include "athena/resource_manager/public/resource_manager.h" 9 #include "athena/resource_manager/public/resource_manager.h"
10 #include "athena/test/athena_test_base.h" 10 #include "athena/test/base/athena_test_base.h"
11 #include "athena/test/sample_activity.h" 11 #include "athena/test/base/sample_activity.h"
12 #include "athena/wm/public/window_manager.h" 12 #include "athena/wm/public/window_manager.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "ui/gfx/image/image_skia.h" 14 #include "ui/gfx/image/image_skia.h"
15 #include "ui/views/view.h" 15 #include "ui/views/view.h"
16 #include "ui/views/widget/widget.h" 16 #include "ui/views/widget/widget.h"
17 17
18 namespace athena { 18 namespace athena {
19 namespace test { 19 namespace test {
20 20
21 namespace { 21 namespace {
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 ResourceManager::Get()->SetMemoryPressureAndStopMonitoring( 353 ResourceManager::Get()->SetMemoryPressureAndStopMonitoring(
354 MemoryPressureObserver::MEMORY_PRESSURE_CRITICAL); 354 MemoryPressureObserver::MEMORY_PRESSURE_CRITICAL);
355 EXPECT_EQ(Activity::ACTIVITY_VISIBLE, app1->GetCurrentState()); 355 EXPECT_EQ(Activity::ACTIVITY_VISIBLE, app1->GetCurrentState());
356 EXPECT_EQ(Activity::ACTIVITY_INVISIBLE, app2->GetCurrentState()); 356 EXPECT_EQ(Activity::ACTIVITY_INVISIBLE, app2->GetCurrentState());
357 EXPECT_EQ(Activity::ACTIVITY_UNLOADED, app3->GetCurrentState()); 357 EXPECT_EQ(Activity::ACTIVITY_UNLOADED, app3->GetCurrentState());
358 EXPECT_EQ(Activity::ACTIVITY_UNLOADED, app4->GetCurrentState()); 358 EXPECT_EQ(Activity::ACTIVITY_UNLOADED, app4->GetCurrentState());
359 } 359 }
360 360
361 } // namespace test 361 } // namespace test
362 } // namespace athena 362 } // namespace athena
OLDNEW
« no previous file with comments | « athena/resource_manager/memory_pressure_notifier_unittest.cc ('k') | athena/screen/screen_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698