Skip to content

Commit

Permalink
change test with VisualModel
Browse files Browse the repository at this point in the history
  • Loading branch information
fredroy committed Sep 24, 2024
1 parent 1ef3aed commit 6f86cc3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,15 @@ struct SceneChecker_test : public BaseSimulationTest

void checkUsingAlias(bool sceneWithAlias)
{
const std::string withAlias = "Mesh";
const std::string withoutAlias = "MeshTopology";
const std::string withAlias = "VisualModel";
const std::string withoutAlias = "VisualModelImpl";
const std::string componentName = sceneWithAlias ? withAlias : withoutAlias;

std::stringstream scene;
scene << "<?xml version='1.0'?> \n"
<< "<Node name='Root' gravity='0 -9.81 0' time='0' animate='0' > \n"
<< " <RequiredPlugin name='Sofa.Component.StateContainer'/> \n"
<< " <RequiredPlugin name='Sofa.Component.Topology.Container.Constant'/> \n"
<< " <RequiredPlugin name='Sofa.Component.Visual'/> \n"
<< " <MechanicalObject template='Vec3d' /> \n"
<< " <" << componentName << "/> \n"
<< "</Node> \n";
Expand Down

0 comments on commit 6f86cc3

Please sign in to comment.