Put test requires on top

This commit is contained in:
Tim Schaub
2016-08-07 23:04:04 -06:00
parent 29990abc7e
commit ed5dbd1293
160 changed files with 875 additions and 845 deletions
+7 -6
View File
@@ -1,5 +1,12 @@
goog.provide('ol.test.interaction.DragAndDrop');
goog.require('ol.interaction.DragAndDrop');
goog.require('ol.View');
goog.require('ol.events.Event');
goog.require('ol.events.EventTarget');
goog.require('ol.format.GeoJSON');
describe('ol.interaction.DragAndDrop', function() {
var viewport, map, interaction;
@@ -108,9 +115,3 @@ describe('ol.interaction.DragAndDrop', function() {
});
});
goog.require('ol.interaction.DragAndDrop');
goog.require('ol.View');
goog.require('ol.events.Event');
goog.require('ol.events.EventTarget');
goog.require('ol.format.GeoJSON');
@@ -1,5 +1,7 @@
goog.provide('ol.test.interaction.DragRotateAndZoom');
goog.require('ol.interaction.DragRotateAndZoom');
describe('ol.interaction.DragRotateAndZoom', function() {
describe('constructor', function() {
@@ -12,5 +14,3 @@ describe('ol.interaction.DragRotateAndZoom', function() {
});
});
goog.require('ol.interaction.DragRotateAndZoom');
+10 -9
View File
@@ -1,5 +1,15 @@
goog.provide('ol.test.interaction.DragZoom');
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.extent');
goog.require('ol.geom.Polygon');
goog.require('ol.interaction.DragZoom');
goog.require('ol.layer.Vector');
goog.require('ol.render.Box');
goog.require('ol.source.Vector');
describe('ol.interaction.DragZoom', function() {
var target, map, source;
@@ -106,12 +116,3 @@ describe('ol.interaction.DragZoom', function() {
});
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.extent');
goog.require('ol.geom.Polygon');
goog.require('ol.interaction.DragZoom');
goog.require('ol.layer.Vector');
goog.require('ol.render.Box');
goog.require('ol.source.Vector');
+20 -19
View File
@@ -1,5 +1,25 @@
goog.provide('ol.test.interaction.Draw');
goog.require('ol.array');
goog.require('ol.events');
goog.require('ol.Feature');
goog.require('ol.Map');
goog.require('ol.MapBrowserPointerEvent');
goog.require('ol.View');
goog.require('ol.geom.Circle');
goog.require('ol.geom.LineString');
goog.require('ol.geom.MultiLineString');
goog.require('ol.geom.MultiPoint');
goog.require('ol.geom.MultiPolygon');
goog.require('ol.geom.Point');
goog.require('ol.geom.Polygon');
goog.require('ol.interaction.Draw');
goog.require('ol.interaction.Interaction');
goog.require('ol.layer.Vector');
goog.require('ol.pointer.PointerEvent');
goog.require('ol.source.Vector');
describe('ol.interaction.Draw', function() {
var target, map, source;
@@ -859,22 +879,3 @@ describe('ol.interaction.Draw', function() {
});
});
goog.require('ol.array');
goog.require('ol.events');
goog.require('ol.Feature');
goog.require('ol.Map');
goog.require('ol.MapBrowserPointerEvent');
goog.require('ol.View');
goog.require('ol.geom.Circle');
goog.require('ol.geom.LineString');
goog.require('ol.geom.MultiLineString');
goog.require('ol.geom.MultiPoint');
goog.require('ol.geom.MultiPolygon');
goog.require('ol.geom.Point');
goog.require('ol.geom.Polygon');
goog.require('ol.interaction.Draw');
goog.require('ol.interaction.Interaction');
goog.require('ol.layer.Vector');
goog.require('ol.pointer.PointerEvent');
goog.require('ol.source.Vector');
+5 -4
View File
@@ -1,5 +1,10 @@
goog.provide('ol.test.interaction.Interaction');
goog.require('ol.events.EventTarget');
goog.require('ol.Map');
goog.require('ol.interaction.Interaction');
describe('ol.interaction.Interaction', function() {
describe('constructor', function() {
@@ -54,7 +59,3 @@ describe('ol.interaction.Interaction', function() {
});
});
goog.require('ol.events.EventTarget');
goog.require('ol.Map');
goog.require('ol.interaction.Interaction');
+7 -8
View File
@@ -1,6 +1,13 @@
/*global createMapDiv, disposeMap*/
goog.provide('ol.test.interaction.KeyboardPan');
goog.require('ol.Map');
goog.require('ol.MapBrowserEvent');
goog.require('ol.View');
goog.require('ol.events.Event');
goog.require('ol.interaction.Interaction');
goog.require('ol.interaction.KeyboardPan');
describe('ol.interaction.KeyboardPan', function() {
var map;
@@ -45,11 +52,3 @@ describe('ol.interaction.KeyboardPan', function() {
});
});
goog.require('ol.Map');
goog.require('ol.MapBrowserEvent');
goog.require('ol.View');
goog.require('ol.events.Event');
goog.require('ol.interaction.Interaction');
goog.require('ol.interaction.KeyboardPan');
@@ -1,6 +1,13 @@
/*global createMapDiv, disposeMap*/
goog.provide('ol.test.interaction.KeyboardZoom');
goog.require('ol.Map');
goog.require('ol.MapBrowserEvent');
goog.require('ol.View');
goog.require('ol.events.Event');
goog.require('ol.interaction.Interaction');
goog.require('ol.interaction.KeyboardZoom');
describe('ol.interaction.KeyboardZoom', function() {
var map;
@@ -39,11 +46,3 @@ describe('ol.interaction.KeyboardZoom', function() {
});
});
goog.require('ol.Map');
goog.require('ol.MapBrowserEvent');
goog.require('ol.View');
goog.require('ol.events.Event');
goog.require('ol.interaction.Interaction');
goog.require('ol.interaction.KeyboardZoom');
+17 -16
View File
@@ -1,5 +1,22 @@
goog.provide('ol.test.interaction.Modify');
goog.require('ol.events');
goog.require('ol.Collection');
goog.require('ol.Feature');
goog.require('ol.Map');
goog.require('ol.MapBrowserPointerEvent');
goog.require('ol.View');
goog.require('ol.events.condition');
goog.require('ol.geom.LineString');
goog.require('ol.geom.Point');
goog.require('ol.geom.Polygon');
goog.require('ol.interaction.Modify');
goog.require('ol.interaction.ModifyEvent');
goog.require('ol.layer.Vector');
goog.require('ol.pointer.PointerEvent');
goog.require('ol.source.Vector');
describe('ol.interaction.Modify', function() {
var target, map, source, features;
@@ -503,19 +520,3 @@ describe('ol.interaction.Modify', function() {
});
});
goog.require('ol.events');
goog.require('ol.Collection');
goog.require('ol.Feature');
goog.require('ol.Map');
goog.require('ol.MapBrowserPointerEvent');
goog.require('ol.View');
goog.require('ol.events.condition');
goog.require('ol.geom.LineString');
goog.require('ol.geom.Point');
goog.require('ol.geom.Polygon');
goog.require('ol.interaction.Modify');
goog.require('ol.interaction.ModifyEvent');
goog.require('ol.layer.Vector');
goog.require('ol.pointer.PointerEvent');
goog.require('ol.source.Vector');
@@ -1,6 +1,13 @@
/*global createMapDiv, disposeMap*/
goog.provide('ol.test.interaction.MouseWheelZoom');
goog.require('ol.Map');
goog.require('ol.MapBrowserEvent');
goog.require('ol.View');
goog.require('ol.events.Event');
goog.require('ol.interaction.Interaction');
goog.require('ol.interaction.MouseWheelZoom');
describe('ol.interaction.MouseWheelZoom', function() {
var map;
@@ -124,11 +131,3 @@ describe('ol.interaction.MouseWheelZoom', function() {
});
});
goog.require('ol.Map');
goog.require('ol.MapBrowserEvent');
goog.require('ol.View');
goog.require('ol.events.Event');
goog.require('ol.interaction.Interaction');
goog.require('ol.interaction.MouseWheelZoom');
+13 -12
View File
@@ -1,5 +1,18 @@
goog.provide('ol.test.interaction.Select');
goog.require('ol.Collection');
goog.require('ol.Feature');
goog.require('ol.Map');
goog.require('ol.MapBrowserPointerEvent');
goog.require('ol.View');
goog.require('ol.geom.Polygon');
goog.require('ol.interaction.Select');
goog.require('ol.interaction.Interaction');
goog.require('ol.layer.Vector');
goog.require('ol.pointer.PointerEvent');
goog.require('ol.source.Vector');
describe('ol.interaction.Select', function() {
var target, map, layer, source;
@@ -431,15 +444,3 @@ describe('ol.interaction.Select', function() {
});
});
});
goog.require('ol.Collection');
goog.require('ol.Feature');
goog.require('ol.Map');
goog.require('ol.MapBrowserPointerEvent');
goog.require('ol.View');
goog.require('ol.geom.Polygon');
goog.require('ol.interaction.Select');
goog.require('ol.interaction.Interaction');
goog.require('ol.layer.Vector');
goog.require('ol.pointer.PointerEvent');
goog.require('ol.source.Vector');
+9 -8
View File
@@ -1,5 +1,14 @@
goog.provide('ol.test.interaction.Snap');
goog.require('ol.Collection');
goog.require('ol.Feature');
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.geom.Point');
goog.require('ol.geom.LineString');
goog.require('ol.interaction.Snap');
describe('ol.interaction.Snap', function() {
describe('constructor', function() {
@@ -123,11 +132,3 @@ describe('ol.interaction.Snap', function() {
});
});
goog.require('ol.Collection');
goog.require('ol.Feature');
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.geom.Point');
goog.require('ol.geom.LineString');
goog.require('ol.interaction.Snap');
+13 -12
View File
@@ -1,5 +1,18 @@
goog.provide('ol.test.interaction.Translate');
goog.require('ol.Collection');
goog.require('ol.Feature');
goog.require('ol.Map');
goog.require('ol.MapBrowserPointerEvent');
goog.require('ol.View');
goog.require('ol.geom.Point');
goog.require('ol.interaction.Translate');
goog.require('ol.interaction.Interaction');
goog.require('ol.layer.Vector');
goog.require('ol.pointer.PointerEvent');
goog.require('ol.source.Vector');
describe('ol.interaction.Translate', function() {
var target, map, source, features;
@@ -107,15 +120,3 @@ describe('ol.interaction.Translate', function() {
});
});
});
goog.require('ol.Collection');
goog.require('ol.Feature');
goog.require('ol.Map');
goog.require('ol.MapBrowserPointerEvent');
goog.require('ol.View');
goog.require('ol.geom.Point');
goog.require('ol.interaction.Translate');
goog.require('ol.interaction.Interaction');
goog.require('ol.layer.Vector');
goog.require('ol.pointer.PointerEvent');
goog.require('ol.source.Vector');