| // Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef SERVICES_FILES_C_TESTS_MOJIO_IMPL_TEST_BASE_H_ |
| #define SERVICES_FILES_C_TESTS_MOJIO_IMPL_TEST_BASE_H_ |
| #include "files/interfaces/directory.mojom.h" |
| #include "mojo/public/cpp/application/application_test_base.h" |
| #include "mojo/public/cpp/system/macros.h" |
| // This is a base class for tests that test the underlying implementation (i.e., |
| // doesn't use the singletons). |
| class MojioImplTestBase : public mojo::test::ApplicationTestBase { |
| ~MojioImplTestBase() override; |
| mojo::files::DirectoryPtr& directory() { return directory_; } |
| mojo::files::DirectoryPtr directory_; |
| MOJO_DISALLOW_COPY_AND_ASSIGN(MojioImplTestBase); |
| #endif // SERVICES_FILES_C_TESTS_MOJIO_IMPL_TEST_BASE_H_ |