From c03c058bbdc82c7110ec9bf5c242eba045ce7f9e Mon Sep 17 00:00:00 2001 From: Damien Marchal Date: Thu, 23 Jan 2025 15:17:53 +0100 Subject: [PATCH] Merge pull request #152 * rename doSetup & doTeardDown to keep change in sofa --- Tests/forcefield/BeamHookeLawForceFieldTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/forcefield/BeamHookeLawForceFieldTest.cpp b/Tests/forcefield/BeamHookeLawForceFieldTest.cpp index 616e39f3..c5921f3c 100644 --- a/Tests/forcefield/BeamHookeLawForceFieldTest.cpp +++ b/Tests/forcefield/BeamHookeLawForceFieldTest.cpp @@ -49,7 +49,7 @@ struct BeamHookeLawForceFieldTest : public testing::NumericTest<> { typedef sofa::component::forcefield::BeamHookeLawForceField TheBeamHookeLawForceField; // Sets up the test fixture. - void SetUp() override { + void doSetUp() override { // initialization or some code to run before each test fprintf(stderr, "Starting up ! \n"); sofa::simpleapi::importPlugin("Sofa.Component"); @@ -57,7 +57,7 @@ struct BeamHookeLawForceFieldTest : public testing::NumericTest<> { } // Tears down the test fixture. - void TearDown() override { + void doTearDown() override { // code to run after each test; // can be used instead of a destructor, // but exceptions can be handled in this function only