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

Side by Side Diff: shell/dynamic_application_loader_unittest.cc

Issue 775343004: Move //mojo/shell to //shell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « shell/dynamic_application_loader.cc ('k') | shell/dynamic_service_runner.h » ('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 "mojo/shell/context.h" 6 #include "shell/context.h"
7 #include "mojo/shell/dynamic_application_loader.h" 7 #include "shell/dynamic_application_loader.h"
8 #include "mojo/shell/dynamic_service_runner.h" 8 #include "shell/dynamic_service_runner.h"
9 #include "mojo/shell/filename_util.h" 9 #include "shell/filename_util.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 namespace shell { 13 namespace shell {
14 14
15 namespace { 15 namespace {
16 16
17 struct TestState { 17 struct TestState {
18 TestState() 18 TestState()
19 : runner_was_created(false), 19 : runner_was_created(false),
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 MessagePipe pipe; 85 MessagePipe pipe;
86 loader_->Load(context_.application_manager(), url, pipe.handle0.Pass(), 86 loader_->Load(context_.application_manager(), url, pipe.handle0.Pass(),
87 ApplicationLoader::SimpleLoadCallback()); 87 ApplicationLoader::SimpleLoadCallback());
88 EXPECT_FALSE(state_.runner_was_created); 88 EXPECT_FALSE(state_.runner_was_created);
89 EXPECT_FALSE(state_.runner_was_started); 89 EXPECT_FALSE(state_.runner_was_started);
90 EXPECT_FALSE(state_.runner_was_destroyed); 90 EXPECT_FALSE(state_.runner_was_destroyed);
91 } 91 }
92 92
93 } // namespace shell 93 } // namespace shell
94 } // namespace mojo 94 } // namespace mojo
OLDNEW
« no previous file with comments | « shell/dynamic_application_loader.cc ('k') | shell/dynamic_service_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698