Move test_helpers to testing/. (#1321)

master
Alexander Belyaev 2018-07-23 21:18:32 +02:00 committed by GitHub
parent a42fd47146
commit 8250264441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 13 additions and 14 deletions

View File

@ -17,7 +17,7 @@
#include "cartographer/pose_graph/constraint/cost_function/relative_pose_cost_2d.h" #include "cartographer/pose_graph/constraint/cost_function/relative_pose_cost_2d.h"
#include "cartographer/common/make_unique.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" #include "ceres/gradient_checker.h"
namespace cartographer { namespace cartographer {

View File

@ -16,7 +16,7 @@
#include "cartographer/pose_graph/constraint/cost_function/relative_pose_cost_3d.h" #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 cartographer {
namespace pose_graph { namespace pose_graph {

View File

@ -16,7 +16,7 @@
#include "cartographer/pose_graph/constraint/cost_function/rotation_cost_3d.h" #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 cartographer {
namespace pose_graph { namespace pose_graph {

View File

@ -16,7 +16,7 @@
#include "cartographer/pose_graph/constraint/loss_function/loss_function.h" #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 cartographer {
namespace pose_graph { namespace pose_graph {

View File

@ -16,7 +16,7 @@
#include "cartographer/pose_graph/constraint/rotation_constraint_3d.h" #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 cartographer {
namespace pose_graph { namespace pose_graph {
@ -38,7 +38,6 @@ constexpr char kConstraint[] = R"PROTO(
} }
} }
} }
loss_function { quadratic_loss {} } loss_function { quadratic_loss {} }
)PROTO"; )PROTO";

View File

@ -16,7 +16,7 @@
#include "cartographer/pose_graph/node/imu_calibration.h" #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 cartographer {
namespace pose_graph { namespace pose_graph {

View File

@ -18,7 +18,7 @@
#include <sstream> #include <sstream>
#include "cartographer/pose_graph/internal/testing/test_helpers.h" #include "cartographer/testing/test_helpers.h"
namespace cartographer { namespace cartographer {
namespace pose_graph { namespace pose_graph {

View File

@ -16,7 +16,7 @@
#include "cartographer/pose_graph/node/pose_2d.h" #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 cartographer {
namespace pose_graph { namespace pose_graph {

View File

@ -16,7 +16,7 @@
#include "cartographer/pose_graph/node/pose_3d.h" #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 cartographer {
namespace pose_graph { namespace pose_graph {

View File

@ -18,7 +18,7 @@
#include "cartographer/common/make_unique.h" #include "cartographer/common/make_unique.h"
#include "cartographer/pose_graph/constraint/relative_pose_constraint_2d.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 cartographer {
namespace pose_graph { namespace pose_graph {

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_POSE_GRAPH_INTERNAL_TESTING_TEST_HELPERS_H_ #ifndef CARTOGRAPHER_TESTING_TEST_HELPERS_H_
#define CARTOGRAPHER_POSE_GRAPH_INTERNAL_TESTING_TEST_HELPERS_H_ #define CARTOGRAPHER_TESTING_TEST_HELPERS_H_
#include "gmock/gmock.h" #include "gmock/gmock.h"
#include "google/protobuf/text_format.h" #include "google/protobuf/text_format.h"
@ -48,4 +48,4 @@ MATCHER_P(EqualsProto, expected_proto_string, "") {
} // namespace testing } // namespace testing
} // namespace cartographer } // namespace cartographer
#endif // CARTOGRAPHER_POSE_GRAPH_INTERNAL_TESTING_TEST_HELPERS_H_ #endif // CARTOGRAPHER_TESTING_TEST_HELPERS_H_