Changeset 19247 in josm for trunk/test
- Timestamp:
- 2024-10-21T22:45:38+02:00 (4 weeks ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/visitor/paint/StyledTiledMapRendererTest.java
r19221 r19247 20 20 import org.apache.commons.jcs3.access.CacheAccess; 21 21 import org.awaitility.Awaitility; 22 import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable; 22 23 import org.junit.jupiter.params.ParameterizedTest; 23 24 import org.junit.jupiter.params.provider.Arguments; … … 38 39 * Test class for {@link StyledTiledMapRenderer} 39 40 */ 41 @DisabledIfEnvironmentVariable(disabledReason = "Needs more work; leave enabled locally but disable on CI", named = "CI", matches = "true") 40 42 @Main 41 43 @Projection -
trunk/test/unit/org/openstreetmap/josm/gui/layer/OsmDataLayerTest.java
r18870 r19247 29 29 import org.openstreetmap.josm.data.osm.OsmPrimitive; 30 30 import org.openstreetmap.josm.data.osm.Relation; 31 import org.openstreetmap.josm.data.osm.RelationMember; 31 32 import org.openstreetmap.josm.data.osm.Way; 32 33 import org.openstreetmap.josm.gui.MainApplication; … … 335 336 assertTrue(Logging.getLastErrorAndWarnings().stream().noneMatch(s -> s.contains("UnsupportedFlavorException"))); 336 337 } 338 339 /** 340 * Non-regression test for #23950 341 */ 342 @Test 343 void testTicket23950() { 344 final Relation first = TestUtils.newRelation("", new RelationMember("", TestUtils.newNode(""))); 345 final DataSet ds = new DataSet(); 346 // This is needed to cause the condition 347 MainApplication.getLayerManager().addLayer(new OsmDataLayer(ds, "StyledTiledMapRendererTest#testRecursiveRelation", null)); 348 ds.addPrimitiveRecursive(first); 349 first.addMember(new RelationMember("", first)); 350 ds.setSelected(first); 351 } 352 337 353 }
Note:
See TracChangeset
for help on using the changeset viewer.