/* * 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 * */ #pragma once #include #include #include #include #include #include #include #include #include #include #include namespace UnitTest { class ActionManagerFixture : public LeakDetectionFixture { protected: void SetUp() override; void TearDown() override; public: AzToolsFramework::ActionManagerInterface* m_actionManagerInterface = nullptr; AzToolsFramework::ActionManagerInternalInterface* m_actionManagerInternalInterface = nullptr; AzToolsFramework::HotKeyManagerInterface* m_hotKeyManagerInterface = nullptr; AzToolsFramework::MenuManagerInterface* m_menuManagerInterface = nullptr; AzToolsFramework::MenuManagerInternalInterface* m_menuManagerInternalInterface = nullptr; AzToolsFramework::ToolBarManagerInterface* m_toolBarManagerInterface = nullptr; AzToolsFramework::ToolBarManagerInternalInterface* m_toolBarManagerInternalInterface = nullptr; QMainWindow* m_mainWindow = nullptr; QWidget* m_widget = nullptr; QWidget* m_defaultParentWidget = nullptr; private: AZStd::unique_ptr m_actionManager; AZStd::unique_ptr m_hotKeyManager; AZStd::unique_ptr m_menuManager; AZStd::unique_ptr m_toolBarManager; }; } // namespace UnitTest