3
0

SaveDataTest.h 744 B

1234567891011121314151617181920212223242526272829303132
  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 <AzTest/AzTest.h>
  10. #include <AzCore/UnitTest/TestTypes.h>
  11. #include <AzFramework/Input/User/LocalUserId.h>
  12. #include <SaveDataSystemComponent.h>
  13. class SaveDataTest
  14. : public UnitTest::LeakDetectionFixture
  15. {
  16. public:
  17. static AzFramework::LocalUserId GetDefaultTestUserId();
  18. protected:
  19. void SetUp() override;
  20. void TearDown() override;
  21. void SetupInternal();
  22. void TearDownInternal();
  23. private:
  24. AZStd::unique_ptr<SaveData::SaveDataSystemComponent> m_saveDataSystemComponent;
  25. };