Change R"PROTO raw strings to just R". (#957)
That is actually why Wally was pushing these changes to everyone: clang-format is ignoring these raw strings and does some weird formatting.master
parent
61552314a0
commit
93c450bf6c
|
@ -30,7 +30,7 @@ using ::testing::Eq;
|
||||||
using ::testing::Pointee;
|
using ::testing::Pointee;
|
||||||
using ::testing::Truly;
|
using ::testing::Truly;
|
||||||
|
|
||||||
const std::string kMessage = R"PROTO(
|
const std::string kMessage = R"(
|
||||||
sensor_metadata {
|
sensor_metadata {
|
||||||
trajectory_id: 1
|
trajectory_id: 1
|
||||||
sensor_id: "sensor_id"
|
sensor_id: "sensor_id"
|
||||||
|
@ -45,7 +45,7 @@ const std::string kMessage = R"PROTO(
|
||||||
w: 6 x: 7 y: 8 z: 9
|
w: 6 x: 7 y: 8 z: 9
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})PROTO";
|
})";
|
||||||
|
|
||||||
using AddFixedFramePoseDataHandlerTest =
|
using AddFixedFramePoseDataHandlerTest =
|
||||||
testing::HandlerTest<AddFixedFramePoseDataHandler>;
|
testing::HandlerTest<AddFixedFramePoseDataHandler>;
|
||||||
|
|
|
@ -30,7 +30,7 @@ using ::testing::Eq;
|
||||||
using ::testing::Pointee;
|
using ::testing::Pointee;
|
||||||
using ::testing::Truly;
|
using ::testing::Truly;
|
||||||
|
|
||||||
const std::string kMessage = R"PROTO(
|
const std::string kMessage = R"(
|
||||||
sensor_metadata {
|
sensor_metadata {
|
||||||
trajectory_id: 1
|
trajectory_id: 1
|
||||||
sensor_id: "sensor_id"
|
sensor_id: "sensor_id"
|
||||||
|
@ -43,7 +43,7 @@ const std::string kMessage = R"PROTO(
|
||||||
angular_velocity {
|
angular_velocity {
|
||||||
x: 6 y: 7 z: 8
|
x: 6 y: 7 z: 8
|
||||||
}
|
}
|
||||||
})PROTO";
|
})";
|
||||||
|
|
||||||
using AddImuDataHandlerTest = testing::HandlerTest<AddImuDataHandler>;
|
using AddImuDataHandlerTest = testing::HandlerTest<AddImuDataHandler>;
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ using ::testing::Eq;
|
||||||
using ::testing::Pointee;
|
using ::testing::Pointee;
|
||||||
using ::testing::Truly;
|
using ::testing::Truly;
|
||||||
|
|
||||||
const std::string kMessage = R"PROTO(
|
const std::string kMessage = R"(
|
||||||
sensor_metadata {
|
sensor_metadata {
|
||||||
trajectory_id: 1
|
trajectory_id: 1
|
||||||
sensor_id: "sensor_id"
|
sensor_id: "sensor_id"
|
||||||
|
@ -50,7 +50,7 @@ const std::string kMessage = R"PROTO(
|
||||||
translation_weight: 11.0
|
translation_weight: 11.0
|
||||||
rotation_weight: 12.0
|
rotation_weight: 12.0
|
||||||
}
|
}
|
||||||
})PROTO";
|
})";
|
||||||
|
|
||||||
using AddLandmarkDataHandlerTest = testing::HandlerTest<AddLandmarkDataHandler>;
|
using AddLandmarkDataHandlerTest = testing::HandlerTest<AddLandmarkDataHandler>;
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ using ::testing::Eq;
|
||||||
using ::testing::Pointee;
|
using ::testing::Pointee;
|
||||||
using ::testing::Truly;
|
using ::testing::Truly;
|
||||||
|
|
||||||
const std::string kMessage = R"PROTO(
|
const std::string kMessage = R"(
|
||||||
sensor_metadata {
|
sensor_metadata {
|
||||||
trajectory_id: 1
|
trajectory_id: 1
|
||||||
sensor_id: "sensor_id"
|
sensor_id: "sensor_id"
|
||||||
|
@ -45,7 +45,7 @@ const std::string kMessage = R"PROTO(
|
||||||
w: 6 x: 7 y: 8 z: 9
|
w: 6 x: 7 y: 8 z: 9
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})PROTO";
|
})";
|
||||||
|
|
||||||
using AddOdometryDataHandlerTest = testing::HandlerTest<AddOdometryDataHandler>;
|
using AddOdometryDataHandlerTest = testing::HandlerTest<AddOdometryDataHandler>;
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ using ::testing::Eq;
|
||||||
using ::testing::Pointee;
|
using ::testing::Pointee;
|
||||||
using ::testing::Truly;
|
using ::testing::Truly;
|
||||||
|
|
||||||
const std::string kMessage = R"PROTO(
|
const std::string kMessage = R"(
|
||||||
sensor_metadata {
|
sensor_metadata {
|
||||||
trajectory_id: 1
|
trajectory_id: 1
|
||||||
sensor_id: "sensor_id"
|
sensor_id: "sensor_id"
|
||||||
|
@ -43,7 +43,7 @@ const std::string kMessage = R"PROTO(
|
||||||
point_data {
|
point_data {
|
||||||
x: 6.f y: 7.f z: 8.f t: 9.f
|
x: 6.f y: 7.f z: 8.f t: 9.f
|
||||||
}
|
}
|
||||||
})PROTO";
|
})";
|
||||||
|
|
||||||
using AddRangefinderDataHandlerTest =
|
using AddRangefinderDataHandlerTest =
|
||||||
testing::HandlerTest<AddRangefinderDataHandler>;
|
testing::HandlerTest<AddRangefinderDataHandler>;
|
||||||
|
|
|
@ -35,7 +35,7 @@ using ::testing::ReturnRef;
|
||||||
using ::testing::Test;
|
using ::testing::Test;
|
||||||
using ::testing::Truly;
|
using ::testing::Truly;
|
||||||
|
|
||||||
const std::string kMessage = R"PROTO(
|
const std::string kMessage = R"(
|
||||||
expected_sensor_ids {
|
expected_sensor_ids {
|
||||||
id: "range_sensor"
|
id: "range_sensor"
|
||||||
type: RANGE
|
type: RANGE
|
||||||
|
@ -63,7 +63,7 @@ const std::string kMessage = R"PROTO(
|
||||||
timestamp: 9
|
timestamp: 9
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)PROTO";
|
)";
|
||||||
|
|
||||||
class AddTrajectoryHandlerTest
|
class AddTrajectoryHandlerTest
|
||||||
: public testing::HandlerTest<AddTrajectoryHandler> {
|
: public testing::HandlerTest<AddTrajectoryHandler> {
|
||||||
|
|
|
@ -31,7 +31,7 @@ using ::testing::Eq;
|
||||||
using ::testing::Pointee;
|
using ::testing::Pointee;
|
||||||
using ::testing::Truly;
|
using ::testing::Truly;
|
||||||
|
|
||||||
const std::string kMessage = R"PROTO(
|
const std::string kMessage = R"(
|
||||||
landmark_poses {
|
landmark_poses {
|
||||||
landmark_id: "landmark_1"
|
landmark_id: "landmark_1"
|
||||||
global_pose {
|
global_pose {
|
||||||
|
@ -54,7 +54,7 @@ const std::string kMessage = R"PROTO(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)PROTO";
|
)";
|
||||||
|
|
||||||
using GetLandmarkPosesHandlerTest =
|
using GetLandmarkPosesHandlerTest =
|
||||||
testing::HandlerTest<GetLandmarkPosesHandler>;
|
testing::HandlerTest<GetLandmarkPosesHandler>;
|
||||||
|
|
Loading…
Reference in New Issue