Changeset 8206 in josm for trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/KeyConditionTest.groovy
- Timestamp:
- 2015-04-17T23:06:34+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/KeyConditionTest.groovy
r7081 r8206 77 77 r.addMember(new RelationMember("my_role", n)) 78 78 79 Environment e = new Environment().withPrimitive(n).withParent(r).withIndex(0 ).withLinkContext()79 Environment e = new Environment().withPrimitive(n).withParent(r).withIndex(0, r.membersCount).withLinkContext() 80 80 81 81 Condition cond = Condition.createKeyCondition("my_role", false, null, Context.LINK) … … 92 92 r.addMember(new RelationMember("my_role", n)) 93 93 94 Environment e = new Environment().withPrimitive(n).withParent(r).withIndex(0 ).withLinkContext()94 Environment e = new Environment().withPrimitive(n).withParent(r).withIndex(0, r.membersCount).withLinkContext() 95 95 96 96 Condition cond = Condition.createKeyCondition("another_role", false, null, Context.LINK)
Note: See TracChangeset
for help on using the changeset viewer.