Timestamp:
2022-12-12T19:28:40+01:00 (2 years ago)
Author:
taylor.smock
Message:

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.

Location:
applications/editors/josm/plugins/reverter/test
Files:
12 added

Note: See TracChangeset for help on using the changeset viewer.