Changeset 5466
- Timestamp:
- 12/17/07 04:56:50 (8 months ago)
- Files:
-
- trunk/openlayers/tests/test_Style.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/tests/test_Style.html
r5429 r5466 22 22 var layer = new OpenLayers.Layer.Vector("layer"); 23 23 24 var baseStyle = {externalGraphic: "bar${foo}.png"}; 24 var baseStyle = OpenLayers.Util.extend( 25 OpenLayers.Feature.Vector.style["default"], 26 {externalGraphic: "bar${foo}.png"}); 25 27 26 28 var style = new OpenLayers.Style(baseStyle); … … 60 62 61 63 createdStyle = style.createStyle(feature); 62 t.eq(createdStyle.fillColor, undefined, "Correct style for rule that does not apply to fid=\"2\".");64 t.eq(createdStyle.fillColor, baseStyle.fillColor, "Correct style for rule that does not apply to fid=\"2\"."); 63 65 64 66 }
