From cd06629a921759def13ac4880db4a4032255a32f Mon Sep 17 00:00:00 2001 From: Nimrod Gileadi Date: Mon, 9 Oct 2023 04:34:15 -0700 Subject: [PATCH] Give the test fixture a local name in elasticity_test. PiperOrigin-RevId: 571900967 Change-Id: Ie9bfea00dff1f9068f7fb3bf426dcbf6bfd6b4d2 --- test/plugin/elasticity/elasticity_test.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/test/plugin/elasticity/elasticity_test.cc b/test/plugin/elasticity/elasticity_test.cc index 614026f4..e30add97 100644 --- a/test/plugin/elasticity/elasticity_test.cc +++ b/test/plugin/elasticity/elasticity_test.cc @@ -28,9 +28,10 @@ namespace mujoco { namespace { +using ElasticityTest = PluginTest; // -------------------------------- shell ----------------------------------- -TEST_F(PluginTest, ElasticEnergyShell) { +TEST_F(ElasticityTest, ElasticEnergyShell) { static constexpr char cantilever_xml[] = R"( @@ -84,7 +85,7 @@ TEST_F(PluginTest, ElasticEnergyShell) { } // -------------------------------- solid ----------------------------------- -TEST_F(PluginTest, ElasticEnergySolid) { +TEST_F(ElasticityTest, ElasticEnergySolid) { static constexpr char cantilever_xml[] = R"( @@ -136,7 +137,7 @@ TEST_F(PluginTest, ElasticEnergySolid) { // -------------------------------- cable ----------------------------------- -TEST_F(PluginTest, CantileverIntoCircle) { +TEST_F(ElasticityTest, CantileverIntoCircle) { static constexpr char cantilever_xml[] = R"(