Ignore:
Timestamp:
2021-07-16T09:16:33+02:00 (4 years ago)
Author:
Don-vip
Message:

fix #21064 - Add JUnit 5 extension for preferences (patch by taylor.smock)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/protobuf/ProtobufTest.java

    r17867 r18037  
    3232import org.openstreetmap.josm.data.vector.VectorWay;
    3333import org.openstreetmap.josm.io.Compression;
    34 import org.openstreetmap.josm.testutils.JOSMTestRules;
     34import org.openstreetmap.josm.testutils.annotations.BasicPreferences;
    3535
    3636import org.junit.jupiter.api.Test;
    37 import org.junit.jupiter.api.extension.RegisterExtension;
    3837
    3938/**
     
    6059    }
    6160
    62     @RegisterExtension
    63     JOSMTestRules josmTestRules = new JOSMTestRules().preferences();
    64 
    6561    private Number bytesToVarInt(int... bytes) {
    6662        byte[] byteArray = new byte[bytes.length];
     
    108104    }
    109105
     106    @BasicPreferences
    110107    @Test
    111108    void testRead_17_26028_50060() throws IOException {
Note: See TracChangeset for help on using the changeset viewer.