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

Side by Side Diff: services/contacts/contacts_apptest.cc

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 | « services/contacts/BUILD.gn ('k') | services/dart/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 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 "base/run_loop.h" 5 #include "base/run_loop.h"
6 #include "mojo/public/cpp/application/application_impl.h" 6 #include "mojo/public/cpp/application/application_impl.h"
7 #include "mojo/public/cpp/application/application_test_base.h" 7 #include "mojo/public/cpp/application/application_test_base.h"
8 #include "mojo/services/contacts/public/interfaces/contacts.mojom.h" 8 #include "mojo/services/contacts/interfaces/contacts.mojom.h"
9 9
10 namespace contacts { 10 namespace contacts {
11 11
12 class ContactAppTest : public mojo::test::ApplicationTestBase { 12 class ContactAppTest : public mojo::test::ApplicationTestBase {
13 public: 13 public:
14 ContactAppTest() : ApplicationTestBase() {} 14 ContactAppTest() : ApplicationTestBase() {}
15 ~ContactAppTest() override {} 15 ~ContactAppTest() override {}
16 16
17 void SetUp() override { 17 void SetUp() override {
18 mojo::test::ApplicationTestBase::SetUp(); 18 mojo::test::ApplicationTestBase::SetUp();
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 contacts_service_->GetPhoto(0, true, [&url](const mojo::String& u) { 82 contacts_service_->GetPhoto(0, true, [&url](const mojo::String& u) {
83 url = u; 83 url = u;
84 base::MessageLoop::current()->QuitWhenIdle(); 84 base::MessageLoop::current()->QuitWhenIdle();
85 }); 85 });
86 { base::RunLoop().Run(); }; 86 { base::RunLoop().Run(); };
87 EXPECT_TRUE(url.is_null()); 87 EXPECT_TRUE(url.is_null());
88 } 88 }
89 89
90 } // namespace contacts 90 } // namespace contacts
OLDNEW
« no previous file with comments | « services/contacts/BUILD.gn ('k') | services/dart/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698