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/PlayHeadMarkerTest.java

    r9814 r17275  
    22package org.openstreetmap.josm.gui.layer.markerlayer;
    33
    4 import static org.junit.Assert.assertEquals;
    5 import static org.junit.Assert.assertNotNull;
     4import static org.junit.jupiter.api.Assertions.assertEquals;
     5import static org.junit.jupiter.api.Assertions.assertNotNull;
    66
    7 import org.junit.BeforeClass;
    8 import org.junit.Test;
     7import org.junit.jupiter.api.BeforeAll;
     8import org.junit.jupiter.api.Test;
    99import org.openstreetmap.josm.JOSMFixture;
    1010import org.openstreetmap.josm.data.coor.LatLon;
     
    1414 * Unit tests of {@link PlayHeadMarker} class.
    1515 */
    16 public class PlayHeadMarkerTest {
     16class PlayHeadMarkerTest {
    1717
    1818    /**
    1919     * Setup tests
    2020     */
    21     @BeforeClass
     21    @BeforeAll
    2222    public static void setUpBeforeClass() {
    2323        JOSMFixture.createUnitTestFixture().init();
     
    2828     */
    2929    @Test
    30     public void testPlayHeadMarker() {
     30    void testPlayHeadMarker() {
    3131        PlayHeadMarker marker = PlayHeadMarker.create();
    3232        assertNotNull(marker);
Note: See TracChangeset for help on using the changeset viewer.