| 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 "base/files/scoped_temp_dir.h" | 5 #include "base/files/scoped_temp_dir.h" |
| 6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
| 7 #include "mojo/fetcher/base_application_fetcher.h" |
| 7 #include "mojo/runner/context.h" | 8 #include "mojo/runner/context.h" |
| 8 #include "mojo/shell/application_manager.h" | 9 #include "mojo/shell/application_manager.h" |
| 9 #include "mojo/util/filename_util.h" | 10 #include "mojo/util/filename_util.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 11 | 12 |
| 12 namespace mojo { | 13 namespace mojo { |
| 13 namespace runner { | 14 namespace runner { |
| 14 namespace { | 15 namespace { |
| 15 | 16 |
| 16 struct TestState { | 17 struct TestState { |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 service_provider.Pass(), shell::GetPermissiveCapabilityFilter(), | 100 service_provider.Pass(), shell::GetPermissiveCapabilityFilter(), |
| 100 base::Closure(), shell::EmptyConnectCallback()); | 101 base::Closure(), shell::EmptyConnectCallback()); |
| 101 EXPECT_FALSE(state_.runner_was_created); | 102 EXPECT_FALSE(state_.runner_was_created); |
| 102 EXPECT_FALSE(state_.runner_was_started); | 103 EXPECT_FALSE(state_.runner_was_started); |
| 103 EXPECT_FALSE(state_.runner_was_destroyed); | 104 EXPECT_FALSE(state_.runner_was_destroyed); |
| 104 } | 105 } |
| 105 | 106 |
| 106 } // namespace | 107 } // namespace |
| 107 } // namespace runner | 108 } // namespace runner |
| 108 } // namespace mojo | 109 } // namespace mojo |
| OLD | NEW |