Changeset 11726 in josm for trunk/test
- Timestamp:
- 2017-03-13T18:54:20+01:00 (7 years ago)
- Location:
- trunk/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/gui/mappaint/MapCSSRendererTest.java
r11714 r11726 98 98 new TestConfig("area-fill-image", AREA_DEFAULT), 99 99 100 /** Tests area label drawing/placement */ 101 new TestConfig("area-text", AREA_DEFAULT), 102 100 103 /** Tests if all styles are sorted correctly. Tests {@link StyleRecord#compareTo(StyleRecord)} */ 101 104 new TestConfig("order", AREA_DEFAULT) -
trunk/test/unit/org/openstreetmap/josm/actions/JoinAreasActionTest.java
r10945 r11726 48 48 Layer layer = new OsmDataLayer(ds, null, null); 49 49 Main.getLayerManager().addLayer(layer); 50 // FIXME enable this test after we fix the bug. Test disabled for now 51 // try { 52 // new JoinAreasAction().join(ds.getWays()); 53 // } finally { 54 // Ensure we clean the place before leaving, even if test fails. 55 Main.getLayerManager().removeLayer(layer); 56 // } 50 try { 51 new JoinAreasAction().join(ds.getWays()); 52 } finally { 53 // Ensure we clean the place before leaving, even if test fails. 54 Main.getLayerManager().removeLayer(layer); 55 } 57 56 } 58 57 } … … 77 76 Main.main.menu.joinAreas.join(Utils.filteredCollection(found, Way.class)); 78 77 79 Collection<OsmPrimitive> found2 = SearchAction.searchAndReturn("type: wayref="+ref, SearchAction.SearchMode.replace);78 Collection<OsmPrimitive> found2 = SearchAction.searchAndReturn("type:relation ref="+ref, SearchAction.SearchMode.replace); 80 79 assertEquals(1, found2.size()); 81 80 System.out.println(" ==> OK");
Note:
See TracChangeset
for help on using the changeset viewer.