Ignore:
Timestamp:
2020-10-28T20:41:00+01:00 (3 years ago)
Author:
Don-vip
Message:

see #16567 - upgrade almost all tests to JUnit 5, except those depending on WiremockRule

See https://github.com/tomakehurst/wiremock/issues/684

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/layer/markerlayer/ImageMarkerTest.java

    r9779 r17275  
    22package org.openstreetmap.josm.gui.layer.markerlayer;
    33
    4 import static org.junit.Assert.assertEquals;
     4import static org.junit.jupiter.api.Assertions.assertEquals;
    55
    66import java.net.MalformedURLException;
    77import java.net.URL;
    88
    9 import org.junit.BeforeClass;
    10 import org.junit.Test;
     9import org.junit.jupiter.api.BeforeAll;
     10import org.junit.jupiter.api.Test;
    1111import org.openstreetmap.josm.JOSMFixture;
    1212import org.openstreetmap.josm.data.coor.LatLon;
     
    1717 * Unit tests of {@link ImageMarker} class.
    1818 */
    19 public class ImageMarkerTest {
     19class ImageMarkerTest {
    2020
    2121    /**
    2222     * Setup tests
    2323     */
    24     @BeforeClass
     24    @BeforeAll
    2525    public static void setUpBeforeClass() {
    2626        JOSMFixture.createUnitTestFixture().init();
     
    3232     */
    3333    @Test
    34     public void testImageMarker() throws MalformedURLException {
     34    void testImageMarker() throws MalformedURLException {
    3535        ImageMarker marker = new ImageMarker(
    3636                LatLon.ZERO,
Note: See TracChangeset for help on using the changeset viewer.