From 5254dd4b24c11a908527ad5c636b87187cd958f5 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Wed, 4 Dec 2024 17:55:49 +0100 Subject: [PATCH] Remove LoadOgre* tests Signed-off-by: Jose Luis Rivero --- src/LoadOgre2_TEST.cc | 45 ------------------------------------------- src/LoadOgre_TEST.cc | 45 ------------------------------------------- 2 files changed, 90 deletions(-) delete mode 100644 src/LoadOgre2_TEST.cc delete mode 100644 src/LoadOgre_TEST.cc diff --git a/src/LoadOgre2_TEST.cc b/src/LoadOgre2_TEST.cc deleted file mode 100644 index 889793c16..000000000 --- a/src/LoadOgre2_TEST.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Open Source Robotics Foundation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * -*/ - -#include - -#include - -#include "test_config.h" // NOLINT(build/include) - -#include "gz/rendering/RenderingIface.hh" -#include "gz/rendering/RenderEngine.hh" - -using namespace gz; -using namespace rendering; - -TEST(LoadOgre2Test, LoadOgre2) -{ - // Get engine - auto engine = rendering::engine("ogre2"); - ASSERT_NE(nullptr, engine) << "Unable to load ogre2 render engine" - << std::endl; - - // Clean up - unloadEngine(engine->Name()); -} - -int main(int argc, char **argv) -{ - ::testing::InitGoogleTest(&argc, argv); - return RUN_ALL_TESTS(); -} diff --git a/src/LoadOgre_TEST.cc b/src/LoadOgre_TEST.cc deleted file mode 100644 index c09a96cc3..000000000 --- a/src/LoadOgre_TEST.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Open Source Robotics Foundation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * -*/ - -#include - -#include - -#include "test_config.h" // NOLINT(build/include) - -#include "gz/rendering/RenderingIface.hh" -#include "gz/rendering/RenderEngine.hh" - -using namespace gz; -using namespace rendering; - -TEST(LoadOgreTest, LoadOgre) -{ - // Get engine - auto engine = rendering::engine("ogre"); - ASSERT_NE(nullptr, engine) << "Unable to load ogre render engine" - << std::endl; - - // Clean up - unloadEngine(engine->Name()); -} - -int main(int argc, char **argv) -{ - ::testing::InitGoogleTest(&argc, argv); - return RUN_ALL_TESTS(); -}