From 9fe700ddfc810fa9a2b8427ee0f68c72b8388b96 Mon Sep 17 00:00:00 2001 From: Frederick Roy Date: Tue, 24 Sep 2024 10:07:17 +0900 Subject: [PATCH] fix alias and missing plugin --- .../constraint/scenes/SurfacePressureConstraint.scn | 2 +- tests/component/controller/AnimationEditorTest.cpp | 3 +++ tests/component/engine/VolumeFromTetrahedronsTest.cpp | 7 ++++++- tests/component/engine/VolumeFromTrianglesTest.cpp | 3 +++ 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/tests/component/constraint/scenes/SurfacePressureConstraint.scn b/tests/component/constraint/scenes/SurfacePressureConstraint.scn index 3ce3bfc0..937afbb6 100644 --- a/tests/component/constraint/scenes/SurfacePressureConstraint.scn +++ b/tests/component/constraint/scenes/SurfacePressureConstraint.scn @@ -31,7 +31,7 @@ - + diff --git a/tests/component/controller/AnimationEditorTest.cpp b/tests/component/controller/AnimationEditorTest.cpp index 0d434321..46a58805 100644 --- a/tests/component/controller/AnimationEditorTest.cpp +++ b/tests/component/controller/AnimationEditorTest.cpp @@ -59,6 +59,7 @@ using softrobots::controller::AnimationEditor ; #include using sofa::core::behavior::MechanicalState; +#include namespace softrobots { @@ -122,6 +123,8 @@ struct AnimationEditorTest : public sofa::testing::BaseTest, controller::Animati void simpleSceneTest() { + sofa::simpleapi::importPlugin("Sofa.Component.Container"); + string scene = "" " " diff --git a/tests/component/engine/VolumeFromTetrahedronsTest.cpp b/tests/component/engine/VolumeFromTetrahedronsTest.cpp index 23032f8d..6df1149b 100644 --- a/tests/component/engine/VolumeFromTetrahedronsTest.cpp +++ b/tests/component/engine/VolumeFromTetrahedronsTest.cpp @@ -63,6 +63,7 @@ using softrobots::engine::VolumeFromTetrahedrons ; #include using sofa::helper::system::DataRepository; +#include namespace softrobots { @@ -110,7 +111,11 @@ struct VolumeFromTetrahedronsTest : public sofa::testing::BaseTest, VolumeFromTe return ; } - void simpleSceneTest(){ + void simpleSceneTest() + { + + sofa::simpleapi::importPlugin("Sofa.Component.Container"); + string scene = "" " " diff --git a/tests/component/engine/VolumeFromTrianglesTest.cpp b/tests/component/engine/VolumeFromTrianglesTest.cpp index 3d3646d7..8176bf51 100644 --- a/tests/component/engine/VolumeFromTrianglesTest.cpp +++ b/tests/component/engine/VolumeFromTrianglesTest.cpp @@ -63,6 +63,7 @@ using softrobots::engine::VolumeFromTriangles ; #include using sofa::helper::system::DataRepository; +#include namespace softrobots { @@ -113,6 +114,8 @@ struct VolumeFromTrianglesTest : public sofa::testing::BaseTest, VolumeFromTrian void simpleSceneTest() { + sofa::simpleapi::importPlugin("Sofa.Component.Container"); + string scene = "" ""