Changeset 13564 in josm for trunk/test
- Timestamp:
- 2018-03-25T18:53:04+02:00 (7 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/mapmode/DrawActionTest.java
r13338 r13564 24 24 import org.openstreetmap.josm.gui.MainApplication; 25 25 import org.openstreetmap.josm.gui.MapFrame; 26 import org.openstreetmap.josm.gui. OsmPrimitivRenderer;26 import org.openstreetmap.josm.gui.PrimitiveRenderer; 27 27 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 28 28 import org.openstreetmap.josm.testutils.JOSMTestRules; … … 44 44 /** 45 45 * Non regression test case for bug #12011. 46 * Add a new node in the middle of way then undo. The rendering of the node, selected, must not cause any crash in OsmPrimitivRenderer.46 * Add a new node in the middle of way then undo. The rendering of the node, selected, must not cause any crash in PrimitiveRenderer. 47 47 * @throws SecurityException see {@link Class#getDeclaredField} for details 48 48 * @throws NoSuchFieldException see {@link Class#getDeclaredField} for details … … 82 82 83 83 JList<OsmPrimitive> lstPrimitives = new JList<>(); 84 OsmPrimitivRenderer renderer = new OsmPrimitivRenderer();84 PrimitiveRenderer renderer = new PrimitiveRenderer(); 85 85 86 86 assertEquals(3, w.getNodesCount()); -
trunk/test/unit/org/openstreetmap/josm/data/osm/DefaultNameFormatterTest.java
r13413 r13564 63 63 TaggingPresets.addTaggingPresets(TaggingPresetReader.readAll("http://localhost:" + wireMockRule.port() + "/" + source, true)); 64 64 65 Comparator< Relation> comparator = DefaultNameFormatter.getInstance().getRelationComparator();65 Comparator<IRelation> comparator = DefaultNameFormatter.getInstance().getRelationComparator(); 66 66 67 67 try (InputStream is = TestUtils.getRegressionDataStream(9632, "data.osm.zip")) {
Note:
See TracChangeset
for help on using the changeset viewer.