Move test_helpers to testing/. (#1321)
parent
a42fd47146
commit
8250264441
|
@ -17,7 +17,7 @@
|
|||
#include "cartographer/pose_graph/constraint/cost_function/relative_pose_cost_2d.h"
|
||||
|
||||
#include "cartographer/common/make_unique.h"
|
||||
#include "cartographer/pose_graph/internal/testing/test_helpers.h"
|
||||
#include "cartographer/testing/test_helpers.h"
|
||||
#include "ceres/gradient_checker.h"
|
||||
|
||||
namespace cartographer {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "cartographer/pose_graph/constraint/cost_function/relative_pose_cost_3d.h"
|
||||
|
||||
#include "cartographer/pose_graph/internal/testing/test_helpers.h"
|
||||
#include "cartographer/testing/test_helpers.h"
|
||||
|
||||
namespace cartographer {
|
||||
namespace pose_graph {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "cartographer/pose_graph/constraint/cost_function/rotation_cost_3d.h"
|
||||
|
||||
#include "cartographer/pose_graph/internal/testing/test_helpers.h"
|
||||
#include "cartographer/testing/test_helpers.h"
|
||||
|
||||
namespace cartographer {
|
||||
namespace pose_graph {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "cartographer/pose_graph/constraint/loss_function/loss_function.h"
|
||||
|
||||
#include "cartographer/pose_graph/internal/testing/test_helpers.h"
|
||||
#include "cartographer/testing/test_helpers.h"
|
||||
|
||||
namespace cartographer {
|
||||
namespace pose_graph {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "cartographer/pose_graph/constraint/rotation_constraint_3d.h"
|
||||
|
||||
#include "cartographer/pose_graph/internal/testing/test_helpers.h"
|
||||
#include "cartographer/testing/test_helpers.h"
|
||||
|
||||
namespace cartographer {
|
||||
namespace pose_graph {
|
||||
|
@ -38,7 +38,6 @@ constexpr char kConstraint[] = R"PROTO(
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
loss_function { quadratic_loss {} }
|
||||
)PROTO";
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "cartographer/pose_graph/node/imu_calibration.h"
|
||||
|
||||
#include "cartographer/pose_graph/internal/testing/test_helpers.h"
|
||||
#include "cartographer/testing/test_helpers.h"
|
||||
|
||||
namespace cartographer {
|
||||
namespace pose_graph {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include <sstream>
|
||||
|
||||
#include "cartographer/pose_graph/internal/testing/test_helpers.h"
|
||||
#include "cartographer/testing/test_helpers.h"
|
||||
|
||||
namespace cartographer {
|
||||
namespace pose_graph {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "cartographer/pose_graph/node/pose_2d.h"
|
||||
|
||||
#include "cartographer/pose_graph/internal/testing/test_helpers.h"
|
||||
#include "cartographer/testing/test_helpers.h"
|
||||
|
||||
namespace cartographer {
|
||||
namespace pose_graph {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "cartographer/pose_graph/node/pose_3d.h"
|
||||
|
||||
#include "cartographer/pose_graph/internal/testing/test_helpers.h"
|
||||
#include "cartographer/testing/test_helpers.h"
|
||||
|
||||
namespace cartographer {
|
||||
namespace pose_graph {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "cartographer/common/make_unique.h"
|
||||
#include "cartographer/pose_graph/constraint/relative_pose_constraint_2d.h"
|
||||
#include "cartographer/pose_graph/internal/testing/test_helpers.h"
|
||||
#include "cartographer/testing/test_helpers.h"
|
||||
|
||||
namespace cartographer {
|
||||
namespace pose_graph {
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef CARTOGRAPHER_POSE_GRAPH_INTERNAL_TESTING_TEST_HELPERS_H_
|
||||
#define CARTOGRAPHER_POSE_GRAPH_INTERNAL_TESTING_TEST_HELPERS_H_
|
||||
#ifndef CARTOGRAPHER_TESTING_TEST_HELPERS_H_
|
||||
#define CARTOGRAPHER_TESTING_TEST_HELPERS_H_
|
||||
|
||||
#include "gmock/gmock.h"
|
||||
#include "google/protobuf/text_format.h"
|
||||
|
@ -48,4 +48,4 @@ MATCHER_P(EqualsProto, expected_proto_string, "") {
|
|||
} // namespace testing
|
||||
} // namespace cartographer
|
||||
|
||||
#endif // CARTOGRAPHER_POSE_GRAPH_INTERNAL_TESTING_TEST_HELPERS_H_
|
||||
#endif // CARTOGRAPHER_TESTING_TEST_HELPERS_H_
|
Loading…
Reference in New Issue