Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fredroy committed Oct 11, 2024
1 parent 59d1da2 commit af0eb88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Sofa/Component/LinearSystem/tests/MappingGraph_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ TEST(MappingGraph, diamondMapping)
sofa::simulation::Node::SPtr root = simulation->createNewGraph("root");
EXPECT_EQ(root->getName(), "root");

sofa::simpleapi::importPlugin("Sofa.Component.Mapping.Linear");

const auto top = sofa::core::objectmodel::New<sofa::component::statecontainer::MechanicalObject<sofa::defaulttype::Vec3Types> >();
root->addObject(top);
top->setName("top");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ namespace multithreading

TEST(ParallelImplementationsRegistry, existInObjectFactory)
{
sofa::simpleapi::importPlugin("Sofa.Component.LinearSolver.Iterative"); // sequential version will be added to the ObjectFactory
// sequential version will be added to the ObjectFactory
sofa::simpleapi::importPlugin("Sofa.Component.LinearSolver.Iterative");
sofa::simpleapi::importPlugin("Sofa.Component.Mapping.Linear");

const auto implementations = ParallelImplementationsRegistry::getImplementations();

Expand Down

0 comments on commit af0eb88

Please sign in to comment.