OLD | NEW |
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_factory.h" | 5 #include "athena/activity/public/activity_factory.h" |
6 #include "athena/activity/public/activity_manager.h" | 6 #include "athena/activity/public/activity_manager.h" |
7 #include "athena/content/app_activity.h" | 7 #include "athena/content/app_activity.h" |
8 #include "athena/content/app_activity_registry.h" | 8 #include "athena/content/app_activity_registry.h" |
9 #include "athena/content/public/app_registry.h" | 9 #include "athena/content/public/app_registry.h" |
10 #include "athena/extensions/public/extensions_delegate.h" | 10 #include "athena/extensions/public/extensions_delegate.h" |
11 #include "athena/resource_manager/public/resource_manager.h" | 11 #include "athena/resource_manager/public/resource_manager.h" |
12 #include "athena/test/athena_test_base.h" | 12 #include "athena/test/base/athena_test_base.h" |
13 #include "extensions/common/extension_set.h" | 13 #include "extensions/common/extension_set.h" |
14 #include "ui/aura/window.h" | 14 #include "ui/aura/window.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 content { | 18 namespace content { |
19 class BrowserContext; | 19 class BrowserContext; |
20 } | 20 } |
21 | 21 |
22 namespace athena { | 22 namespace athena { |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 // However - the restart in this test framework does not really restart and | 426 // However - the restart in this test framework does not really restart and |
427 // all objects should be still there.. | 427 // all objects should be still there.. |
428 EXPECT_EQ(1, AppRegistry::Get()->NumberOfApplications()); | 428 EXPECT_EQ(1, AppRegistry::Get()->NumberOfApplications()); |
429 EXPECT_TRUE(app_activity_registry->unloaded_activity_proxy()); | 429 EXPECT_TRUE(app_activity_registry->unloaded_activity_proxy()); |
430 Activity::Delete(app_activity_registry->unloaded_activity_proxy()); | 430 Activity::Delete(app_activity_registry->unloaded_activity_proxy()); |
431 EXPECT_EQ(0, AppRegistry::Get()->NumberOfApplications()); | 431 EXPECT_EQ(0, AppRegistry::Get()->NumberOfApplications()); |
432 } | 432 } |
433 | 433 |
434 } // namespace test | 434 } // namespace test |
435 } // namespace athena | 435 } // namespace athena |
OLD | NEW |