source: osm/applications/editors/josm/plugins/reverter/test/data/regress/22520/mappings/06_changeset_36536612_download-52476299-aea3-40b7-8d1f-dd26f94def70.json@ 36042

Last change on this file since 36042 was 36042, checked in by taylor.smock, 20 months ago

Fix #22520: IllegalStateException: Missing merge target for node (patch by GerdP, modified to add tests)

The added test is essentially an integration test instead of a unit test, mostly
due to having no good way to do a test specifically for the method at issue.
The test uses wiremock to (a) speed up the test and (b) avoid adding a test-time
dependency on the OSM API servers. The test required a custom wiremock response
transformer for the OSM multi-fetch API, since it is not guaranteed that the
order of objects will remain the same, which will lead to stub misses, failing
the test.

File size: 4.3 MB

HTML preview not available, since the file size exceeds 2.0 MB.Try downloading the file instead.

Note: See TracBrowser for help on using the repository browser.