Taylor Smock
7e89da6b3f
Improve error output (point at the addresses that cause the issue)
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 15:12:27 -07:00
Taylor Smock
d0b7cc470d
Initial commit for checking street address order
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 14:45:46 -07:00
Taylor Smock
c1bc8ce95f
Add license information and change a static field to public
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 13:31:48 -07:00
Taylor Smock
9d4e7bdbf1
Initial address checking
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-31 08:02:59 -07:00
Taylor Smock
40c7f3d59d
Fix tests
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-27 11:37:08 -07:00
Taylor Smock
292556f52e
Move node onto way, not way onto node
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 15:01:24 -07:00
Taylor Smock
70b624452d
Fix JOSM-18578 -- crash when adding MapWithAI layer multiple times.
...
The test looks at the last errors and warnings from the Logger, since
the issue was not being raised.
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 08:44:28 -07:00
Taylor Smock
23608a429f
Add test for stub ends
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-17 08:00:54 -07:00
Taylor Smock
827c780bef
Fix issue where a way would not be registered as modified when a node is added
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-16 16:36:03 -07:00
Taylor Smock
96ebe5ed98
Fix an NPE when a dupe node is deleted
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-16 10:00:52 -07:00
Taylor Smock
b79de5274f
Ensure that dupe keys aren't kept when nodes aren't merged
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-16 09:28:52 -07:00
Taylor Smock
a4f0f65cd2
Add test for merging addresses/buildings
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 16:59:04 -07:00
Taylor Smock
d05eca89d8
Add new conflation command to merge address nodes onto buildings
...
Also some conflation commands can be undone without move the object back
to the MapWithAI layer.
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 16:14:42 -07:00
Taylor Smock
41105000c0
Convert conflation keys to just be KEY
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 13:46:02 -07:00
Taylor Smock
cc6aa7e600
Add test for remaining conflation keys
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 13:27:08 -07:00
Taylor Smock
b396b7c1a2
Modify test to use reflection for expected values
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 13:26:42 -07:00
Taylor Smock
5cfaed60fc
Increase timeout for tests, due to now making some network requests (not needed for actual test, due to implementation details)
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-10 08:23:49 -07:00
Taylor Smock
d615475850
Various fixups
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-10 08:12:43 -07:00
Taylor Smock
3686407b18
Decrease max download sizes due to timeout issues
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-09 15:33:05 -07:00
Taylor Smock
df59a8e7dc
Use cached version instead of live version for tests
...
MapWithAIActionTest was getting the live version of MapWithAI's current
data area and caching it. The test for availability was expecting to use
the cached data area.
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-31 08:20:39 -07:00
Taylor Smock
ff20cb491d
Remove a custom delete command, and fix the related test issues
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-23 15:42:06 -07:00
Taylor Smock
014f02f2e9
Add version where #18436 was fixed (r15609)
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-23 15:40:44 -07:00
Taylor Smock
6b033159a5
Increase test timeout
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-20 09:45:31 -07:00
Taylor Smock
867535ae15
Add routing test
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-19 17:41:31 -07:00
Taylor Smock
54a1aa1f1f
Fix test that failed due to JOSM #18436 (a fix that is included in the 18436.1.patch)
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-18 16:27:57 -07:00
Taylor Smock
3632380cf8
Fix an issue where multiple bbox downloads would case an exception
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-18 15:05:08 -07:00
Taylor Smock
900737bd1b
Add test for DownloadMapWithAITask and fix some tests
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-18 14:28:41 -07:00
Taylor Smock
ac885c04bb
Add test for already added elements and remove an unused variable
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-18 14:28:40 -07:00
Taylor Smock
d1dce41156
Remove custom download code
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-18 14:28:40 -07:00
Taylor Smock
e58f941fbb
Move to Assertions from Assert and add comments to asserts
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-16 11:19:34 -07:00
Taylor Smock
5aefb58eb6
Fix some PMD issues in tests
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-16 09:46:07 -07:00
Taylor Smock
31c60293f6
Allow for a central repository for MapWithAI-plugin compatible servers
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-12 13:06:45 -07:00
Taylor Smock
a14502d1d2
Formatting fixes
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-12 13:06:45 -07:00
Taylor Smock
6127d2398e
Fix some sonarlint warnings and remove some todo's that aren't needed
...
Also fix compilation warnings
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-12 13:06:44 -07:00
Taylor Smock
2d97022ee2
Workaround MapWithAI timeout issues by decreasing size of download area in test
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-12 13:06:44 -07:00
Taylor Smock
38399f73cc
Allow downloading of arbitrary data from the main download panel
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-12 13:06:44 -07:00
Taylor Smock
0da81b669e
Fix an issue where tests would fail if not run first
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-05 16:20:36 -07:00
Taylor Smock
0dd6cbb1c3
Ignore test if in headless environment
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-05 15:23:47 -07:00
Taylor Smock
7830319fb1
Add test for update prod
...
Also, fix an intermittent test issue
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-05 11:51:42 -07:00
Taylor Smock
b3444c7254
Enable buildings by default
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-05 08:11:13 -07:00
Taylor Smock
ee210efda8
Update error prone and fix bugs found
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-12-03 14:01:53 -07:00
Taylor Smock
d3d1499951
Fix https://josm.openstreetmap.de/ticket/18351
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-11-22 09:35:43 -07:00
Taylor Smock
fceeea8c7d
Fix an issue where ways could have a zig-zag
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-11-21 13:50:39 -07:00
Taylor Smock
c78074a929
Fix an issue where an NPE occurred during tests, and prevent crashes if icons are missing
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-11-21 13:04:13 -07:00
Taylor Smock
22504d91df
Fix #46 (DataIntegrityProblemException)
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-11-21 13:03:12 -07:00
Taylor Smock
5a5c8867b2
More tests for MergeDuplicateWays
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-11-20 09:41:45 -07:00
Taylor Smock
88d20b1974
Move test to appropriate location
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-11-20 08:56:31 -07:00
Taylor Smock
2a94c3e04b
More tests for MapWithAIRemoteControl
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-11-20 07:38:17 -07:00
Taylor Smock
f659ca1f46
Expand tests for MapWithAIAction
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-11-19 14:15:45 -07:00
Taylor Smock
a470f9f95c
Add tests for merging duplicate ways, with some fixes
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-11-19 13:15:34 -07:00