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
Alexander Belyaev 2018-03-05 11:47:00 +01:00 committed by GitHub
parent 61552314a0
commit 93c450bf6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 14 additions and 14 deletions

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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> {

View File

@ -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>;