- Timestamp:
- 2021-07-11T02:35:03+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/ValidatorErrorWriterTest.java
r17989 r17992 10 10 import java.util.Collection; 11 11 import java.util.Collections; 12 import java.util.Locale; 12 13 13 14 import org.junit.jupiter.api.Test; … … 41 42 @Test 42 43 void testErrors() throws IOException { 44 Locale.setDefault(Locale.ENGLISH); 43 45 doTest(Arrays.asList(TestError.builder(new RightAngleBuildingTest(), Severity.OTHER, 3701) 44 46 .message("Building with an almost square angle") … … 46 48 " <analyser timestamp='\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z' name='Almost right angle buildings'>" 47 49 + " <class id='1' level='3'>" 48 + " <classtext lang=' fr' title='Building with an almost square angle'/>"50 + " <classtext lang='en' title='Building with an almost square angle'/>" 49 51 + " </class>" 50 52 + " <error class='1'>" 51 53 + " <location lat='90\\.0' lon='0\\.0'/>" 52 54 + " <node id='-1' visible='true' lat='90\\.0' lon='0\\.0' />" 53 + " <text lang=' fr' value='null'/>"55 + " <text lang='en' value='null'/>" 54 56 + " </error>" 55 57 + " </analyser>");
Note:
See TracChangeset
for help on using the changeset viewer.