Changeset 15927 in josm for trunk/test/unit/org
- Timestamp:
- 2020-02-24T22:06:28+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelperTest.java
r15921 r15927 6 6 import static org.junit.Assert.assertNotNull; 7 7 8 import java.awt.GraphicsEnvironment; 8 9 import java.lang.reflect.Field; 9 10 import java.lang.reflect.InvocationTargetException; … … 35 36 import org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource; 36 37 import org.openstreetmap.josm.testutils.JOSMTestRules; 38 import org.openstreetmap.josm.testutils.mockers.WindowMocker; 37 39 38 40 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; … … 97 99 public void testTicket18764() throws NoSuchMethodException, SecurityException, IllegalAccessException, 98 100 IllegalArgumentException, InvocationTargetException, NoSuchFieldException { 101 TestUtils.assumeWorkingJMockit(); 102 if (GraphicsEnvironment.isHeadless()) { 103 new WindowMocker(); 104 } 99 105 MapCSSStyleSource css = new MapCSSStyleSource( 100 106 "*[building] ⧉ *[highway] { text: tr(\"Building crossing highway\"); }");
Note:
See TracChangeset
for help on using the changeset viewer.