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::Truly;
|
||||
|
||||
const std::string kMessage = R"PROTO(
|
||||
const std::string kMessage = R"(
|
||||
sensor_metadata {
|
||||
trajectory_id: 1
|
||||
sensor_id: "sensor_id"
|
||||
|
@ -45,7 +45,7 @@ const std::string kMessage = R"PROTO(
|
|||
w: 6 x: 7 y: 8 z: 9
|
||||
}
|
||||
}
|
||||
})PROTO";
|
||||
})";
|
||||
|
||||
using AddFixedFramePoseDataHandlerTest =
|
||||
testing::HandlerTest<AddFixedFramePoseDataHandler>;
|
||||
|
|
|
@ -30,7 +30,7 @@ using ::testing::Eq;
|
|||
using ::testing::Pointee;
|
||||
using ::testing::Truly;
|
||||
|
||||
const std::string kMessage = R"PROTO(
|
||||
const std::string kMessage = R"(
|
||||
sensor_metadata {
|
||||
trajectory_id: 1
|
||||
sensor_id: "sensor_id"
|
||||
|
@ -43,7 +43,7 @@ const std::string kMessage = R"PROTO(
|
|||
angular_velocity {
|
||||
x: 6 y: 7 z: 8
|
||||
}
|
||||
})PROTO";
|
||||
})";
|
||||
|
||||
using AddImuDataHandlerTest = testing::HandlerTest<AddImuDataHandler>;
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ using ::testing::Eq;
|
|||
using ::testing::Pointee;
|
||||
using ::testing::Truly;
|
||||
|
||||
const std::string kMessage = R"PROTO(
|
||||
const std::string kMessage = R"(
|
||||
sensor_metadata {
|
||||
trajectory_id: 1
|
||||
sensor_id: "sensor_id"
|
||||
|
@ -50,7 +50,7 @@ const std::string kMessage = R"PROTO(
|
|||
translation_weight: 11.0
|
||||
rotation_weight: 12.0
|
||||
}
|
||||
})PROTO";
|
||||
})";
|
||||
|
||||
using AddLandmarkDataHandlerTest = testing::HandlerTest<AddLandmarkDataHandler>;
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ using ::testing::Eq;
|
|||
using ::testing::Pointee;
|
||||
using ::testing::Truly;
|
||||
|
||||
const std::string kMessage = R"PROTO(
|
||||
const std::string kMessage = R"(
|
||||
sensor_metadata {
|
||||
trajectory_id: 1
|
||||
sensor_id: "sensor_id"
|
||||
|
@ -45,7 +45,7 @@ const std::string kMessage = R"PROTO(
|
|||
w: 6 x: 7 y: 8 z: 9
|
||||
}
|
||||
}
|
||||
})PROTO";
|
||||
})";
|
||||
|
||||
using AddOdometryDataHandlerTest = testing::HandlerTest<AddOdometryDataHandler>;
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ using ::testing::Eq;
|
|||
using ::testing::Pointee;
|
||||
using ::testing::Truly;
|
||||
|
||||
const std::string kMessage = R"PROTO(
|
||||
const std::string kMessage = R"(
|
||||
sensor_metadata {
|
||||
trajectory_id: 1
|
||||
sensor_id: "sensor_id"
|
||||
|
@ -43,7 +43,7 @@ const std::string kMessage = R"PROTO(
|
|||
point_data {
|
||||
x: 6.f y: 7.f z: 8.f t: 9.f
|
||||
}
|
||||
})PROTO";
|
||||
})";
|
||||
|
||||
using AddRangefinderDataHandlerTest =
|
||||
testing::HandlerTest<AddRangefinderDataHandler>;
|
||||
|
|
|
@ -35,7 +35,7 @@ using ::testing::ReturnRef;
|
|||
using ::testing::Test;
|
||||
using ::testing::Truly;
|
||||
|
||||
const std::string kMessage = R"PROTO(
|
||||
const std::string kMessage = R"(
|
||||
expected_sensor_ids {
|
||||
id: "range_sensor"
|
||||
type: RANGE
|
||||
|
@ -63,7 +63,7 @@ const std::string kMessage = R"PROTO(
|
|||
timestamp: 9
|
||||
}
|
||||
}
|
||||
)PROTO";
|
||||
)";
|
||||
|
||||
class AddTrajectoryHandlerTest
|
||||
: public testing::HandlerTest<AddTrajectoryHandler> {
|
||||
|
|
|
@ -31,7 +31,7 @@ using ::testing::Eq;
|
|||
using ::testing::Pointee;
|
||||
using ::testing::Truly;
|
||||
|
||||
const std::string kMessage = R"PROTO(
|
||||
const std::string kMessage = R"(
|
||||
landmark_poses {
|
||||
landmark_id: "landmark_1"
|
||||
global_pose {
|
||||
|
@ -54,7 +54,7 @@ const std::string kMessage = R"PROTO(
|
|||
}
|
||||
}
|
||||
}
|
||||
)PROTO";
|
||||
)";
|
||||
|
||||
using GetLandmarkPosesHandlerTest =
|
||||
testing::HandlerTest<GetLandmarkPosesHandler>;
|
||||
|
|
Loading…
Reference in New Issue