Renaming literals

This commit is contained in:
Tim Schaub
2013-02-19 22:35:29 -07:00
parent 7141721bb1
commit 438664a190
10 changed files with 68 additions and 68 deletions

View File

@@ -36,7 +36,7 @@ describe('ol.style.Line', function() {
});
var literal = symbolizer.createLiteral(feature);
expect(literal).toBeA(ol.style.LiteralLine);
expect(literal).toBeA(ol.style.LineLiteral);
expect(literal.opacity).toBe(42 / 100);
expect(literal.strokeWidth).toBe(1.5);
});
@@ -48,4 +48,4 @@ describe('ol.style.Line', function() {
goog.require('ol.Expression');
goog.require('ol.Feature');
goog.require('ol.style.Line');
goog.require('ol.style.LiteralLine');
goog.require('ol.style.LineLiteral');

View File

@@ -36,7 +36,7 @@ describe('ol.style.Polygon', function() {
});
var literal = symbolizer.createLiteral(feature);
expect(literal).toBeA(ol.style.LiteralPolygon);
expect(literal).toBeA(ol.style.PolygonLiteral);
expect(literal.opacity).toBe(42 / 100);
expect(literal.fillStyle).toBe('#ff0000');
});
@@ -48,4 +48,4 @@ describe('ol.style.Polygon', function() {
goog.require('ol.Expression');
goog.require('ol.Feature');
goog.require('ol.style.Polygon');
goog.require('ol.style.LiteralPolygon');
goog.require('ol.style.PolygonLiteral');

View File

@@ -36,7 +36,7 @@ describe('ol.style.Shape', function() {
});
var literal = symbolizer.createLiteral(feature);
expect(literal).toBeA(ol.style.LiteralShape);
expect(literal).toBeA(ol.style.ShapeLiteral);
expect(literal.size).toBe(42);
expect(literal.opacity).toBe(0.4);
});
@@ -48,4 +48,4 @@ describe('ol.style.Shape', function() {
goog.require('ol.Expression');
goog.require('ol.Feature');
goog.require('ol.style.Shape');
goog.require('ol.style.LiteralShape');
goog.require('ol.style.ShapeLiteral');