Ignore:
Timestamp:
2017-07-06T13:11:15+02:00 (8 years ago)
Author:
giackserva
Message:

[pt_assistant] fixed unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pt_assistant/test/unit/org/openstreetmap/josm/plugins/pt_assistant/validation/SegmentCheckerTest.java

    r33414 r33428  
    3434        SegmentChecker segmentChecker = new SegmentChecker(route, test);
    3535        segmentChecker.performStopByStopTest();
    36         assertEquals(SegmentChecker.getCorrectSegmentCount(), 27);
    37         assertEquals(segmentChecker.getErrors().size(), 0);
    38 
    39 
    40 
    41 
     36        //since 33425 storing correct segments only of continuous routes
     37        test.storeCorrectRouteSegments(route,
     38                segmentChecker.getManager(), segmentChecker.getAssigner());
     39        assertEquals(27, SegmentChecker.getCorrectSegmentCount());
     40        assertEquals(0, segmentChecker.getErrors().size());
    4241    }
    4342}
Note: See TracChangeset for help on using the changeset viewer.