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

Side by Side Diff: services/files/c/tests/mojio_impl_test_base.cc

Issue 1133933002: Move //services/files/c -> //mojo/services/files/public/c. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove data dep Created 5 years, 7 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "services/files/c/tests/mojio_impl_test_base.h"
6
7 #include "mojo/public/cpp/application/application_impl.h"
8 #include "mojo/public/cpp/bindings/interface_request.h"
9 #include "mojo/public/cpp/environment/logging.h"
10 #include "mojo/services/files/public/interfaces/files.mojom.h"
11 #include "services/files/c/lib/template_util.h"
12
13 namespace mojio {
14 namespace test {
15
16 MojioImplTestBase::MojioImplTestBase() {
17 }
18
19 MojioImplTestBase::~MojioImplTestBase() {
20 }
21
22 void MojioImplTestBase::SetUp() {
23 mojo::test::ApplicationTestBase::SetUp();
24
25 mojo::files::FilesPtr files;
26 application_impl()->ConnectToService("mojo:files", &files);
27
28 mojo::files::Error error = mojo::files::ERROR_INTERNAL;
29 files->OpenFileSystem(mojo::files::FILE_SYSTEM_TEMPORARY,
30 mojo::GetProxy(&directory_), Capture(&error));
31 MOJO_CHECK(files.WaitForIncomingMethodCall());
32 MOJO_CHECK(error == mojo::files::ERROR_OK);
33 }
34
35 } // namespace test
36 } // namespace mojio
OLDNEW
« no previous file with comments | « services/files/c/tests/mojio_impl_test_base.h ('k') | services/files/c/tests/mojio_sys_stat_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698