ATLEntitiesMock.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <ATLEntities.h>
  10. #include <AzTest/AzTest.h>
  11. namespace Audio
  12. {
  13. #if !defined(AUDIO_RELEASE)
  14. class ATLDebugNameStoreMock
  15. : public CATLDebugNameStore
  16. {
  17. public:
  18. MOCK_METHOD2(AddAudioObject, bool(const TAudioObjectID, const char* const));
  19. MOCK_METHOD2(AddAudioTrigger, bool(const TAudioControlID, const char* const));
  20. MOCK_METHOD2(AddAudioRtpc, bool(const TAudioControlID, const char* const));
  21. MOCK_METHOD2(AddAudioSwitch, bool(const TAudioControlID, const char* const));
  22. MOCK_METHOD3(AddAudioSwitchState, bool(const TAudioControlID, const TAudioSwitchStateID, const char* const));
  23. MOCK_METHOD2(AddAudioPreloadRequest, bool(const TAudioPreloadRequestID, const char* const));
  24. MOCK_METHOD2(AddAudioEnvironment, bool(const TAudioEnvironmentID, const char* const));
  25. MOCK_METHOD1(RemoveAudioObject, bool(const TAudioObjectID));
  26. MOCK_METHOD1(RemoveAudioTrigger, bool(const TAudioControlID));
  27. MOCK_METHOD1(RemoveAudioRtpc, bool(const TAudioControlID));
  28. MOCK_METHOD1(RemoveAudioSwitch, bool(const TAudioControlID));
  29. MOCK_METHOD2(RemoveAudioSwitchState, bool(const TAudioControlID, const TAudioSwitchStateID));
  30. MOCK_METHOD1(RemoveAudioPreloadRequest, bool(const TAudioPreloadRequestID));
  31. MOCK_METHOD1(RemoveAudioEnvironment, bool(const TAudioEnvironmentID));
  32. MOCK_CONST_METHOD1(LookupAudioObjectName, const char*(const TAudioObjectID));
  33. MOCK_CONST_METHOD1(LookupAudioTriggerName, const char*(const TAudioControlID));
  34. MOCK_CONST_METHOD1(LookupAudioRtpcName, const char*(const TAudioControlID));
  35. MOCK_CONST_METHOD1(LookupAudioSwitchName, const char*(const TAudioControlID));
  36. MOCK_CONST_METHOD2(LookupAudioSwitchStateName, const char*(const TAudioControlID, const TAudioSwitchStateID));
  37. MOCK_CONST_METHOD1(LookupAudioPreloadRequestName, const char*(const TAudioPreloadRequestID));
  38. MOCK_CONST_METHOD1(LookupAudioEnvironmentName, const char*(const TAudioEnvironmentID));
  39. };
  40. #endif // !AUDIO_RELEASE
  41. } // namespace Audio