Ignore:
Timestamp:
2020-10-28T20:41:00+01:00 (5 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/data/projection/ProjectionRegressionTest.java

    r16643 r17275  
    1919import java.util.stream.Collectors;
    2020
    21 import org.junit.BeforeClass;
    22 import org.junit.Test;
     21import org.junit.jupiter.api.BeforeAll;
     22import org.junit.jupiter.api.Test;
    2323import org.openstreetmap.josm.JOSMFixture;
    2424import org.openstreetmap.josm.data.Bounds;
     
    3939 * test data, by running the main method of this class and commit the new data file.
    4040 */
    41 public class ProjectionRegressionTest {
     41class ProjectionRegressionTest {
    4242
    4343    private static final String PROJECTION_DATA_FILE = "nodist/data/projection/projection-regression-test-data";
     
    136136     * Setup test.
    137137     */
    138     @BeforeClass
     138    @BeforeAll
    139139    public static void setUp() {
    140140        JOSMFixture.createUnitTestFixture().init();
     
    146146     */
    147147    @Test
    148     public void testNonRegression() throws IOException {
     148    void testNonRegression() throws IOException {
    149149        List<TestData> allData = readData();
    150150        Set<String> dataCodes = allData.stream().map(data -> data.code).collect(Collectors.toSet());
Note: See TracChangeset for help on using the changeset viewer.