Ignore:
Timestamp:
2016-01-03T16:29:25+01:00 (9 years ago)
Author:
Don-vip
Message:

fix groovy scripts broken by r9278

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/mappaint/MapCSSWithExtendedTextDirectivesTest.groovy

    r7938 r9279  
    66import org.openstreetmap.josm.JOSMFixture
    77import org.openstreetmap.josm.data.osm.Node
    8 import org.openstreetmap.josm.gui.mappaint.LabelCompositionStrategy.DeriveLabelFromNameTagsCompositionStrategy
    9 import org.openstreetmap.josm.gui.mappaint.LabelCompositionStrategy.TagLookupCompositionStrategy
    108import org.openstreetmap.josm.gui.mappaint.MapPaintStyles.TagKeyReference
     9import org.openstreetmap.josm.gui.mappaint.styleelement.TextLabel
     10import org.openstreetmap.josm.gui.mappaint.styleelement.LabelCompositionStrategy.DeriveLabelFromNameTagsCompositionStrategy
     11import org.openstreetmap.josm.gui.mappaint.styleelement.LabelCompositionStrategy.TagLookupCompositionStrategy
    1112
    1213class MapCSSWithExtendedTextDirectivesTest {
     
    2627        Environment env = new Environment(osm, mc, "default", null)
    2728
    28         TextElement te = TextElement.create(env, Color.WHITE, false /* no default annotate */)
     29        TextLabel te = TextLabel.create(env, Color.WHITE, false /* no default annotate */)
    2930        assert te.labelCompositionStrategy != null
    3031        assert te.labelCompositionStrategy instanceof DeriveLabelFromNameTagsCompositionStrategy
     
    4041        Environment env = new Environment(osm, mc, "default", null)
    4142
    42         TextElement te = TextElement.create(env, Color.WHITE, false /* no default annotate */)
     43        TextLabel te = TextLabel.create(env, Color.WHITE, false /* no default annotate */)
    4344        assert te.labelCompositionStrategy != null
    4445        assert te.labelCompositionStrategy instanceof TagLookupCompositionStrategy
     
    5253        Environment env = new Environment(osm, mc, "default", null)
    5354
    54         TextElement te = TextElement.create(env, Color.WHITE, false /* no default annotate */)
     55        TextLabel te = TextLabel.create(env, Color.WHITE, false /* no default annotate */)
    5556        assert te == null
    5657    }
Note: See TracChangeset for help on using the changeset viewer.