/* * 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 #if !defined(Q_MOC_RUN) #include #endif #include namespace UnitTestUtils { class AssertAbsorber; } namespace AssetProcessor { class MockAssetDatabaseRequestsHandler; } namespace UnitTest { class AssetProcessorUnitTestAppManager : public BatchApplicationManager { public: explicit AssetProcessorUnitTestAppManager(int* argc, char*** argv); bool PrepareForTests(); AZStd::unique_ptr m_platformConfig; AZStd::unique_ptr m_connectionManager; }; class AssetProcessorUnitTestBase : public UnitTest::LeakDetectionFixture { public: AssetProcessorUnitTestBase(); ~AssetProcessorUnitTestBase(); protected: void SetUp() override; void TearDown() override; AZStd::unique_ptr m_appManager; AZStd::unique_ptr m_assetDatabaseRequestsHandler; AZStd::unique_ptr m_errorAbsorber; }; }