Put test requires on top
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.geom.Circle');
|
||||
|
||||
goog.require('ol.geom.Circle');
|
||||
|
||||
|
||||
describe('ol.geom.Circle', function() {
|
||||
|
||||
@@ -273,6 +275,3 @@ describe('ol.geom.Circle', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.geom.Circle');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.geom.flat.area');
|
||||
|
||||
goog.require('ol.geom.flat.area');
|
||||
|
||||
describe('ol.geom.flat.area', function() {
|
||||
|
||||
describe('ol.geom.flat.area.linearRing', function() {
|
||||
@@ -28,5 +30,3 @@ describe('ol.geom.flat.area', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.area');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.geom.flat.center');
|
||||
|
||||
goog.require('ol.geom.flat.center');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
|
||||
|
||||
describe('ol.geom.flat.center', function() {
|
||||
|
||||
describe('ol.geom.flat.center.linearRingss', function() {
|
||||
@@ -52,6 +56,3 @@ describe('ol.geom.flat.center', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.center');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.geom.flat.closest');
|
||||
|
||||
goog.require('ol.geom.flat.closest');
|
||||
|
||||
|
||||
describe('ol.geom.flat.closest', function() {
|
||||
|
||||
@@ -141,6 +143,3 @@ describe('ol.geom.flat.closest', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.closest');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.deflate');
|
||||
|
||||
goog.require('ol.geom.flat.deflate');
|
||||
|
||||
|
||||
describe('ol.geom.flat.deflate', function() {
|
||||
|
||||
describe('ol.geom.flat.deflate.coordinates', function() {
|
||||
@@ -35,5 +38,3 @@ describe('ol.geom.flat.deflate', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.deflate');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.flip');
|
||||
|
||||
goog.require('ol.geom.flat.flip');
|
||||
|
||||
|
||||
describe('ol.geom.flat.flip', function() {
|
||||
|
||||
describe('ol.geom.flat.flip.flipXY', function() {
|
||||
@@ -34,5 +37,3 @@ describe('ol.geom.flat.flip', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.flip');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.inflate');
|
||||
|
||||
goog.require('ol.geom.flat.inflate');
|
||||
|
||||
|
||||
describe('ol.geom.flat.inflate', function() {
|
||||
|
||||
describe('ol.geom.flat.inflate.coordinates', function() {
|
||||
@@ -22,5 +25,3 @@ describe('ol.geom.flat.inflate', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.inflate');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.interpolate');
|
||||
|
||||
goog.require('ol.geom.flat.interpolate');
|
||||
|
||||
|
||||
describe('ol.geom.flat.interpolate', function() {
|
||||
|
||||
describe('ol.geom.flat.interpolate.lineString', function() {
|
||||
@@ -77,5 +80,3 @@ describe('ol.geom.flat.interpolate', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.interpolate');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.intersectsextent');
|
||||
|
||||
goog.require('ol.geom.flat.intersectsextent');
|
||||
|
||||
|
||||
describe('ol.geom.flat.intersectsextent', function() {
|
||||
|
||||
describe('ol.geom.flat.intersectsextent.lineString', function() {
|
||||
@@ -89,5 +92,3 @@ describe('ol.geom.flat.intersectsextent', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.intersectsextent');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.length');
|
||||
|
||||
goog.require('ol.geom.flat.length');
|
||||
|
||||
|
||||
describe('ol.geom.flat.length', function() {
|
||||
|
||||
describe('ol.geom.flat.length.lineString', function() {
|
||||
@@ -90,5 +93,3 @@ describe('ol.geom.flat.length', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.length');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.orient');
|
||||
|
||||
goog.require('ol.geom.flat.orient');
|
||||
|
||||
|
||||
describe('ol.geom.flat.orient', function() {
|
||||
|
||||
describe('ol.geom.flat.orient.linearRingIsClockwise()', function() {
|
||||
@@ -158,5 +161,3 @@ describe('ol.geom.flat.orient', function() {
|
||||
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.orient');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.reverse');
|
||||
|
||||
goog.require('ol.geom.flat.reverse');
|
||||
|
||||
|
||||
describe('ol.geom.flat.reverse', function() {
|
||||
|
||||
describe('ol.geom.flat.reverse.coordinates', function() {
|
||||
@@ -126,5 +129,3 @@ describe('ol.geom.flat.reverse', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.reverse');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.segments');
|
||||
|
||||
goog.require('ol.geom.flat.segments');
|
||||
|
||||
|
||||
describe('ol.geom.flat.segments', function() {
|
||||
|
||||
describe('ol.geom.flat.segments.forEach', function() {
|
||||
@@ -53,5 +56,3 @@ describe('ol.geom.flat.segments', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.segments');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.geom.simplify');
|
||||
|
||||
goog.require('ol.geom.flat.simplify');
|
||||
|
||||
|
||||
describe('ol.geom.flat.simplify', function() {
|
||||
|
||||
@@ -353,6 +355,3 @@ describe('ol.geom.flat.simplify', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.simplify');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.geom.flat.transform');
|
||||
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.flat.transform');
|
||||
|
||||
|
||||
describe('ol.geom.flat.transform', function() {
|
||||
|
||||
describe('ol.geom.flat.transform.transform2D', function() {
|
||||
@@ -127,6 +131,3 @@ describe('ol.geom.flat.transform', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.flat.transform');
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
goog.provide('ol.test.geom.GeometryCollection');
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.Geometry');
|
||||
goog.require('ol.geom.GeometryCollection');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
describe('ol.geom.GeometryCollection', function() {
|
||||
|
||||
@@ -237,10 +242,3 @@ describe('ol.geom.GeometryCollection', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.geom.Geometry');
|
||||
goog.require('ol.geom.GeometryCollection');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.LineString');
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.LineString');
|
||||
|
||||
|
||||
describe('ol.geom.LineString', function() {
|
||||
|
||||
@@ -443,7 +446,3 @@ describe('ol.geom.LineString', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.LineString');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.geom.MultiLineString');
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
|
||||
|
||||
describe('ol.geom.MultiLineString', function() {
|
||||
|
||||
@@ -355,8 +359,3 @@ describe('ol.geom.MultiLineString', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.geom.MultiPoint');
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
|
||||
describe('ol.geom.MultiPoint', function() {
|
||||
|
||||
@@ -286,8 +290,3 @@ describe('ol.geom.MultiPoint', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.MultiPolygon');
|
||||
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
|
||||
describe('ol.geom.MultiPolygon', function() {
|
||||
|
||||
@@ -193,7 +196,3 @@ describe('ol.geom.MultiPolygon', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.Point');
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
|
||||
describe('ol.geom.Point', function() {
|
||||
|
||||
@@ -216,7 +219,3 @@ describe('ol.geom.Point', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
goog.provide('ol.test.geom.Polygon');
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.Circle');
|
||||
goog.require('ol.geom.LinearRing');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
|
||||
describe('ol.geom.Polygon', function() {
|
||||
|
||||
@@ -583,9 +588,3 @@ describe('ol.geom.Polygon', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.Circle');
|
||||
goog.require('ol.geom.LinearRing');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
Reference in New Issue
Block a user