Removed legacy loading automated tests and ported file format for anim graph for remaining automated tests
Signed-off-by: Benjamin Jillich <jillich@amazon.com>
This commit is contained in:
@@ -97,16 +97,6 @@ namespace EMotionFX
|
||||
ASSERT_EQ(productDependencies.size(), 0);
|
||||
}
|
||||
|
||||
TEST_F(EMotionFXBuilderTests, TestLegacyAnimGraphAsset_NoDependency_OutputNoProductDependencies)
|
||||
{
|
||||
const AZStd::string fileName = "@devroot@/Gems/EMotionFX/Code/Tests/TestAssets/EMotionFXBuilderTestAssets/LegacyAnimGraphExample.animgraph";
|
||||
AZStd::vector<AssetBuilderSDK::ProductDependency> productDependencies;
|
||||
EMotionFXBuilder::AnimGraphBuilderWorker builderWorker;
|
||||
|
||||
ASSERT_TRUE(builderWorker.ParseProductDependencies(ResolvePath(fileName.c_str()), fileName, productDependencies));
|
||||
ASSERT_EQ(productDependencies.size(), 0);
|
||||
}
|
||||
|
||||
TEST_F(EMotionFXBuilderTests, TestMotionSetAsset_HasReferenceNode_OutputProductDependencies)
|
||||
{
|
||||
const AZStd::string fileName = "@devroot@/Gems/EMotionFX/Code/Tests/TestAssets/EMotionFXBuilderTestAssets/MotionSetExample.motionset";
|
||||
@@ -150,14 +140,4 @@ namespace EMotionFX
|
||||
AZ_TEST_STOP_ASSERTTEST(2);
|
||||
ASSERT_EQ(productDependencies.size(), 0);
|
||||
}
|
||||
|
||||
TEST_F(EMotionFXBuilderTests, TestLegacyMotionSetAsset_ReferenceMotionAssets_OutputProductDependencies)
|
||||
{
|
||||
const AZStd::string fileName = "@devroot@/Gems/EMotionFX/Code/Tests/TestAssets/EMotionFXBuilderTestAssets/LegacyMotionSetExample.motionset";
|
||||
ProductPathDependencySet productDependencies;
|
||||
EMotionFXBuilder::MotionSetBuilderWorker builderWorker;
|
||||
|
||||
ASSERT_TRUE(builderWorker.ParseProductDependencies(ResolvePath(fileName.c_str()), fileName, productDependencies));
|
||||
ASSERT_EQ(productDependencies.size(), 25);
|
||||
}
|
||||
} // namespace EMotionFX
|
||||
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:33ff8a4f75b5ad918a833113fb45a21e9075b66a9d0ed8563ee34d93ae905aaf
|
||||
size 50863
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8ed5c6c8376df150ebddc8b16714012991c1892a94d2b8ad943a7f96563771e0
|
||||
size 2518
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:33ff8a4f75b5ad918a833113fb45a21e9075b66a9d0ed8563ee34d93ae905aaf
|
||||
size 50863
|
||||
oid sha256:8825feb4f0946979f8a1258cdf20bb71e358b7597eca1aaed552c2b0a17b2bd9
|
||||
size 464733
|
||||
|
||||
Reference in New Issue
Block a user