Ignore:
Timestamp:
2023-03-21T14:49:10+01:00 (22 months ago)
Author:
taylor.smock
Message:

See #16567: Convert most plugin tests to JUnit 5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pdfimport/test/unit/org/openstreetmap/josm/plugins/pdfimport/pdfbox/PDFParserTest.java

    r34609 r36064  
    22package org.openstreetmap.josm.plugins.pdfimport.pdfbox;
    33
    4 import static org.junit.Assert.assertEquals;
     4
     5import static org.junit.jupiter.api.Assertions.assertEquals;
    56
    67import java.awt.Rectangle;
    78import java.io.File;
    89
    9 import org.junit.Test;
     10import org.junit.jupiter.api.Test;
    1011import org.openstreetmap.josm.TestUtils;
    1112import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
    1213import org.openstreetmap.josm.plugins.pdfimport.PathOptimizer;
    1314
    14 public class PDFParserTest {
     15class PDFParserTest {
    1516
    1617    private PathOptimizer parse(String fileName) throws Exception {
     
    2223
    2324    @Test
    24     public void testParse9053() throws Exception {
     25    void testParse9053() throws Exception {
    2526        PathOptimizer data = parse(TestUtils.getRegressionDataFile(9053, "testpdf.pdf"));
    2627        assertEquals(0, data.bounds.getMinX(), 0);
     
    3334
    3435    @Test
    35     public void testParse12176() throws Exception {
     36    void testParse12176() throws Exception {
    3637        PathOptimizer data = parse(TestUtils.getRegressionDataFile(12176, "LYD_Etage_0.pdf"));
    3738        assertEquals(new Rectangle(595, 842), data.bounds);
Note: See TracChangeset for help on using the changeset viewer.