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

Side by Side Diff: mojo/services/files/c/tests/mojio_impl_test_base.h

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
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 #ifndef SERVICES_FILES_C_TESTS_MOJIO_IMPL_TEST_BASE_H_ 5 #ifndef SERVICES_FILES_C_TESTS_MOJIO_IMPL_TEST_BASE_H_
6 #define SERVICES_FILES_C_TESTS_MOJIO_IMPL_TEST_BASE_H_ 6 #define SERVICES_FILES_C_TESTS_MOJIO_IMPL_TEST_BASE_H_
7 7
8 #include "files/public/interfaces/directory.mojom.h" 8 #include "files/interfaces/directory.mojom.h"
9 #include "mojo/public/cpp/application/application_test_base.h" 9 #include "mojo/public/cpp/application/application_test_base.h"
10 #include "mojo/public/cpp/system/macros.h" 10 #include "mojo/public/cpp/system/macros.h"
11 11
12 namespace mojio { 12 namespace mojio {
13 namespace test { 13 namespace test {
14 14
15 // This is a base class for tests that test the underlying implementation (i.e., 15 // This is a base class for tests that test the underlying implementation (i.e.,
16 // doesn't use the singletons). 16 // doesn't use the singletons).
17 class MojioImplTestBase : public mojo::test::ApplicationTestBase { 17 class MojioImplTestBase : public mojo::test::ApplicationTestBase {
18 public: 18 public:
19 MojioImplTestBase(); 19 MojioImplTestBase();
20 ~MojioImplTestBase() override; 20 ~MojioImplTestBase() override;
21 21
22 void SetUp() override; 22 void SetUp() override;
23 23
24 protected: 24 protected:
25 mojo::files::DirectoryPtr& directory() { return directory_; } 25 mojo::files::DirectoryPtr& directory() { return directory_; }
26 26
27 private: 27 private:
28 mojo::files::DirectoryPtr directory_; 28 mojo::files::DirectoryPtr directory_;
29 29
30 MOJO_DISALLOW_COPY_AND_ASSIGN(MojioImplTestBase); 30 MOJO_DISALLOW_COPY_AND_ASSIGN(MojioImplTestBase);
31 }; 31 };
32 32
33 } // namespace test 33 } // namespace test
34 } // namespace mojio 34 } // namespace mojio
35 35
36 #endif // SERVICES_FILES_C_TESTS_MOJIO_IMPL_TEST_BASE_H_ 36 #endif // SERVICES_FILES_C_TESTS_MOJIO_IMPL_TEST_BASE_H_
OLDNEW
« no previous file with comments | « mojo/services/files/c/tests/mock_errno_impl.cc ('k') | mojo/services/files/c/tests/mojio_impl_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698