OLD | NEW |
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_TEST_BASE_H_ | 5 #ifndef SERVICES_FILES_C_TESTS_MOJIO_TEST_BASE_H_ |
6 #define SERVICES_FILES_C_TESTS_MOJIO_TEST_BASE_H_ | 6 #define SERVICES_FILES_C_TESTS_MOJIO_TEST_BASE_H_ |
7 | 7 |
8 #include "files/public/c/tests/mojio_impl_test_base.h" | 8 #include "files/c/tests/mojio_impl_test_base.h" |
9 | 9 |
10 namespace mojio { | 10 namespace mojio { |
11 namespace test { | 11 namespace test { |
12 | 12 |
13 // This is a base class for tests that test the exposed functions (etc.), and | 13 // This is a base class for tests that test the exposed functions (etc.), and |
14 // which probably use the singletons. | 14 // which probably use the singletons. |
15 class MojioTestBase : public MojioImplTestBase { | 15 class MojioTestBase : public MojioImplTestBase { |
16 public: | 16 public: |
17 MojioTestBase() {} | 17 MojioTestBase() {} |
18 ~MojioTestBase() override {} | 18 ~MojioTestBase() override {} |
19 | 19 |
20 void SetUp() override; | 20 void SetUp() override; |
21 void TearDown() override; | 21 void TearDown() override; |
22 | 22 |
23 private: | 23 private: |
24 MOJO_DISALLOW_COPY_AND_ASSIGN(MojioTestBase); | 24 MOJO_DISALLOW_COPY_AND_ASSIGN(MojioTestBase); |
25 }; | 25 }; |
26 | 26 |
27 } // namespace test | 27 } // namespace test |
28 } // namespace mojio | 28 } // namespace mojio |
29 | 29 |
30 #endif // SERVICES_FILES_C_TESTS_MOJIO_TEST_BASE_H_ | 30 #endif // SERVICES_FILES_C_TESTS_MOJIO_TEST_BASE_H_ |
OLD | NEW |