SurfaceDataTestFixtures.cpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. #include <Tests/SurfaceDataTestFixtures.h>
  9. #include <SurfaceData/Tests/SurfaceDataTestMocks.h>
  10. #include <AzFramework/Components/TransformComponent.h>
  11. #include <SurfaceData/Components/SurfaceDataSystemComponent.h>
  12. #include <SurfaceData/Components/SurfaceDataColliderComponent.h>
  13. #include <SurfaceData/Components/SurfaceDataShapeComponent.h>
  14. namespace UnitTest
  15. {
  16. void SurfaceDataTestEnvironment::AddGemsAndComponents()
  17. {
  18. AddDynamicModulePaths({ "LmbrCentral" });
  19. AddComponentDescriptors({
  20. AzFramework::TransformComponent::CreateDescriptor(),
  21. SurfaceData::SurfaceDataSystemComponent::CreateDescriptor(),
  22. SurfaceData::SurfaceDataColliderComponent::CreateDescriptor(),
  23. SurfaceData::SurfaceDataShapeComponent::CreateDescriptor(),
  24. MockPhysicsColliderComponent::CreateDescriptor()
  25. });
  26. }
  27. }