3
0

CanAdjustGroupParameter.cpp 1.5 KB

12345678910111213141516171819202122232425262728
  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/UI/CommandRunnerFixture.h>
  9. namespace EMotionFX
  10. {
  11. INSTANTIATE_TEST_CASE_P(CanAdjustGroupParameter, CommandRunnerFixture,
  12. ::testing::Values(std::vector<std::string> {
  13. R"str(CreateAnimGraph -animGraphID 100)str",
  14. R"str(AnimGraphAddGroupParameter -animGraphID 100 -name Group0)str",
  15. R"str(AnimGraphAdjustParameter -animGraphID 100 -name Group0 -newName Group01 -type {6B42666E-82D7-431E-807E-DA789C53AF05} -contents <ObjectStream version="3">
  16. <Class name="GroupParameter" version="1" type="{6B42666E-82D7-431E-807E-DA789C53AF05}">
  17. <Class name="Parameter" field="BaseClass1" version="1" type="{4AF0BAFC-98F8-4EA3-8946-4AD87D7F2A6C}">
  18. <Class name="AZStd::string" field="name" value="Group01" type="{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}"/>
  19. <Class name="AZStd::string" field="description" value="" type="{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}"/>
  20. </Class>
  21. <Class name="AZStd::vector" field="childParameters" type="{496E6454-2F91-5CDC-9771-3B589F3F8FEB}"/>
  22. </Class>
  23. </ObjectStream>)str",
  24. }
  25. ));
  26. } // end namespace EMotionFX