Merge pull request #4628 from aws-lumberyard-dev/terrain/sphrose/surface_materials_list_tests

Terrain/sphrose/surface materials list tests
This commit is contained in:
sphrose
2021-11-11 10:14:00 +00:00
committed by GitHub
@@ -63,8 +63,10 @@ namespace UnitTest
}
};
TEST_F(TerrainSurfaceMaterialsListTest, SurfaceGradientListRequiresShapeToActivate)
TEST_F(TerrainSurfaceMaterialsListTest, SurfaceMaterialsListRequiresShapeToActivate)
{
// Check that the component requires a shape service to activate: trying to Activate the entity will cause the test to fail, so
// use the EvaluateDependenciesGetDetails function to check the dependencies are met.
auto entity = CreateEntity();
AddSurfaceMaterialListComponent(entity.get());
@@ -75,7 +77,7 @@ namespace UnitTest
entity.reset();
}
TEST_F(TerrainSurfaceMaterialsListTest, SurfaceGradientListActivatesSuccessfully)
TEST_F(TerrainSurfaceMaterialsListTest, SurfaceMaterialsListActivatesSuccessfully)
{
auto entity = CreateEntityWithShapeComponents();