Skip to content

Commit a35a452

Browse files
committed
rename
1 parent cd87518 commit a35a452

File tree

80 files changed

+143
-120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+143
-120
lines changed

Sofa/Component/Collision/Detection/Algorithm/tests/CollisionPipeline_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ class TestCollisionPipeline : public BaseSimulationTest {
7474
void checkCollisionPipelineWithMissingContactManager();
7575
int checkCollisionPipelineWithMonkeyValueForDepth(int value);
7676

77-
void onSetUp() override
77+
void doSetUp() override
7878
{
7979
sofa::simpleapi::importPlugin("Sofa.Component.StateContainer");
8080
sofa::simpleapi::importPlugin("Sofa.Component.Collision");
8181
}
8282

83-
void onTearDown() override
83+
void doTearDown() override
8484
{
8585
if (root)
8686
sofa::simulation::node::unload(root);

Sofa/Component/Collision/Detection/Intersection/tests/LocalMinDistance_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ namespace
5454
{
5555

5656
struct TestLocalMinDistance : public BaseSimulationTest {
57-
void onSetUp() override
57+
void doSetUp() override
5858
{
5959
sofa::simpleapi::importPlugin("Sofa.Component.StateContainer");
6060
sofa::simpleapi::importPlugin("Sofa.Component.Collision.Detection.Intersection");
6161
}
62-
void onTearDown() override
62+
void doTearDown() override
6363
{
6464
}
6565

Sofa/Component/Collision/Geometry/tests/Sphere_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ namespace sofa {
7070

7171
struct TestSphere : public BaseSimulationTest
7272
{
73-
void onSetUp() override
73+
void doSetUp() override
7474
{
7575
sofa::simpleapi::importPlugin("Sofa.Component.StateContainer");
7676
sofa::simpleapi::importPlugin("Sofa.Component.Collision.Geometry");
@@ -79,7 +79,7 @@ struct TestSphere : public BaseSimulationTest
7979
m_proxIntersection->setAlarmDistance(1.0);
8080
m_proxIntersection->setContactDistance(1.0);
8181
}
82-
void onTearDown() override
82+
void doTearDown() override
8383
{
8484
}
8585

Sofa/Component/Collision/Geometry/tests/Triangle_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ namespace sofa
5656
{
5757
struct TestTriangle : public BaseTest
5858
{
59-
void onSetUp() override
59+
void doSetUp() override
6060
{
6161
}
62-
void onTearDown() override
62+
void doTearDown() override
6363
{
6464

6565
}

Sofa/Component/Constraint/Projective/tests/AffineMovementProjectiveConstraint_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct AffineMovementProjectiveConstraint_test : public BaseSimulationTest, Nume
7070
sofa::helper::RandomGenerator randomGenerator;
7171

7272
// Create the context for the scene
73-
void onSetUp() override
73+
void doSetUp() override
7474
{
7575
// Init simulation
7676
simulation = sofa::simulation::getSimulation();

Sofa/Component/Constraint/Projective/tests/DirectionProjectiveConstraint_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ struct DirectionProjectiveConstraint_test : public BaseSimulationTest, NumericTe
6969
typename MechanicalObject::SPtr dofs;
7070

7171
/// Create the context for the tests.
72-
void onSetUp() override
72+
void doSetUp() override
7373
{
7474
//Init
7575
simulation = sofa::simulation::getSimulation();
@@ -219,7 +219,7 @@ struct DirectionProjectiveConstraint_test : public BaseSimulationTest, NumericTe
219219
return succeed;
220220
}
221221

222-
void onTearDown() override
222+
void doTearDown() override
223223
{
224224
if (root!=nullptr)
225225
sofa::simulation::node::unload(root);

Sofa/Component/Constraint/Projective/tests/LineProjectiveConstraint_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ struct LineProjectiveConstraint_test : public BaseSimulationTest, NumericTest<ty
6868
typename MechanicalObject::SPtr dofs;
6969

7070
/// Create the context for the tests.
71-
void onSetUp() override
71+
void doSetUp() override
7272
{
7373
simulation = sofa::simulation::getSimulation();
7474
ASSERT_NE(simulation, nullptr);
@@ -204,7 +204,7 @@ const PointSetTopologyContainer::SPtr topology = core::objectmodel::New<PointSet
204204
return succeed;
205205
}
206206

207-
void onTearDown() override
207+
void doTearDown() override
208208
{
209209
if (root!=nullptr)
210210
sofa::simulation::node::unload(root);

Sofa/Component/Constraint/Projective/tests/PlaneProjectiveConstraint_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ struct PlaneProjectiveConstraint_test : public BaseSimulationTest, NumericTest<t
6969
typename MechanicalObject::SPtr dofs;
7070

7171
/// Create the context for the matrix tests.
72-
void onSetUp() override
72+
void doSetUp() override
7373
{
7474
simulation = sofa::simulation::getSimulation();
7575
ASSERT_NE(simulation, nullptr);
@@ -203,7 +203,7 @@ const PointSetTopologyContainer::SPtr topology = core::objectmodel::New<PointSet
203203
return succeed;
204204
}
205205

206-
void onTearDown() override
206+
void doTearDown() override
207207
{
208208
if (root!=nullptr)
209209
sofa::simulation::node::unload(root);

Sofa/Component/Constraint/Projective/tests/PointProjectiveConstraint_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ struct PointProjectiveConstraint_test : public BaseSimulationTest, NumericTest<t
6969
typename MechanicalObject::SPtr dofs;
7070

7171
/// Create the context for the tests.
72-
void onSetUp() override
72+
void doSetUp() override
7373
{
7474
simulation = sofa::simulation::getSimulation();
7575
ASSERT_NE(simulation, nullptr);
@@ -207,7 +207,7 @@ struct PointProjectiveConstraint_test : public BaseSimulationTest, NumericTest<t
207207
return succeed;
208208
}
209209

210-
void onTearDown() override
210+
void doTearDown() override
211211
{
212212
if (root!=nullptr)
213213
sofa::simulation::node::unload(root);

Sofa/Component/Engine/Analyze/tests/AverageCoord_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct AverageCoord_test : public BaseSimulationTest,
5757
typename MechanicalObject<DataTypes>::SPtr m_mecaobject;
5858

5959

60-
void onSetUp() override
60+
void doSetUp() override
6161
{
6262
m_simu = sofa::simulation::getSimulation();
6363
ASSERT_NE(m_simu, nullptr);

0 commit comments

Comments
 (0)