From d2db7737e3fd27dc811bcc6fd14e3c3769dc6cf5 Mon Sep 17 00:00:00 2001 From: Max SCHMELLER Date: Wed, 27 Nov 2024 19:01:38 +0900 Subject: [PATCH] test(hesai): remove unrecorded commands from test suite Signed-off-by: Max SCHMELLER --- nebula_hw_interfaces/test/hesai/test_ptc.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/nebula_hw_interfaces/test/hesai/test_ptc.cpp b/nebula_hw_interfaces/test/hesai/test_ptc.cpp index dc4b789b..7bf15754 100644 --- a/nebula_hw_interfaces/test/hesai/test_ptc.cpp +++ b/nebula_hw_interfaces/test/hesai/test_ptc.cpp @@ -223,17 +223,6 @@ TEST_P(PtcTest, PtcCommunication) std::shared_ptr status; ASSERT_NO_THROW_PRINT(status = hw_interface->GetLidarStatus()); ASSERT_NE(status, nullptr); - - switch (model) { - case SensorModel::HESAI_PANDARQT128: - case SensorModel::HESAI_PANDARXT32: - case SensorModel::HESAI_PANDARAT128: - case SensorModel::HESAI_PANDAR128_E4X: - ASSERT_NO_THROW_PRINT(hw_interface->GetPtpConfig()); - ASSERT_NO_THROW_PRINT(hw_interface->GetPtpDiagStatus()); - default: - break; - } } INSTANTIATE_TEST_SUITE_P(TestMain, PtcTest, testing::ValuesIn(g_models_under_test));