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

Side by Side Diff: mojo/runner/native_runner_unittest.cc

Issue 1352663002: Extract some stuff into PackageManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 3 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 | « mojo/runner/context.cc ('k') | mojo/shell/BUILD.gn » ('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 "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"
8 #include "mojo/runner/context.h" 7 #include "mojo/runner/context.h"
9 #include "mojo/shell/application_manager.h" 8 #include "mojo/shell/application_manager.h"
10 #include "mojo/util/filename_util.h" 9 #include "mojo/util/filename_util.h"
11 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
12 11
13 namespace mojo { 12 namespace mojo {
14 namespace runner { 13 namespace runner {
15 namespace { 14 namespace {
16 15
17 struct TestState { 16 struct TestState {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 service_provider.Pass(), shell::GetPermissiveCapabilityFilter(), 99 service_provider.Pass(), shell::GetPermissiveCapabilityFilter(),
101 base::Closure(), shell::EmptyConnectCallback()); 100 base::Closure(), shell::EmptyConnectCallback());
102 EXPECT_FALSE(state_.runner_was_created); 101 EXPECT_FALSE(state_.runner_was_created);
103 EXPECT_FALSE(state_.runner_was_started); 102 EXPECT_FALSE(state_.runner_was_started);
104 EXPECT_FALSE(state_.runner_was_destroyed); 103 EXPECT_FALSE(state_.runner_was_destroyed);
105 } 104 }
106 105
107 } // namespace 106 } // namespace
108 } // namespace runner 107 } // namespace runner
109 } // namespace mojo 108 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/runner/context.cc ('k') | mojo/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698