Skip to content

Commit

Permalink
Migrate kIgnAuthDomain
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Jun 28, 2022
1 parent d646b76 commit 5c02f56
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions src/ModelCommandAPI_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "gz/sim/Server.hh"
#include "gz/sim/test_config.hh" // NOLINT(build/include)

static const std::string kIgnModelCommand(
static const std::string kGzModelCommand(
std::string(BREW_RUBY) + std::string(GZ_PATH) + " model ");

/////////////////////////////////////////////////
Expand Down Expand Up @@ -75,7 +75,7 @@ std::string customExecStr(std::string _cmd)
// See https:/gazebosim/gz-sim/issues/1175
TEST(ModelCommandAPI, GZ_UTILS_TEST_DISABLED_ON_WIN32(NoServerRunning))
{
const std::string cmd = kIgnModelCommand + "--list ";
const std::string cmd = kGzModelCommand + "--list ";
const std::string output = customExecStr(cmd);
const std::string expectedOutput =
"\nService call to [/gazebo/worlds] timed out\n"
Expand All @@ -102,7 +102,7 @@ TEST(ModelCommandAPI, GZ_UTILS_TEST_DISABLED_ON_WIN32(Commands))

// Tested command: gz model --list
{
const std::string cmd = kIgnModelCommand + "--list";
const std::string cmd = kGzModelCommand + "--list";
const std::string output = customExecStr(cmd);
const std::string expectedOutput =
"\nRequesting state for world [diff_drive]..."
Expand All @@ -114,7 +114,7 @@ TEST(ModelCommandAPI, GZ_UTILS_TEST_DISABLED_ON_WIN32(Commands))

// Tested command: gz model -m vehicle_blue
{
const std::string cmd = kIgnModelCommand + "-m vehicle_blue";
const std::string cmd = kGzModelCommand + "-m vehicle_blue";
std::string output = customExecStr(cmd);
ReplaceNegativeZeroValues(output);
const std::string expectedOutput =
Expand Down Expand Up @@ -216,7 +216,7 @@ TEST(ModelCommandAPI, GZ_UTILS_TEST_DISABLED_ON_WIN32(Commands))

// Tested command: gz model -m vehicle_blue --pose
{
const std::string cmd = kIgnModelCommand + "-m vehicle_blue --pose ";
const std::string cmd = kGzModelCommand + "-m vehicle_blue --pose ";
std::string output = customExecStr(cmd);
ReplaceNegativeZeroValues(output);
const std::string expectedOutput =
Expand All @@ -231,7 +231,7 @@ TEST(ModelCommandAPI, GZ_UTILS_TEST_DISABLED_ON_WIN32(Commands))

// Tested command: gz model -m vehicle_blue --link
{
const std::string cmd = kIgnModelCommand +
const std::string cmd = kGzModelCommand +
"-m vehicle_blue --link";
std::string output = customExecStr(cmd);
ReplaceNegativeZeroValues(output);
Expand Down Expand Up @@ -298,7 +298,7 @@ TEST(ModelCommandAPI, GZ_UTILS_TEST_DISABLED_ON_WIN32(Commands))

// Tested command: gz model -m vehicle_blue --link caster
{
const std::string cmd = kIgnModelCommand +
const std::string cmd = kGzModelCommand +
"-m vehicle_blue --link caster";
std::string output = customExecStr(cmd);
ReplaceNegativeZeroValues(output);
Expand All @@ -323,7 +323,7 @@ TEST(ModelCommandAPI, GZ_UTILS_TEST_DISABLED_ON_WIN32(Commands))

// Tested command: gz model -m vehicle_blue --joint
{
const std::string cmd = kIgnModelCommand +
const std::string cmd = kGzModelCommand +
"-m vehicle_blue --joint";
std::string output = customExecStr(cmd);
ReplaceNegativeZeroValues(output);
Expand Down Expand Up @@ -365,7 +365,7 @@ TEST(ModelCommandAPI, GZ_UTILS_TEST_DISABLED_ON_WIN32(Commands))

// Tested command: gz model -m vehicle_blue --joint caster_wheel
{
const std::string cmd = kIgnModelCommand +
const std::string cmd = kGzModelCommand +
"-m vehicle_blue --joint caster_wheel";
std::string output = customExecStr(cmd);
ReplaceNegativeZeroValues(output);
Expand Down Expand Up @@ -402,7 +402,7 @@ TEST(ModelCommandAPI, AirPressureSensor)

// Tested command: gz model -m altimeter_mode -l link -s altimeter_sensor
{
const std::string cmd = kIgnModelCommand
const std::string cmd = kGzModelCommand
+ "-m air_pressure_model -l link -s air_pressure_sensor";
std::string output = customExecStr(cmd);
ReplaceNegativeZeroValues(output);
Expand Down Expand Up @@ -445,7 +445,7 @@ TEST(ModelCommandAPI, AltimeterSensor)

// Tested command: gz model -m altimeter_mode -l link -s altimeter_sensor
{
const std::string cmd = kIgnModelCommand
const std::string cmd = kGzModelCommand
+ "-m altimeter_model -l link -s altimeter_sensor";
std::string output = customExecStr(cmd);
ReplaceNegativeZeroValues(output);
Expand Down Expand Up @@ -495,7 +495,7 @@ TEST(ModelCommandAPI, GpuLidarSensor)

// Tested command: gz model -m altimeter_mode -l link -s altimeter_sensor
{
const std::string cmd = kIgnModelCommand
const std::string cmd = kGzModelCommand
+ "-m gpu_lidar -l gpu_lidar_link -s gpu_lidar";
std::string output = customExecStr(cmd);
ReplaceNegativeZeroValues(output);
Expand Down Expand Up @@ -551,7 +551,7 @@ TEST(ModelCommandAPI, MagnetometerSensor)

// Tested command: gz model -m altimeter_mode -l link -s altimeter_sensor
{
const std::string cmd = kIgnModelCommand
const std::string cmd = kGzModelCommand
+ "-m magnetometer_model -l link -s magnetometer_sensor";
std::string output = customExecStr(cmd);
ReplaceNegativeZeroValues(output);
Expand Down Expand Up @@ -610,7 +610,7 @@ TEST(ModelCommandAPI, GZ_UTILS_TEST_DISABLED_ON_MAC(RgbdCameraSensor))

// Tested command: gz model -m altimeter_mode -l link -s altimeter_sensor
{
const std::string cmd = kIgnModelCommand
const std::string cmd = kGzModelCommand
+ "-m rgbd_camera -l rgbd_camera_link -s rgbd_camera";
std::string output = customExecStr(cmd);
ReplaceNegativeZeroValues(output);
Expand Down
2 changes: 1 addition & 1 deletion test/integration/scene_broadcaster_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ TEST_P(SceneBroadcasterTest,
}

/////////////////////////////////////////////////
// Tests https:/ignitionrobotics/ign-gazebo/issues/1414
// Tests https:/gazebosim/gz-sim/issues/1414
TEST_P(SceneBroadcasterTest,
GZ_UTILS_TEST_DISABLED_ON_WIN32(DecimalStateHertz))
{
Expand Down

0 comments on commit 5c02f56

Please sign in to comment.