|
25 | 25 | #endif
|
26 | 26 | #include <ignition/common/Console.hh>
|
27 | 27 | #include <ignition/gui/Application.hh>
|
28 |
| -#include <ignition/gui/Plugin.hh> |
29 | 28 | #include <ignition/gui/MainWindow.hh>
|
| 29 | +#include <ignition/gui/Plugin.hh> |
30 | 30 | #include <ignition/transport/Node.hh>
|
31 | 31 | #include <ignition/utilities/ExtraTestMacros.hh>
|
| 32 | +#include <ignition/utils/SuppressWarning.hh> |
32 | 33 |
|
33 | 34 | #include "ignition/gazebo/components/Joint.hh"
|
34 | 35 | #include "ignition/gazebo/components/JointAxis.hh"
|
@@ -67,7 +68,10 @@ TEST_F(JointPositionControllerGui, IGN_UTILS_TEST_ENABLED_ONLY_ON_LINUX(Load))
|
67 | 68 | app->AddPluginPath(std::string(PROJECT_BINARY_PATH) + "/lib");
|
68 | 69 |
|
69 | 70 | // Create GUI runner to handle gazebo::gui plugins
|
| 71 | + // TODO(anyone) Remove deprecation guard once GuiRunner becomes private |
| 72 | + IGN_UTILS_WARN_IGNORE__DEPRECATED_DECLARATION |
70 | 73 | auto runner = new gazebo::GuiRunner("test");
|
| 74 | + IGN_UTILS_WARN_RESUME__DEPRECATED_DECLARATION |
71 | 75 | runner->connect(app.get(), &gui::Application::PluginAdded,
|
72 | 76 | runner, &gazebo::GuiRunner::OnPluginAdded);
|
73 | 77 | runner->setParent(gui::App());
|
@@ -142,7 +146,10 @@ TEST_F(JointPositionControllerGui,
|
142 | 146 | app->AddPluginPath(std::string(PROJECT_BINARY_PATH) + "/lib");
|
143 | 147 |
|
144 | 148 | // Create GUI runner to handle gazebo::gui plugins
|
| 149 | + // TODO(anyone) Remove deprecation guard once GuiRunner becomes private |
| 150 | + IGN_UTILS_WARN_IGNORE__DEPRECATED_DECLARATION |
145 | 151 | auto runner = new gazebo::GuiRunner("test");
|
| 152 | + IGN_UTILS_WARN_RESUME__DEPRECATED_DECLARATION |
146 | 153 | runner->connect(app.get(), &gui::Application::PluginAdded,
|
147 | 154 | runner, &gazebo::GuiRunner::OnPluginAdded);
|
148 | 155 | runner->setParent(gui::App());
|
|
0 commit comments