Changeset 36064 in osm for applications/editors/josm/plugins/pdfimport
- Timestamp:
- 2023-03-21T14:49:10+01:00 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pdfimport/test/unit/org/openstreetmap/josm/plugins/pdfimport/pdfbox/PDFParserTest.java
r34609 r36064 2 2 package org.openstreetmap.josm.plugins.pdfimport.pdfbox; 3 3 4 import static org.junit.Assert.assertEquals; 4 5 import static org.junit.jupiter.api.Assertions.assertEquals; 5 6 6 7 import java.awt.Rectangle; 7 8 import java.io.File; 8 9 9 import org.junit. Test;10 import org.junit.jupiter.api.Test; 10 11 import org.openstreetmap.josm.TestUtils; 11 12 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 12 13 import org.openstreetmap.josm.plugins.pdfimport.PathOptimizer; 13 14 14 publicclass PDFParserTest {15 class PDFParserTest { 15 16 16 17 private PathOptimizer parse(String fileName) throws Exception { … … 22 23 23 24 @Test 24 publicvoid testParse9053() throws Exception {25 void testParse9053() throws Exception { 25 26 PathOptimizer data = parse(TestUtils.getRegressionDataFile(9053, "testpdf.pdf")); 26 27 assertEquals(0, data.bounds.getMinX(), 0); … … 33 34 34 35 @Test 35 publicvoid testParse12176() throws Exception {36 void testParse12176() throws Exception { 36 37 PathOptimizer data = parse(TestUtils.getRegressionDataFile(12176, "LYD_Etage_0.pdf")); 37 38 assertEquals(new Rectangle(595, 842), data.bounds);
Note:
See TracChangeset
for help on using the changeset viewer.