Skip to content

Commit

Permalink
use the deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger committed Dec 12, 2024
1 parent a35a452 commit a5ade20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sofa/framework/Testing/src/sofa/testing/BaseTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ class SOFA_TESTING_API BaseTest : public ::testing::Test
BaseTest() ;
~BaseTest() override;

virtual void doSetUp() {}
virtual void doTearDown() {}
virtual void doSetUp() { onSetUp(); }
virtual void doTearDown() { onTearDown(); }

SOFA_ATTRIBUTE_DEPRECATED__TESTING_ONSETUP()
virtual void onSetUp() {}
Expand Down

0 comments on commit a5ade20

Please sign in to comment.