Last change
on this file since 18918 was 18918, checked in by taylor.smock, 5 months ago |
Fix #23290: Validate the regions a tag is expected to be in (patch by Sarabjeet108, modified)
Modifications are as follows:
- Allow the use of the new
region attributes for keys inside a preset
- Basic tests
regions comes from Vespucci's extensions: https://vespucci.io/tutorials/presets/#extensions
|
-
Property svn:eol-style
set to
native
|
File size:
361 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.tagging.presets.items;
|
---|
3 |
|
---|
4 | import org.openstreetmap.josm.gui.tagging.presets.TaggingPresetItemTest;
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * Unit tests of {@link Space} class.
|
---|
8 | */
|
---|
9 | class SpaceTest implements TaggingPresetItemTest {
|
---|
10 | @Override
|
---|
11 | public Space getInstance() {
|
---|
12 | return new Space();
|
---|
13 | }
|
---|
14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.