Put test requires on top
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user