Changeset 18723 in josm for trunk/test/unit/org
- Timestamp:
- 2023-05-10T19:18:54+02:00 (18 months ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/imagery/vectortile/mapbox/style/ExpressionTest.java
r17867 r18723 5 5 6 6 7 import ja vax.json.Json;8 import ja vax.json.JsonValue;7 import jakarta.json.Json; 8 import jakarta.json.JsonValue; 9 9 10 10 import nl.jqno.equalsverifier.EqualsVerifier; -
trunk/test/unit/org/openstreetmap/josm/data/imagery/vectortile/mapbox/style/LayersTest.java
r18578 r18723 10 10 import java.util.Locale; 11 11 12 import ja vax.json.Json;13 import ja vax.json.JsonObject;14 import ja vax.json.JsonValue;12 import jakarta.json.Json; 13 import jakarta.json.JsonObject; 14 import jakarta.json.JsonValue; 15 15 16 16 import nl.jqno.equalsverifier.EqualsVerifier; -
trunk/test/unit/org/openstreetmap/josm/data/imagery/vectortile/mapbox/style/MapboxVectorStyleTest.java
r18011 r18723 29 29 30 30 import javax.imageio.ImageIO; 31 import ja vax.json.Json;32 import ja vax.json.JsonObject;33 import ja vax.json.JsonObjectBuilder;34 import ja vax.json.JsonReader;35 import ja vax.json.JsonStructure;36 import ja vax.json.JsonValue;31 import jakarta.json.Json; 32 import jakarta.json.JsonObject; 33 import jakarta.json.JsonObjectBuilder; 34 import jakarta.json.JsonReader; 35 import jakarta.json.JsonStructure; 36 import jakarta.json.JsonValue; 37 37 38 38 import org.awaitility.Awaitility; -
trunk/test/unit/org/openstreetmap/josm/data/imagery/vectortile/mapbox/style/SourceTest.java
r17867 r18723 13 13 import java.util.stream.Stream; 14 14 15 import ja vax.json.Json;16 import ja vax.json.JsonObject;17 import ja vax.json.JsonValue;15 import jakarta.json.Json; 16 import jakarta.json.JsonObject; 17 import jakarta.json.JsonValue; 18 18 19 19 import org.openstreetmap.josm.data.Bounds; -
trunk/test/unit/org/openstreetmap/josm/data/validation/ValidatorCLITest.java
r18718 r18723 25 25 import java.util.stream.Stream; 26 26 27 import ja vax.json.Json;28 import ja vax.json.JsonObject;29 import ja vax.json.JsonReader;27 import jakarta.json.Json; 28 import jakarta.json.JsonObject; 29 import jakarta.json.JsonReader; 30 30 31 31 import mockit.Mock; -
trunk/test/unit/org/openstreetmap/josm/io/OsmJsonReaderTest.java
r18658 r18723 17 17 import java.util.concurrent.atomic.AtomicBoolean; 18 18 19 import ja vax.json.JsonException;19 import jakarta.json.JsonException; 20 20 21 21 import org.junit.jupiter.api.Test; … … 260 260 * The JSON parser throws {@link RuntimeException}s, specifically 261 261 * <ul> 262 * <li>{@link ja vax.json.JsonException}</li>263 * <li>{@link ja vax.json.stream.JsonParsingException}, extends {@link javax.json.JsonException}</li>264 * <li>{@link ja vax.json.stream.JsonGenerationException}, extends {@link javax.json.JsonException}262 * <li>{@link jakarta.json.JsonException}</li> 263 * <li>{@link jakarta.json.stream.JsonParsingException}, extends {@link jakarta.json.JsonException}</li> 264 * <li>{@link jakarta.json.stream.JsonGenerationException}, extends {@link jakarta.json.JsonException} 265 265 * (which we don't care about when we are <em>parsing</em> JSON)</li> 266 266 * </ul> … … 300 300 // Check that a generic parsing error is properly reported 301 301 ide = assertThrows(IllegalDataException.class, () -> OsmJsonReader.parseDataSet(bais, NullProgressMonitor.INSTANCE)); 302 assertEquals("ja vax.json.stream.JsonParsingException: Invalid token=COMMA at (line no=1, column no=8, offset=7). " +302 assertEquals("jakarta.json.stream.JsonParsingException: Invalid token=COMMA at (line no=1, column no=8, offset=7). " + 303 303 "Expected tokens are: [COLON]", ExceptionUtil.explainException(ide)); 304 304 bais.reset(); -
trunk/test/unit/org/openstreetmap/josm/tools/PlatformHookTestIT.java
r17275 r18723 8 8 import java.net.URL; 9 9 10 import ja vax.json.Json;10 import jakarta.json.Json; 11 11 12 12 import org.junit.jupiter.api.Test;
Note:
See TracChangeset
for help on using the changeset viewer.