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

Side by Side Diff: mojo/shell/tests/application_manager_apptest.cc

Issue 1706833003: Move various Shell tests into a subdir. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@conn
Patch Set: . Created 4 years, 10 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/shell/tests/BUILD.gn ('k') | mojo/shell/tests/application_manager_apptest_driver.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/process/process_handle.h" 13 #include "base/process/process_handle.h"
14 #include "mojo/converters/network/network_type_converters.h" 14 #include "mojo/converters/network/network_type_converters.h"
15 #include "mojo/public/cpp/bindings/weak_binding_set.h" 15 #include "mojo/public/cpp/bindings/weak_binding_set.h"
16 #include "mojo/shell/application_manager_apptests.mojom.h"
17 #include "mojo/shell/public/cpp/application_test_base.h" 16 #include "mojo/shell/public/cpp/application_test_base.h"
18 #include "mojo/shell/public/cpp/interface_factory.h" 17 #include "mojo/shell/public/cpp/interface_factory.h"
19 #include "mojo/shell/public/cpp/shell.h" 18 #include "mojo/shell/public/cpp/shell.h"
20 #include "mojo/shell/public/interfaces/application_manager.mojom.h" 19 #include "mojo/shell/public/interfaces/application_manager.mojom.h"
20 #include "mojo/shell/tests/application_manager_apptests.mojom.h"
21 21
22 using mojo::shell::test::mojom::CreateInstanceForHandleTest; 22 using mojo::shell::test::mojom::CreateInstanceForHandleTest;
23 23
24 namespace mojo { 24 namespace mojo {
25 namespace shell { 25 namespace shell {
26 namespace { 26 namespace {
27 27
28 class ApplicationManagerAppTestDelegate 28 class ApplicationManagerAppTestDelegate
29 : public ShellClient, 29 : public ShellClient,
30 public InterfaceFactory<CreateInstanceForHandleTest>, 30 public InterfaceFactory<CreateInstanceForHandleTest>,
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 209
210 driver.set_connection_error_handler( 210 driver.set_connection_error_handler(
211 base::Bind(&ApplicationManagerAppTest::OnDriverQuit, 211 base::Bind(&ApplicationManagerAppTest::OnDriverQuit,
212 base::Unretained(this))); 212 base::Unretained(this)));
213 driver->QuitDriver(); 213 driver->QuitDriver();
214 base::MessageLoop::current()->Run(); 214 base::MessageLoop::current()->Run();
215 } 215 }
216 216
217 } // namespace shell 217 } // namespace shell
218 } // namespace mojo 218 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/tests/BUILD.gn ('k') | mojo/shell/tests/application_manager_apptest_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698