Skip to content

Commit f7f490a

Browse files
committed
Rename changeset parser to parse_changeset_xml_input
1 parent a5e9e19 commit f7f490a

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

include/cgimap/api06/changeset_upload/changeset_input_format.hpp renamed to include/cgimap/api06/changeset_upload/changeset_xml_input_format.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
* For a full list of authors see the git log.
88
*/
99

10-
#ifndef CHANGESET_INPUT_FORMAT_HPP
11-
#define CHANGESET_INPUT_FORMAT_HPP
10+
#ifndef CHANGESET_XML_INPUT_FORMAT_HPP
11+
#define CHANGESET_XML_INPUT_FORMAT_HPP
1212

1313
#include "cgimap/types.hpp"
1414
#include "cgimap/util.hpp"
@@ -204,4 +204,4 @@ namespace api06 {
204204

205205
} // namespace api06
206206

207-
#endif // CHANGESET_INPUT_FORMAT_HPP
207+
#endif // CHANGESET_XML_INPUT_FORMAT_HPP

src/api06/changeset_create_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "cgimap/request_helpers.hpp"
1313

1414
#include "cgimap/api06/changeset_create_handler.hpp"
15-
#include "cgimap/api06/changeset_upload/changeset_input_format.hpp"
15+
#include "cgimap/api06/changeset_upload/changeset_xml_input_format.hpp"
1616
#include "cgimap/backend/apidb/changeset_upload/changeset_updater.hpp"
1717
#include "cgimap/backend/apidb/transaction_manager.hpp"
1818

src/api06/changeset_update_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "cgimap/request_helpers.hpp"
1313

1414
#include "cgimap/api06/changeset_update_handler.hpp"
15-
#include "cgimap/api06/changeset_upload/changeset_input_format.hpp"
15+
#include "cgimap/api06/changeset_upload/changeset_xml_input_format.hpp"
1616
#include "cgimap/backend/apidb/changeset_upload/changeset_updater.hpp"
1717
#include "cgimap/backend/apidb/transaction_manager.hpp"
1818

test/CMakeLists.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -139,20 +139,20 @@ if(BUILD_TESTING)
139139
add_test(NAME test_parse_osmchange_json_input
140140
COMMAND test_parse_osmchange_json_input)
141141

142-
############################
143-
# test_parse_changeset_input
144-
############################
145-
add_executable(test_parse_changeset_input
146-
test_parse_changeset_input.cpp)
142+
################################
143+
# test_parse_changeset_xml_input
144+
################################
145+
add_executable(test_parse_changeset_xml_input
146+
test_parse_changeset_xml_input.cpp)
147147

148-
target_link_libraries(test_parse_changeset_input
148+
target_link_libraries(test_parse_changeset_xml_input
149149
cgimap_common_compiler_options
150150
cgimap_core
151151
Boost::program_options
152152
catch2)
153153

154-
add_test(NAME test_parse_changeset_input
155-
COMMAND test_parse_changeset_input)
154+
add_test(NAME test_parse_changeset_xml_input
155+
COMMAND test_parse_changeset_xml_input)
156156

157157

158158
##########################
@@ -289,7 +289,7 @@ if(BUILD_TESTING)
289289
test_parse_time
290290
test_parse_osmchange_xml_input
291291
test_parse_osmchange_json_input
292-
test_parse_changeset_input)
292+
test_parse_changeset_xml_input)
293293

294294
add_dependencies(check test_apidb_backend_nodes
295295
test_apidb_backend_oauth2

test/test_parse_changeset_input.cpp renamed to test/test_parse_changeset_xml_input.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
#include "cgimap/api06/changeset_upload/osmobject.hpp"
11-
#include "cgimap/api06/changeset_upload/changeset_input_format.hpp"
11+
#include "cgimap/api06/changeset_upload/changeset_xml_input_format.hpp"
1212

1313
#include <iostream>
1414
#include <sstream>

0 commit comments

Comments
 (0)