File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Sofa/Component/IO/Mesh/tests
applications/projects/SceneChecking/tests Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ class STLExporter_test : public BaseSimulationTest {
6969 {
7070 sofa::simpleapi::importPlugin (" Sofa.Component.StateContainer" );
7171 sofa::simpleapi::importPlugin (" Sofa.Component.Visual" );
72+ sofa::simpleapi::importPlugin (" Sofa.Component.IO.Mesh" );
7273 }
7374
7475 void TearDown () override
@@ -98,7 +99,6 @@ class STLExporter_test : public BaseSimulationTest {
9899 " <?xml version='1.0'?> \n "
99100 " <Node name='Root' gravity='0 0 0' time='0' animate='0' > \n "
100101 " <DefaultAnimationLoop/> \n "
101- " <RequiredPlugin name='Sofa.Component.IO.Mesh' /> \n "
102102 " <MechanicalObject position='0 1 2 3 4 5 6 7 8 9'/> \n "
103103 " <MeshOBJLoader name='loader' filename='mesh/liver-smooth.obj'/> \n "
104104 " <VisualModel src='@loader'/> \n "
Original file line number Diff line number Diff line change @@ -173,11 +173,12 @@ struct SceneChecker_test : public BaseSimulationTest
173173 EXPECT_MSG_NOEMIT (Warning);
174174
175175 const std::string lvl = (shouldWarn)?" 17.06" :" 17.12" ;
176-
176+
177+ sofa::simpleapi::importPlugin (" Sofa.Component.SceneUtility" );
178+
177179 std::stringstream scene;
178180 scene << " <?xml version='1.0'?> \n "
179181 << " <Node name='Root' gravity='0 -9.81 0' time='0' animate='0' > \n "
180- << " <RequiredPlugin name='Sofa.Component.SceneUtility'/> \n "
181182 << " <APIVersion level='" << lvl <<" '/> \n "
182183 << " <ComponentDeprecated /> \n "
183184 << " </Node> \n " ;
You can’t perform that action at this time.
0 commit comments