Changeset 32361 in osm for applications/editors/josm/plugins/turnrestrictions
- Timestamp:
- 2016-06-22T09:57:50+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/TurnRestrictionBuilderTest.groovy
r30557 r32361 14 14 import org.openstreetmap.josm.data.coor.LatLon; 15 15 import static org.openstreetmap.josm.plugins.turnrestrictions.TurnRestrictionBuilder.* 16 import org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionType; 16 import org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionType 17 import org.openstreetmap.josm.testutils.JOSMTestRules;; 17 18 18 19 class TurnRestrictionBuilderTest{ 19 20 20 def TurnRestrictionBuilder builder; 21 @Rule 22 public JOSMTestRules rules = new JOSMTestRules().preferences(); 23 24 def TurnRestrictionBuilder builder = new TurnRestrictionBuilder(); 21 25 22 26 def boolean hasExactlyOneMemberWithRole(Relation r, String role ){ … … 35 39 } 36 40 37 @Before38 public void setUp() {39 JOSMFixture.createUnitTestFixture().init()40 builder = new TurnRestrictionBuilder()41 }42 43 41 /** 44 42 * Selection consist of one way and the start node of the way ->
Note:
See TracChangeset
for help on using the changeset viewer.