PrefabLinkDomTestFixture.h 764 B

12345678910111213141516171819202122232425262728293031
  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 <Prefab/PrefabTestFixture.h>
  10. namespace UnitTest
  11. {
  12. using namespace AzToolsFramework::Prefab;
  13. class PrefabLinkDomTestFixture
  14. : public PrefabTestFixture
  15. {
  16. protected:
  17. void SetUpEditorFixtureImpl() override;
  18. void TearDownEditorFixtureImpl() override;
  19. // Object to store data about template used for tests.
  20. TemplateData m_templateData;
  21. // Link used for testing DOM operations.
  22. AZStd::unique_ptr<Link> m_link;
  23. };
  24. } // namespace UnitTest