Taylor Smock
9bbf637d31
More testing
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-24 15:56:39 -07:00
Taylor Smock
a365b4468f
Add test for MapWithAILayer#getMenuEntries
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-24 15:02:06 -07:00
Taylor Smock
a9c06e44df
Allow test to run in headless mode and add mocker for OpenBrowser
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-24 15:02:06 -07:00
Taylor Smock
ad7c658b2b
Don't add cycle layer actions when on JOSM r15923+
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-24 13:39:27 -07:00
Taylor Smock
7f8b79acb0
Improve matching for sources from arbitrary data locations
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-20 16:10:33 -07:00
Taylor Smock
cdf42b0a88
Don't overwrite the mapwithai:source if it is already present.
...
Also, MapWithAI no longer returns source as an attribute, so I can
remove the deduplication code for source tags.
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-20 15:40:08 -07:00
Taylor Smock
c87f0cc6f1
Modify stub ends to categorize them into broad meter categories
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-20 15:27:13 -07:00
Taylor Smock
6ded2f1457
Don't flag dams as a routable way, only flag if there is also a highway tag
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-19 07:10:38 -07:00
Taylor Smock
e9be8a7fc9
Really fix deadlock(tm) (try running some items through EDT, since that is where deadlock happens)
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-10 17:08:37 -07:00
Taylor Smock
a589db8cfa
Add action for cycling through layers. Revert when JOSM-18638 is fixed.
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-10 17:08:37 -07:00
Taylor Smock
571c2dd7f2
Update stub ends test to check 5m by default and ignore noexit=yes
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-06 07:37:25 -07:00
Taylor Smock
dadda286d5
Update primitive id generation for JOSM 15820
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-06 07:36:21 -07:00
Taylor Smock
b7a19df0cc
Correctly count nodes (for addresses)
...
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
2020-02-05 19:32:46 -07:00
Taylor Smock
6f1f282605
Don't try to make a directory twice
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 16:21:04 -07:00
Taylor Smock
ac24eb7625
Tags don't know that they are on a branch for CI variables
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 16:18:02 -07:00
Taylor Smock
ddf360f8be
Modify gitlab-ci for more automation
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 16:07:54 -07:00
Taylor Smock
f48c951b59
Mark most tests as experimental
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 15:48:38 -07:00
Taylor Smock
9c839621c3
Fix javadoc issues
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 15:44:10 -07:00
Taylor Smock
c7a913ef0b
Fix warnings from various tools
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 15:35:57 -07:00
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
e1bd79ca9c
Fix an issue where SwingUtilities.invokeAndWait is called in the EDT
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 10:11:39 -07:00
Taylor Smock
cbde7fb181
Fix some race conditions with EDT threads
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-31 08:03:00 -07:00
Taylor Smock
0c522d932c
Formatting fixes
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-31 08:02:59 -07:00
Taylor Smock
b798cef706
Use new Geometry.filterInsideAnyPolygon (JOSM r15730)
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-31 08:02:59 -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
4666a5cff1
Revert "Ensure that the counter for unique ids is only ever advanced once"
...
This reverts commit 68a81a1e4e
.
2020-01-27 15:45:28 -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
7b26972dfc
Fix issue with external sources
...
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
2020-01-23 20:03:33 -07:00
Taylor Smock
b50f85f4ff
Bump old versions
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-23 07:46:22 -07:00
Taylor Smock
68a81a1e4e
Ensure that the counter for unique ids is only ever advanced once
...
This fixes JOSM-18601, if the analysis was correct.
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-23 07:42:49 -07:00
Taylor Smock
582bf0c640
Bump old version
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 15:22:16 -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
31c9e4d890
Modify rules for gitlab-ci
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 10:53:52 -07:00
Taylor Smock
842cf1f180
Bump minimum JOSM version due to changing interface
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 09:40:49 -07:00
Taylor Smock
c6576cc8be
Fix some lint issues
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 09:36:17 -07:00
Taylor Smock
17bb7ed85f
Fix warning on Builder (use TestError.Builder instead)
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 09:26:35 -07:00
Taylor Smock
4e8eea63cb
Change when in gitlab-ci
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 09:20:09 -07:00
Taylor Smock
16c06e0bd9
Fix issue where stub end test would throw issues on nodes outside download area.
...
The nodes were pre-existing, which means that they may or may not be
connected to other ways.
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 09:18:16 -07:00
Taylor Smock
ed18321973
Modify ci to use rules
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 08:44:28 -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
51dc46d2c1
Revert "Only run layer creation in synchronized block."
...
This reverts commit 17959a4020
.
2020-01-17 08:23:56 -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
9ed527b36a
Checkstyle
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-16 17:15:37 -07:00
Taylor Smock
fdd4ce0b02
Use ChangeCommand to modify ways
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-16 17:03:22 -07:00
Taylor Smock
ee598b4b5e
Bump old versions
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-16 16:36:03 -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