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

Side by Side Diff: services/shell/tests/loader_unittest.cc

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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
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 <utility> 5 #include <utility>
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "mojo/public/cpp/bindings/strong_binding.h" 13 #include "mojo/public/cpp/bindings/strong_binding.h"
14 #include "mojo/services/catalog/factory.h" 14 #include "mojo/services/catalog/factory.h"
15 #include "mojo/services/catalog/store.h" 15 #include "mojo/services/catalog/store.h"
16 #include "mojo/shell/connect_util.h" 16 #include "services/shell/connect_util.h"
17 #include "mojo/shell/loader.h" 17 #include "services/shell/loader.h"
18 #include "mojo/shell/public/cpp/connector.h" 18 #include "services/shell/public/cpp/connector.h"
19 #include "mojo/shell/public/cpp/interface_factory.h" 19 #include "services/shell/public/cpp/interface_factory.h"
20 #include "mojo/shell/public/cpp/shell_client.h" 20 #include "services/shell/public/cpp/shell_client.h"
21 #include "mojo/shell/public/cpp/shell_connection.h" 21 #include "services/shell/public/cpp/shell_connection.h"
22 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" 22 #include "services/shell/public/interfaces/interface_provider.mojom.h"
23 #include "mojo/shell/shell.h" 23 #include "services/shell/shell.h"
24 #include "mojo/shell/tests/test.mojom.h" 24 #include "services/shell/tests/test.mojom.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 26
27 namespace mojo { 27 namespace mojo {
28 namespace shell { 28 namespace shell {
29 namespace test { 29 namespace test {
30 30
31 const char kTestURLString[] = "test:testService"; 31 const char kTestURLString[] = "test:testService";
32 const char kTestAURLString[] = "test:TestA"; 32 const char kTestAURLString[] = "test:TestA";
33 const char kTestBURLString[] = "test:TestB"; 33 const char kTestBURLString[] = "test:TestB";
34 34
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 EXPECT_EQ(2, test_loader_->num_loads()); 552 EXPECT_EQ(2, test_loader_->num_loads());
553 553
554 // A different identity because the domain is different. 554 // A different identity because the domain is different.
555 ConnectToInterface("test:bar", &test_service); 555 ConnectToInterface("test:bar", &test_service);
556 EXPECT_EQ(3, test_loader_->num_loads()); 556 EXPECT_EQ(3, test_loader_->num_loads());
557 } 557 }
558 558
559 } // namespace test 559 } // namespace test
560 } // namespace shell 560 } // namespace shell
561 } // namespace mojo 561 } // namespace mojo
OLDNEW
« no previous file with comments | « services/shell/tests/lifecycle/parent_manifest.json ('k') | services/shell/tests/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698