From 9991c1530ed935bea4b91814b9974c6ee12558cf Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Thu, 4 Dec 2014 16:03:40 -0800 Subject: [PATCH] Clear all maps in-between each test --- src/AutoPilotPlugins/PX4/Tests/FlightModeConfigTest.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AutoPilotPlugins/PX4/Tests/FlightModeConfigTest.cc b/src/AutoPilotPlugins/PX4/Tests/FlightModeConfigTest.cc index c5ddb7093..0fc4b09dc 100644 --- a/src/AutoPilotPlugins/PX4/Tests/FlightModeConfigTest.cc +++ b/src/AutoPilotPlugins/PX4/Tests/FlightModeConfigTest.cc @@ -140,6 +140,7 @@ void FlightModeConfigTest::cleanup(void) delete _mockUASManager; _mapChannelCombo2Param.clear(); + _mapChannelCombo2ButtonGroup.clear(); } /// @brief Returns channel mapping for the specified parameters -- 2.22.0