/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include #include namespace EMotionFX { class Actor; class ActorInstance; class AnimGraph; class MotionSet; struct PoseComparisonFixtureParams { const char* m_actorFile = nullptr; const char* m_animGraphFile = nullptr; const char* m_motionSetFile = nullptr; const char* m_recordingFile = nullptr; PoseComparisonFixtureParams(const char* actorFile, const char* animGraphFile, const char* motionSetFile, const char* recordingFile) : m_actorFile(actorFile), m_animGraphFile(animGraphFile), m_motionSetFile(motionSetFile), m_recordingFile(recordingFile) {} }; class PoseComparisonFixture : public SystemComponentFixture , public ::testing::WithParamInterface { public: void SetUp() override; void TearDown() override; void LoadAssets(); protected: AZStd::unique_ptr m_actor = nullptr; ActorInstance* m_actorInstance = nullptr; AnimGraph* m_animGraph = nullptr; MotionSet* m_motionSet = nullptr; }; // This fixture exists to separate the tests that test the pose comparsion // functionality from the tests that use the pose comparison functionality // (even though it doesn't use the recording) class TestPoseComparisonFixture : public PoseComparisonFixture { }; }; // namespace EMotionFX