Changeset 33509 in osm for applications/editors/josm/plugins/pt_assistant/test
- Timestamp:
- 2017-08-21T10:53:02+02:00 (7 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pt_assistant/test/unit/org/openstreetmap/josm/plugins/pt_assistant/actions/SortPTRouteMembersActionTest.java
r33497 r33509 21 21 22 22 /** 23 * Unit tests for class {@link SortPT StopsAction}.23 * Unit tests for class {@link SortPTRouteMembersAction}. 24 24 * 25 25 * @author giack 26 26 * 27 27 */ 28 public class SortPT StopsActionTest extends AbstractTest {28 public class SortPTRouteMembersActionTest extends AbstractTest { 29 29 30 30 /** … … 45 45 Relation rel = (Relation) ds.getPrimitiveById( 46 46 new SimplePrimitiveId(7367762L, OsmPrimitiveType.RELATION)); 47 new SortPTStopsAction().sortPTStops(rel);47 SortPTRouteMembersAction.sortPTRouteMembers(rel); 48 48 49 49 assertEquals("Acitillo - Istituto Fortunato", rel.getMember(0).getNode().getName()); … … 77 77 Relation rel = (Relation) ds.getPrimitives(p -> p.getType() == OsmPrimitiveType.RELATION && 78 78 "150 Piazza Garibaldi → Osp. Monaldi".equals(p.getName())).iterator().next(); 79 new SortPTStopsAction().sortPTStops(rel);79 SortPTRouteMembersAction.sortPTRouteMembers(rel); 80 80 81 81 assertNull(rel.getMember(0).getNode().getName());
Note:
See TracChangeset
for help on using the changeset viewer.