- Timestamp:
- 2024-05-24T22:21:22+02:00 (6 months ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/mappaint/RenderingCLIAreaTest.java
r18799 r19086 45 45 // 1 46 46 runs.add(new Object[] {"--scale 4000 --bounds " + param(bFeldberg), 47 CoreMatchers.is(scaleFeldberg4000),47 isFP(scaleFeldberg4000, ErrorMode.ABSOLUTE, 0.000000000001d), 48 48 CoreMatchers.is(bFeldberg)}); 49 49 -
trunk/test/unit/org/openstreetmap/josm/tools/date/DateUtilsTest.java
r19057 r19086 17 17 import java.util.concurrent.ForkJoinPool; 18 18 19 import org.hamcrest.CoreMatchers; 19 20 import org.junit.jupiter.api.Disabled; 20 21 import org.junit.jupiter.api.Test; … … 164 165 165 166 setTimeZone(TimeZone.getTimeZone("Europe/Berlin")); 166 assertEquals("1:00:00" + separator + "AM GMT+01:00", DateUtils.formatTime(new Date(0), 167 DateFormat.LONG), "This is mostly dependent upon java.locale.providers. CET is also OK."); 167 String p1 = "1:00:00" + separator + "AM GMT+01:00"; 168 String p2 = "1:00:00" + separator + "AM CET"; 169 assertEquals(DateUtils.formatTime(new Date(0), DateFormat.LONG), 170 CoreMatchers.anyOf(CoreMatchers.is(p1), CoreMatchers.is(p2)), 171 "This is mostly dependent upon java.locale.providers."); 168 172 } 169 173
Note:
See TracChangeset
for help on using the changeset viewer.