Changeset 36064 in osm for applications/editors/josm/plugins/print/test
- Timestamp:
- 2023-03-21T14:49:10+01:00 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/print/test/unit/org/openstreetmap/josm/plugins/print/PrintDialogTest.java
r33118 r36064 2 2 package org.openstreetmap.josm.plugins.print; 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.util.Arrays; … … 8 9 import javax.print.attribute.standard.OrientationRequested; 9 10 10 import org.junit.Ignore; 11 import org.junit.Rule; 12 import org.junit.Test; 13 import org.openstreetmap.josm.testutils.JOSMTestRules; 11 import org.junit.jupiter.api.Disabled; 12 import org.junit.jupiter.api.Test; 13 import org.openstreetmap.josm.testutils.annotations.BasicPreferences; 14 14 15 15 /** 16 16 * Unit test of {@link PrintDialog} class. 17 17 */ 18 public class PrintDialogTest { 19 20 /** 21 * Setup test. 22 */ 23 @Rule 24 public JOSMTestRules rules = new JOSMTestRules().preferences(); 25 18 @BasicPreferences 19 class PrintDialogTest { 26 20 /** 27 21 * Unit test of {@link PrintDialog#unmarshallPrintSetting} … … 29 23 */ 30 24 @Test 31 publicvoid testUnmarshallPrintSetting() throws ReflectiveOperationException {25 void testUnmarshallPrintSetting() throws ReflectiveOperationException { 32 26 assertEquals(OrientationRequested.PORTRAIT, PrintDialog.unmarshallPrintSetting(Arrays.asList( 33 27 "javax.print.attribute.standard.OrientationRequested", … … 42 36 */ 43 37 @Test 44 @ Ignore("not fixed yet")45 publicvoid testTicket13302() throws ReflectiveOperationException {38 @Disabled("not fixed yet") 39 void testTicket13302() throws ReflectiveOperationException { 46 40 assertEquals(OrientationRequested.PORTRAIT, PrintDialog.unmarshallPrintSetting(Arrays.asList( 47 41 "javax.print.attribute.standard.MediaSizeName",
Note:
See TracChangeset
for help on using the changeset viewer.