| Index: native_client_sdk/src/libraries/nacl_io_test/pepper_interface_mock.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_mounts_test/pepper_interface_mock.h b/native_client_sdk/src/libraries/nacl_io_test/pepper_interface_mock.h
|
| similarity index 75%
|
| rename from native_client_sdk/src/libraries/nacl_mounts_test/pepper_interface_mock.h
|
| rename to native_client_sdk/src/libraries/nacl_io_test/pepper_interface_mock.h
|
| index bd2ab53e18de88b3075e7602cd5860987e0c47b7..0fe374318152974bc4c72ec0a007039f7939e655 100644
|
| --- a/native_client_sdk/src/libraries/nacl_mounts_test/pepper_interface_mock.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io_test/pepper_interface_mock.h
|
| @@ -2,11 +2,11 @@
|
| * Use of this source code is governed by a BSD-style license that can be
|
| * found in the LICENSE file.
|
| */
|
| -#ifndef LIBRARIES_NACL_MOUNTS_TEST_PEPPER_INTERFACE_MOCK_H_
|
| -#define LIBRARIES_NACL_MOUNTS_TEST_PEPPER_INTERFACE_MOCK_H_
|
| +#ifndef LIBRARIES_NACL_IO_TEST_PEPPER_INTERFACE_MOCK_H_
|
| +#define LIBRARIES_NACL_IO_TEST_PEPPER_INTERFACE_MOCK_H_
|
|
|
| #include "gmock/gmock.h"
|
| -#include "nacl_mounts/pepper_interface.h"
|
| +#include "nacl_io/pepper_interface.h"
|
|
|
| // Mock interface class definitions.
|
| #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
|
| @@ -27,8 +27,8 @@
|
| #define METHOD5(Class, ReturnType, MethodName, Type0, Type1, Type2, Type3, \
|
| Type4) \
|
| MOCK_METHOD5(MethodName, ReturnType(Type0, Type1, Type2, Type3, Type4));
|
| -#include "nacl_mounts/pepper/all_interfaces.h"
|
| -#include "nacl_mounts/pepper/undef_macros.h"
|
| +#include "nacl_io/pepper/all_interfaces.h"
|
| +#include "nacl_io/pepper/undef_macros.h"
|
|
|
|
|
| class PepperInterfaceMock : public PepperInterface {
|
| @@ -41,26 +41,26 @@ class PepperInterfaceMock : public PepperInterface {
|
| MOCK_METHOD1(ReleaseResource, void(PP_Resource));
|
|
|
| // Interface getters.
|
| -#include "nacl_mounts/pepper/define_empty_macros.h"
|
| +#include "nacl_io/pepper/define_empty_macros.h"
|
| #undef BEGIN_INTERFACE
|
| #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
|
| virtual BaseClass##Mock* Get##BaseClass();
|
| -#include "nacl_mounts/pepper/all_interfaces.h"
|
| -#include "nacl_mounts/pepper/undef_macros.h"
|
| +#include "nacl_io/pepper/all_interfaces.h"
|
| +#include "nacl_io/pepper/undef_macros.h"
|
|
|
| private:
|
| PP_Instance instance_;
|
|
|
| // Interface pointers.
|
| -#include "nacl_mounts/pepper/define_empty_macros.h"
|
| +#include "nacl_io/pepper/define_empty_macros.h"
|
| #undef BEGIN_INTERFACE
|
| #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
|
| BaseClass##Mock* BaseClass##interface_;
|
| -#include "nacl_mounts/pepper/all_interfaces.h"
|
| -#include "nacl_mounts/pepper/undef_macros.h"
|
| +#include "nacl_io/pepper/all_interfaces.h"
|
| +#include "nacl_io/pepper/undef_macros.h"
|
|
|
| int dummy_;
|
| };
|
|
|
|
|
| -#endif // LIBRARIES_NACL_MOUNTS_TEST_PEPPER_INTERFACE_MOCK_H_
|
| +#endif // LIBRARIES_NACL_IO_TEST_PEPPER_INTERFACE_MOCK_H_
|
|
|