Ignore:
Timestamp:
2017-08-21T10:53:02+02:00 (7 years ago)
Author:
giackserva
Message:

[pt_assistant] stop sorter renamed into relation sorter and used for fixing sorting errors

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  
    2121
    2222/**
    23  * Unit tests for class {@link SortPTStopsAction}.
     23 * Unit tests for class {@link SortPTRouteMembersAction}.
    2424 *
    2525 * @author giack
    2626 *
    2727 */
    28 public class SortPTStopsActionTest extends AbstractTest {
     28public class SortPTRouteMembersActionTest extends AbstractTest {
    2929
    3030    /**
     
    4545        Relation rel = (Relation) ds.getPrimitiveById(
    4646                new SimplePrimitiveId(7367762L, OsmPrimitiveType.RELATION));
    47         new SortPTStopsAction().sortPTStops(rel);
     47        SortPTRouteMembersAction.sortPTRouteMembers(rel);
    4848
    4949        assertEquals("Acitillo - Istituto Fortunato", rel.getMember(0).getNode().getName());
     
    7777        Relation rel = (Relation) ds.getPrimitives(p -> p.getType() == OsmPrimitiveType.RELATION &&
    7878                "150 Piazza Garibaldi → Osp. Monaldi".equals(p.getName())).iterator().next();
    79         new SortPTStopsAction().sortPTStops(rel);
     79        SortPTRouteMembersAction.sortPTRouteMembers(rel);
    8080
    8181        assertNull(rel.getMember(0).getNode().getName());
Note: See TracChangeset for help on using the changeset viewer.