Files
o3de/Gems/EMotionFX/Code/Tests/Mocks/CommandManagerCallback.h
T
Steve Pham 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213)
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines

Signed-off-by: Steve Pham <spham@amazon.com>
2021-07-16 15:25:48 -07:00

29 lines
1.2 KiB
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
namespace MCore
{
class CommandManagerCallbackMock
: public MCore::CommandManagerCallback
{
public:
MOCK_METHOD3(OnPreExecuteCommand, void(MCore::CommandGroup*, MCore::Command*, const MCore::CommandLine&));
MOCK_METHOD5(OnPostExecuteCommand, void(MCore::CommandGroup*, MCore::Command*, const MCore::CommandLine&, bool, const AZStd::string&));
MOCK_METHOD2(OnPreUndoCommand, void(MCore::Command*, const MCore::CommandLine&));
MOCK_METHOD2(OnPostUndoCommand, void(MCore::Command*, const MCore::CommandLine&));
MOCK_METHOD2(OnPreExecuteCommandGroup, void(MCore::CommandGroup*, bool));
MOCK_METHOD2(OnPostExecuteCommandGroup, void(MCore::CommandGroup*, bool));
MOCK_METHOD4(OnAddCommandToHistory, void(uint32, MCore::CommandGroup*, MCore::Command*, const MCore::CommandLine&));
MOCK_METHOD1(OnRemoveCommand, void(uint32));
MOCK_METHOD1(OnSetCurrentCommand, void(uint32));
};
} // namespace MCore