Skip to content

Commit

Permalink
fix missing plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger committed Dec 11, 2024
1 parent 00132ac commit 7d59fe9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ namespace softrobots {
void SetUp()
{
sofa::simpleapi::importPlugin("Sofa.Component");
sofa::simpleapi::importPlugin("SoftRobots");

/// Load the scene
string sceneName = "SurfacePressureConstraint.scn";
Expand Down
1 change: 1 addition & 0 deletions tests/component/controller/AnimationEditorTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ struct AnimationEditorTest : public sofa::testing::BaseTest, controller::Animati
void simpleSceneTest()
{
sofa::simpleapi::importPlugin("Sofa.Component.StateContainer");
sofa::simpleapi::importPlugin("SoftRobots");

string scene =
"<?xml version='1.0'?>"
Expand Down
1 change: 1 addition & 0 deletions tests/component/controller/DataVariationLimiterTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ struct DataVariationLimiterTest : public sofa::testing::BaseTest, DataVariationL

void simpleSceneTest(){
sofa::simpleapi::importPlugin("Sofa.Component.StateContainer");
sofa::simpleapi::importPlugin("SoftRobots");

string scene =
"<?xml version='1.0'?>"
Expand Down
2 changes: 2 additions & 0 deletions tests/component/controller/SerialPortBridgeGenericTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
******************************************************************************/

#include <string>
#include <sofa/simpleapi/SimpleApi.h>
using std::string ;

#include <sofa/testing/BaseTest.h>
Expand Down Expand Up @@ -111,6 +112,7 @@ struct SerialPortBridgeGenericTest : public sofa::testing::BaseTest, SerialPortB


void simpleSceneTest(){
sofa::simpleapi::importPlugin("SoftRobots");
string scene =
"<?xml version='1.0'?>"
"<Node name='Root' gravity='0 0 0' time='0' animate='0' > "
Expand Down
1 change: 1 addition & 0 deletions tests/component/engine/VolumeFromTetrahedronsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ struct VolumeFromTetrahedronsTest : public sofa::testing::BaseTest, VolumeFromTe
{

sofa::simpleapi::importPlugin("Sofa.Component.StateContainer");
sofa::simpleapi::importPlugin("SoftRobots");

string scene =
"<?xml version='1.0'?>"
Expand Down
1 change: 1 addition & 0 deletions tests/component/engine/VolumeFromTrianglesTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ struct VolumeFromTrianglesTest : public sofa::testing::BaseTest, VolumeFromTrian
void simpleSceneTest()
{
sofa::simpleapi::importPlugin("Sofa.Component.StateContainer");
sofa::simpleapi::importPlugin("SoftRobots");

string scene =
"<?xml version='1.0'?>"
Expand Down

0 comments on commit 7d59fe9

Please sign in to comment.