Permalink
Browse files

Lint-free tests

  • Loading branch information...
1 parent dc19948 commit 1d6cd1bd1ba26643c763886fd2cb3c38d01cee2f @tschaub tschaub committed Mar 4, 2013
@@ -14,7 +14,7 @@ describe('ol.geom.MultiLineString', function() {
it('throws when given with insufficient dimensions', function() {
expect(function() {
- var multi = new ol.geom.MultiPoint([1]);
+ var multi = new ol.geom.MultiLineString([1]);
}).toThrow();
});
@@ -84,4 +84,5 @@ describe('ol.geom.MultiLineString', function() {
});
goog.require('ol.geom.Geometry');
+goog.require('ol.geom.LineString');
goog.require('ol.geom.MultiLineString');
@@ -71,3 +71,4 @@ describe('ol.geom.MultiPoint', function() {
goog.require('ol.geom.Geometry');
goog.require('ol.geom.MultiPoint');
+goog.require('ol.geom.Point');
@@ -89,3 +89,4 @@ describe('ol.geom.MultiPolygon', function() {
goog.require('ol.geom.Geometry');
goog.require('ol.geom.MultiPolygon');
+goog.require('ol.geom.Polygon');
@@ -84,5 +84,6 @@ describe('ol.geom.Polygon', function() {
});
goog.require('ol.geom.Geometry');
+goog.require('ol.geom.LinearRing');
goog.require('ol.geom.Polygon');
goog.require('ol.geom.SharedVertices');
@@ -82,3 +82,13 @@ describe('ol.layer.Vector', function() {
});
});
+
+goog.require('ol.Expression');
+goog.require('ol.Feature');
+goog.require('ol.geom.LineString');
+goog.require('ol.projection');
+goog.require('ol.layer.Vector');
+goog.require('ol.source.Vector');
+goog.require('ol.style.Line');
+goog.require('ol.style.Rule');
+goog.require('ol.style.Style');
@@ -218,6 +218,7 @@ describe('ol.parser.GeoJSON', function() {
});
+goog.require('ol.Extent');
goog.require('ol.Feature');
goog.require('ol.geom.LinearRing');
goog.require('ol.geom.LineString');
@@ -100,11 +100,15 @@ describe('ol.source.Vector', function() {
});
+goog.require('ol.Extent');
+goog.require('ol.Feature');
goog.require('ol.Projection');
+goog.require('ol.filter.Extent');
goog.require('ol.filter.Geometry');
goog.require('ol.filter.Logical');
goog.require('ol.filter.LogicalOperator');
goog.require('ol.geom.GeometryType');
goog.require('ol.geom.Point');
goog.require('ol.geom.LineString');
goog.require('ol.source.Vector');
+goog.require('ol.projection');
@@ -59,8 +59,11 @@ describe('ol.style.Style', function() {
});
+goog.require('ol.Feature');
goog.require('ol.geom.LineString');
goog.require('ol.geom.Point');
goog.require('ol.geom.Polygon');
goog.require('ol.filter.Filter');
+goog.require('ol.style.Rule');
+goog.require('ol.style.Shape');
goog.require('ol.style.Style');

0 comments on commit 1d6cd1b

Please sign in to comment.